domoticz-api-linker
Version:
Domoticz API Javascript Bridge Connector
23 lines (14 loc) • 689 B
Markdown
## Scenes
### **domoticz.scenes.items()**
Get all Groups/Scenes in Domoticz
### **domoticz.scenes.switch(idx, command="On")**
Change state of a Group/Scene device.
| Parameter | Description |
| --------- | --------------------------------------------------------- |
| idx | idx value of the device in Domoticz |
| command | A Domoticz device command On/Off/... **case sensitive !** |
### **domoticz.scenes.toggle(idx)**
Toggle a Group/Scene device.
| Parameter | Description |
| --------- | ----------------------------------- |
| idx | idx value of the device in Domoticz |