It seems to me that the Wiki does not document the API that return all the timers for one specific device.
I'm currently using
Code: Select all
http://IP/json.htm?idx=IDX&type=timersand
Code: Select all
http://IP/json.htm?idx=IDX&type=setpointtimersThere are 28 different timer types. Only the first five are documented
https://www.domoticz.com/wiki/Domoticz_ ... 8timers.29
It seems to me there is some kind on inconsistency among timers API.
http://ip/json.htm?type=schedules
returns a TimerType value and a TimerTypeStr value, whereas the API that returns all timers for one specific device (see above) returns a Type value which makes it kind of easier to process since it is not dependant of string characters and everything is coded in one field.
One last thing, dzVents supports a subset of the 28 timer timer types. Is it something that could be improved in the future?
Thank you very much