how to use function correctly
Posted: Monday 24 February 2020 15:20
When I started in Domoticz I got my information from the manual " DzVents:_next_generation_LUA_scripting "
When you look at the examples they use execute function (domoticz, time) if the trigger is time, device if the trigger is a device, sensor if it is a sensor and item if its something else. But waaren showed working scripts with only dz or domoticz in it when I posted a problem script.
Can I use the execute function (dz) always and what does the second command do when you use it?
When you look at the examples they use execute function (domoticz, time) if the trigger is time, device if the trigger is a device, sensor if it is a sensor and item if its something else. But waaren showed working scripts with only dz or domoticz in it when I posted a problem script.
Can I use the execute function (dz) always and what does the second command do when you use it?