-
Notifications
You must be signed in to change notification settings - Fork 0
usage
rwoods3 edited this page May 2, 2021
·
3 revisions
The plugin provides actions to start and stop a scene.
- 'Start Scene': choose the dimmer followed by the desired scene.

- 'Stop Scene': simply choose the desired dimmer.
As with all plugins, actions defined by this plugin may be executed by Python scripts. Here's the information you need to script the actions in this plugin.
pluginId = "com.woodsmachine.indigoplugins.LightScenes"
thePlugin= indigo.server.getPlugn(pluginId)
theDevice = indigo.devices['someIndigoDimmerDevice']
sceneId = 4 # The sceneId as shown in the plugin 'Edit Scenes' menu
thePlugin.executeAction("startScene", deviceId=theDevice.id, props={'sceneId':sceneId})