help with scripting volume control [SOLVED]
Posted: Wed Feb 09, 2022 10:29 pm
hi jon, can you help me with syntax for this when you get a chance.. or.. is it even possible? i'm trying to set a state.. may be barking up the wrong tree.
anyway, thanks!
anyway, thanks!
- Code: Select all
tempVOL = indigo.variables[567100085].value # "roonMastrBedVOL"
pluginID = "com.autologplugin.indigoplugin.rooncontroller"
roonPlugin = indigo.server.getPlugin(pluginID)
if roonPlugin.isEnabled():
roonPlugin.executeAction("setVolume", deviceId=81926484, state={'volume_value': tempVOL})