[Feature request]: SONOFF TRV-ZBT: "open_window_detected" externally settable
Is your feature request related to a problem? Please describe
Currently "open_window_detected" is read-only: The TRV-ZBT already implements the full "pause heating while window is open" logic internally (triggered by its own temperature-drop detection), but this is only ever triggered automatically. There's currently no way to trigger the same built-in behavior from an external source, e.g. a window sensor (connected through Home Assistant/openHAB).
Describe the solution you'd like
It would be great to make the flag/property "open_window_detected" externally settable.
Describe alternatives you've considered
Replicating the behavior entirely in an external automation, e.g. an openHAB rule that sets system_mode or occupied_heating_setpoint directly when a window sensor opens/closes, and restores the previous state afterwards. This works, but requires remembering/restoring the prior state externally and duplicates logic that already exists on the device.
Additional context
Thanks a lot for all the work on Zigbee2MQTT!
Hello! "open_window_detected" is likely read-only in the device firmware, so please redirect the request to SONOFF. cc @cubez2mdeveloper
Hi, thanks! @CubeZ2mDeveloper, just a follow-up - did you get a chance to look into this? would be great - thanks!
Thanks for the detailed feature request and the additional information.
We have forwarded this request to our product and firmware teams for evaluation and further planning. We’ll keep you updated if there are any developments.
Thank you for your feedback and for helping us improve the TRV-ZBT.
Hello! I found an issue where after 2 of my 3 TRV's that detected an open window stay stucked in the open window state even after hours of the window being closed and the graph of the temp clearly shows a spike where the temp has come back up. Important note is that from the 3 only 2 have updated FW (4355 1.1.3) and the one with the original (4105 1.0.9) is working correctly in this case and detected the window is closed. This would be an easy fix for this as this functionality already exists when using eWeLink app where you can link an external window/door sensor similiar to the external temperature sensors (which are supported already without eWeLink app).
Additionally @CubeZ2mDeveloper is there an official way to raise/track feature requests? Such as this, having the device report its current open status in percent or the option to command the device to open to specific percentage? Thank you for the community support.