Vielen Dank.
Die Json gehen alle nicht, zumindest merke ich keine Änderung.
Z2D_setJson(46286, '{"alarm":false}');
Sended
27.04.2021, 09:30:37 | Sended | {"DataID":"{875B91AC-45F1-9757-30F6-BF71445B2BDB}","Buffer":"{\"command\":\"sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500/config\",\"method\":\"PUT\",\"data\":\"{\\\"on\\\":\\\"false\\\"}\"}"}
27.04.2021, 09:30:37 | Response | [{"success":{"/sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500/config/on":"false"}}]
27.04.2021, 09:30:37 | Sended | {"DataID":"{875B91AC-45F1-9757-30F6-BF71445B2BDB}","Buffer":"{\"command\":\"/sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500/state\",\"method\":\"PUT\",\"data\":\"{\\\"alarm\\\":false}\"}"}
27.04.2021, 09:30:38 | Response | [{}]
Die SetCondig funktionieren fast alle
Z2D_SetConfig(46286, "on", "false"); /*geht*/
Z2D_SetConfig(46286, "melody","6");
Z2D_SetConfig(46286, "volume", "0");
Z2D_SetConfig(46286, "enrolled", "1");
Als Beispiel den „on“ aus dem Debugger
27.04.2021, 09:33:56 | Sended | {"DataID":"{875B91AC-45F1-9757-30F6-BF71445B2BDB}","Buffer":"{\"command\":\"sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500\",\"method\":\"GET\",\"data\":\"\"}"}
27.04.2021, 09:33:56 | Response | {"config":{"enrolled":1,"humiditythreshold":"45,80","melody":6,"on":false,"pending":[],"preset":"both","reachable":true,"temperaturethreshold":"18,27","volume":0},"ep":1,"etag":"8b0cdd68ff4394f3dfb815a280b9c6ba","lastseen":"2021-04-27T07:33Z","manufacturername":"_TYST11_d0yu2xgi","modelid":"0yu2xgi","name":"Alarm 46","state":{"alarm":false,"lastupdated":"2021-04-27T07:29:32.903"},"swversion":"20180727","type":"ZHAAlarm","uniqueid":"ec:1b:bd:ff:fe:6c:1e:cd-01-0500"}
27.04.2021, 09:33:56 | Sended | {"DataID":"{875B91AC-45F1-9757-30F6-BF71445B2BDB}","Buffer":"{\"command\":\"sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500/config\",\"method\":\"PUT\",\"data\":\"{\\\"on\\\":\\\"false\\\"}\"}"}
27.04.2021, 09:33:56 | Response | [{"success":{"/sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500/config/on":"false"}}]
Was nicht funktioniert ist „temperaturethreshold“ und „humiditythreshold“.
Aus dem Debug
27.04.2021, 09:43:50 | Sended | {"DataID":"{875B91AC-45F1-9757-30F6-BF71445B2BDB}","Buffer":"{\"command\":\"sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500\",\"method\":\"GET\",\"data\":\"\"}"}
27.04.2021, 09:43:50 | Response | {"config":{"enrolled":1,"humiditythreshold":"45,80","melody":6,"on":false,"pending":[],"preset":"both","reachable":true,"temperaturethreshold":"18,27","volume":0},"ep":1,"etag":"edbe04723b2cfa97d4e538c94e16530a","lastseen":"2021-04-27T07:33Z","manufacturername":"_TYST11_d0yu2xgi","modelid":"0yu2xgi","name":"Alarm 46","state":{"alarm":false,"lastupdated":"2021-04-27T07:29:32.903"},"swversion":"20180727","type":"ZHAAlarm","uniqueid":"ec:1b:bd:ff:fe:6c:1e:cd-01-0500"}
27.04.2021, 09:43:50 | Sended | {"DataID":"{875B91AC-45F1-9757-30F6-BF71445B2BDB}","Buffer":"{\"command\":\"sensors/ec:1b:bd:ff:fe:6c:1e:cd-01-0500/config\",\"method\":\"PUT\",\"data\":\"{\\\"humiditythreshold\\\":30}\"}"}
27.04.2021, 09:43:50 | Response | [{}]
Ich kann auch leider keinen Alarm aktiv ein- und ausschalten.
Interessant ist, dass ich bei dem „-01-0500“ eine neue Variable hab
Ich glaub mehr fällt mir im Moment nicht ein. Ich denke wir werden auf DeconZ warten müssen.