Page 3 of 3

Re: Check Sensors script (dzVents)

Posted: Thursday 08 May 2025 21:18
by THBR
waltervl wrote: Wednesday 07 May 2025 23:42 Yes, the API has changed. See Wiki https://wiki.domoticz.com/Domoticz_API/ ... and_newer)

It should already gave warnings in the logs from 2023 about the change....
Yessss, that did the trick!

I changed
"url = dz.settings['Domoticz url'] .. '/json.htm?type=devices&used=true"
in
"url = dz.settings['Domoticz url'] .. '/json.htm?type=command&param=getdevices&used=true".

Problem solved, thanks !