I’m trying to have the PowerOn state to “On”, i.e. when a bulb is switched with the physical lightswitch, it should turn on (and not stay turned off). I’m using RaspBeeII with Tradfri and Hue bulbs.
Unfortunately, in the deCONZ GUI, changing this setting results in “writing failed” / “unsupported attribute”.
There are some posts about editing XML files, but that didn’t help either. As those posts are up to 5 years old, they might also be outdated?
As this was working before with the original Tradfri Hub, I’m sure that it’s possible. But how with deCONZ?
in the file /usr/share/deCONZ/zcl/general.xml, I searched <attribute id="0x8002" name="Power on state" type="enum8" default="0" required="o" access="rw"> , and replaced the 0x8002 with 0x4003 (as I saw it in some other screenshots here).
And suddenly I can read/write the powerOn state (and it works as expected).
I get all “writing failed” / “unsupported attribute” for all my devices too, so I cannot change the power on state.
I changed the xml as explained above and it didn’t help. I also tried to restart the deconz container, thought it needed to read the xml file again, but the xml goes back to the previous state automatically after a container restart (I am using deconz with the HA deconz plugin).
Tried also by restarting deconz only (not the whole container), from the gateway menu, but didn’t help either.
What am I doing wrong?
PS: all my bulbs were starting as ON when I was using deconz standalone, so I know this is supported by my bulbs. After I started using deconz as HA plugin, this behavior has been the opposite, so OFF by default, that I want to change.
ups you are right of course. Then it’s set to ON already, and thinking about it it’s correct, it actually starts as ON, but the light intensity is set to a very low level, I want it to be 100%, like it used to be when I was running deconz standalone. Is there another property for this?
I have one that starts as 100% and one that starts as low %. They have been actually bought together, same model, so not sure what I did differently. Looking at the properties I cannot find anything different.