Build Hash: f4f5300a2
Compile Date: 2025-01-27 09:06:59
dzVents Version: 3.1.8
Python Version: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:38:17) [MSC v.1932 32 bit (Intel)]
Source used : https://wiki.domoticz.com/Domoticz_API/JSON_URL's#Reset
It was a long time since i tested the smoke detectors. So i did today ...
I noticed it seems something is broken on the api call for smokedetectors to reset the gui...
I thought i could be because of the api changes, but according to the link above my json call is correct
Apperantly the json api works fine for both :
Code: Select all
/json.htm?type=command¶m=switchlight&idx=<IDX>&switchcmd=Off
/json.htm?type=command¶m=switchlight&idx=<IDX>&switchcmd=On
But gui reset is not working anymore, also the gui reset button is not working :
Code: Select all
/json.htm?type=command¶m=resetsecuritystatus&idx=<IDX>&switchcmd=Off
/json.htm?type=command¶m=resetsecuritystatus&idx=3456&switchcmd=Normal
bot throw an error
{
"status" : "ERROR"
}
This is a pitty because the switchlight off command sets the sound on for another 10 secs ( but does the reset on the gui)
Are the two not working links abandoned above ( "param=resetsecuritystatus") in the new json structure, or am i doing something wrong ?