zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[Feature request]: SONOFF TRV-ZBT: "open_window_detected" externally settable

Open felixWeb00 opened this issue 2 months ago • 4 comments

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!

felixWeb00 avatar Sep 26 '26 12:09 felixWeb00

Hello! "open_window_detected" is likely read-only in the device firmware, so please redirect the request to SONOFF. cc @cubez2mdeveloper

andrei-lazarov avatar Sep 26 '26 13:09 andrei-lazarov

Hi, thanks! @CubeZ2mDeveloper, just a follow-up - did you get a chance to look into this? would be great - thanks!

felixWeb00 avatar Oct 03 '26 18:10 felixWeb00

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.

CubeZ2mDeveloper avatar Oct 09 '26 08:10 CubeZ2mDeveloper

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.

Z0G1ab avatar Dec 03 '26 17:12 Z0G1ab