Hey,
I have probably a quite weird question. Is it possible to directly change properties of devices (connected through zigbee2mqtt) through scenes?
To explain background, I have presence detector that has an lightbulb output. Whenever it detects presence, the lightbulb is on. It works well and quite fast. However, I’d like to disable presence detector for night. I though maybe through “Send Zigbee2mqtt Message” this could be achieved, but I’m not sure how to use this action. Any possible pointers or suggestions how to solve my problem?
I’d like to set it up as scene in Gladys.
The problem is that with the presence detector I cannot change any device value via “set device value” in scene. I can still get device values (motion and signal strenght), but I have no option to change anything.
So my idea of workaround was to somehow, within the scene, change device properties.
Sure. Although it is not an elegant solution.
There is a property output_time in the detector (can be seen in state tab in zigbee2mqtt setup), that if it is lower than 10, the output light stops working. So I change it to lower value using zigbee2mqtt Message. In topic I put “zigbee2mqtt/friently_name/set” and message is the property and new value.