Lua & Json example
Posted: Sunday 17 December 2017 21:26
Hi all,
I've searching the forum for a while looking for an example of switching on/off a switch via json. The reason behind is that the switch can be controlled by the Domoticz general way as the dat send by Domoticz is the command to set dimmer values while the device is just a switch (FGS-213 from Fibaro)
So I was wondering if I can control the device just by using the json way of working.
So is there someone out there that can explain or give an easy example (would be very nice) how to use json in lua
Many thanks.
I've searching the forum for a while looking for an example of switching on/off a switch via json. The reason behind is that the switch can be controlled by the Domoticz general way as the dat send by Domoticz is the command to set dimmer values while the device is just a switch (FGS-213 from Fibaro)
So I was wondering if I can control the device just by using the json way of working.
So is there someone out there that can explain or give an easy example (would be very nice) how to use json in lua
Many thanks.