Skip to content
rwoods3 edited this page May 2, 2021 · 3 revisions

Plugin Actions

The plugin provides actions to start and stop a scene.

  • 'Start Scene': choose the dimmer followed by the desired scene.

Start Scene

  • 'Stop Scene': simply choose the desired dimmer.

Scripting Support

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})

Clone this wiki locally