Ubisys H1 - writing "mode" does not work, reading does

Hello,

for the first time I wanted to switch my Ubisys H1 off via Home Assistant, but it did not work. The command was successful but the device did not turn off and in Home Assistant it was back to “Heating” a minute later.

I tried with curl:

[{"success":{"/sensors/165/config/mode":"off"}}]

but this (as expected) results in the same - device does not turn off.

Setting the Attribut System Mode (0x001C) in the Thermostat Cluster (0x0201) works. Setting off on the device works and the status is updated in Home Assistant, too. So reading via REST API works, but writing does not.

For me the DDF looks correct: deconz-rest-plugin/devices/ubisys/h1.json at master · dresden-elektronik/deconz-rest-plugin · GitHub but something is wrong I guess?

“dt”: “0x10”,

0x10 is for bool
Need to use 0x30 for “enum8” for “config/mode”

if you enable log “APS” and “APS_l2” you will see the raw request, can compare the working one (with the editor) and the not working one (with the aPI) to check.

1 Like

The data types have been corrected.

1 Like