How to add device schedule in dzvents (addtimer)
Posted: Wednesday 24 April 2019 17:59
Hello,
I'm trying to add a schedule to a device from within a dzvents script.
Here is the API of the command :
I thought about using SendCommand() but it does not seem to work.
What is the right way to do this?
Thanks!
Olivier
I'm trying to add a schedule to a device from within a dzvents script.
Here is the API of the command :
Code: Select all
../json.htm?type=command¶m=addtimer&idx=DeviceRowID&active=true&timertype=2&hour=0&min=20&randomness=false&command=0&days=1234567
What is the right way to do this?
Thanks!
Olivier