Creates an instance of Scene.
The connection that will be used to send and receive commands.
The ID of the scene.
The name of the scene.
Readonly
ConnectionThe connection that will be used to send and receive commands.
Readonly
ProductsContains a list of node IDs with their target values.
Readonly
SceneIDThe ID of the scene.
Readonly
propertyThe event will be emitted when any of the public properties has changed. The event object contains a reference to the product, the name of the property that has changed and the new value of that property.
Set to true if the scene is currently running.
The name of the scene.
Protected
propertyProtected
This method emits the property changed event for the provided property name.
Name of the property that has changed.
Start the scene.
The velocity with which the scene will be run.
The priority level for the run command.
The command originator for the run command.
Returns the session ID. You can listen for the GW_SESSION_FINISHED_NTF notification to determine when the scene has finished.
Stops a running scene.
The priority level for the run command.
The command originator for the run command.
Returns the session ID.
The scene object contains the ID, name and a list of products that are contained in the scene. You have methods to start and stop a scene.
Scene