zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

SONOFF TRV-ZBT Gen2 FW 1.1.0: sustained heating above target; disabling smart_temperature_control closes valve

Open przemhb opened this issue 1 month ago • 32 comments

What happened?

One SONOFF TRV-ZBT (Gen2), firmware 1.1.0, continued heating with Smart Control ON while its active external temperature exceeded its setpoint. The radiator became very hot and water flow was clearly audible. Full valve opening was suspected but not measured; no actual-position sensor is exposed.

The setpoint was 24.0 C. Fresh CGG1 temperature reached the TRV through Home Assistant: explicit reads confirmed remote_temperature, external input 24.1 C, later 24.4 C and 24.7 C, system_mode: heat, running_state: heat, no fault and no temporary/boost mode.

Controlled recovery test on 2026-10-24, with source and target unchanged:

Step Child lock Smart control Running state External input Target
Initial state LOCK ON heat 24.7 C 24 C
Unlock only UNLOCK ON heat 24.7 C 24 C
Smart Control OFF UNLOCK OFF idle 24.7 C 24 C
After 20 s UNLOCK OFF idle 24.7 C 24 C
After 40 s UNLOCK OFF idle 24.7 C 24 C
After 60 s UNLOCK OFF idle 24.7 C 24 C
Smart Control ON UNLOCK ON idle 24.7 C 24 C
Lock restored LOCK ON idle 24.7 C 24 C

Physical observations: unlocking alone caused no audible motor movement; strong radiator flow continued. Disabling Smart Control then caused audible valve closure and water flow stopped. The OFF/idle readback arrived within approximately 3 seconds, and idle persisted for 60 seconds. Restoring ON did not immediately reopen the valve: the readback was still idle after approximately 5 seconds. Longer-term behaviour after restoring ON was not tested.

Separately, briefly selecting the internal sensor produced two readings of 25.1 C at the same 24.0 C target. Restoring external selection returned the active local_temperature field to 24.7 C. Both readings were above target; this does not establish which temperature the adaptive algorithm actually used internally.

Secondary observation: the physical display showed Child Lock while Z2M's cached state said UNLOCK. Explicit get for child_lock returned LOCK and refreshed Z2M. On-demand decoding worked; whether unsolicited lock-state reporting is supported is unclear.

What did you expect to happen?

Adaptive regulation should avoid sustained strong heating as room temperature rises above target. I understand PID may heat near or briefly above target; heat alone is not proof of a defect. Could this indicate controller-state/firmware behaviour or missing Zigbee attribute/reporting handling? What debug trace would distinguish these?

How to reproduce it (minimal and precise)

The original trigger is unknown: one incident on one device, not a reliable clean-start reproducer. Once the condition existed:

  1. Explicitly read source, target, external input, Smart Control and running state; confirm physical flow.
  2. Send {"child_lock":"UNLOCK"} and read back. No observed movement or state change for 60 seconds.
  3. Send {"smart_temperature_control":"OFF"} and read back. We observed physical closure and idle; monitor for 60 seconds.
  4. Restore Smart Control ON, then the original lock. Immediate readback remained idle.

Commands used the device /set and /get topics with retain disabled.

Zigbee2MQTT version

2.14.2; zigbee-herdsman-converters 26.115.1.

Adapter firmware version

7.4.3 [GA], EZSP 13, verified from bridge/info.

Adapter

Aeotec Z-Stick 10 Pro (ZWA060), dedicated Zigbee interface, Ember driver.

Setup

Z2M in Docker on x86_64 Fedora Linux 43, kernel 7.2.10-100.fc43.x86_64. Home Assistant and Mosquitto run separately. An active HA automation forwards fresh CGG1 temperatures; HA scheduling controls the setpoint. The TRV was in heat, not its internal scheduled auto mode.

Debug log

No raw Zigbee debug capture for the original event. The table is extracted from saved MQTT state/readback observations; a filtered readback attachment is available. It is not a raw ZCL trace.

Not tested: dev branch, newer coordinator firmware, or factory-reset reproduction. No service/device restart was performed during these tests. Root cause has not been assigned to firmware, Z2M or the converter.

Notes

Smart Control OFF and Child Lock UNLOCK were subsequently applied as a temporary workaround, with CGG1 and setpoint unchanged; readback was idle. Longer-term regulation remains under observation.

Possibly related, not established as the same defect: https://github.com/Koenkk/zigbee2mqtt/issues/33291.

Filtered MQTT readback snapshots (JSON Lines, no raw ZCL capture)
{"event": "baseline", "state": {"child_lock": "LOCK", "smart_temperature_control": "ON", "running_state": "heat", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}
{"event": "unlock_readback", "state": {"child_lock": "UNLOCK", "smart_temperature_control": "ON", "running_state": "heat", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}
{"event": "pid_off_readback", "state": {"child_lock": "UNLOCK", "smart_temperature_control": "OFF", "running_state": "idle", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}
{"event": "sample_20s", "state": {"child_lock": "UNLOCK", "smart_temperature_control": "OFF", "running_state": "idle", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}
{"event": "sample_40s", "state": {"child_lock": "UNLOCK", "smart_temperature_control": "OFF", "running_state": "idle", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}
{"event": "sample_60s", "state": {"child_lock": "UNLOCK", "smart_temperature_control": "OFF", "running_state": "idle", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}
{"event": "pid_restore_readback", "state": {"child_lock": "UNLOCK", "smart_temperature_control": "ON", "running_state": "idle", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}
{"event": "restore_readback", "state": {"child_lock": "LOCK", "smart_temperature_control": "ON", "running_state": "idle", "temperature_sensor_select": "remote_temperature", "external_temperature_input": 24.7, "local_temperature": 24.7, "occupied_heating_setpoint": 24, "fault_status": "none"}}

przemhb avatar Oct 24 '26 21:10 przemhb

I'm also seeing this issue (Z2M v2.14.2). Two TRV-ZBT gen2 (fw v1.1.0), readings from external sensor, smart temperature control enabled. External sensor sending uodates with 0,1°C accuracy. Setpoint at 21°C, valve still fully open at 21,8°C.

Chylynsky avatar Oct 25 '26 10:10 Chylynsky

cc @cubez2mdeveloper

andrei-lazarov avatar Oct 26 '26 01:10 andrei-lazarov

Thank you for the detailed report and the controlled test results. We have forwarded this feedback to our firmware development team for further investigation.

We will follow up with you if there are any updates. We appreciate your help in identifying and documenting this behavior.

CubeZ2mDeveloper avatar Oct 26 '26 09:10 CubeZ2mDeveloper

@CubeZ2mDeveloper

Same issue on two SONOFF TRV-ZBT Gen2 units running firmware 1.1.0 I am experiencing similar behavior on two SONOFF TRV-ZBT Gen2 radiator valves in Home Assistant via Zigbee2MQTT.

Setup Model: SONOFF TRV-ZBT (Gen2) Firmware ID: 1.1.0 Firmware version reported by Zigbee2MQTT: 4352 Smart temperature control (PID): enabled Temperature source: external temperature sensor, with temperature updates being received correctly

Observed behavior Both valves continued heating after the reported temperature had exceeded the setpoint. This was not just an incorrect “heating” status in Home Assistant: both radiators were physically hot and continued heating.

For example: Bedroom: setpoint 22.0 °C, reported temperature 23.2 °C, still heating. Kitchen: setpoint 22.0 °C, reported temperature 22.2 °C, still heating.

What restored normal operation Manually changing the temperature setpoint caused the affected valve to stop heating. Changing another control setting also appeared to make the valve resume responding correctly.

This suggests that the valve is mechanically capable of closing, but the control logic may not be updating as expected until a settings change triggers a new evaluation.

Suspected issue It feels as though the controller becomes stuck in the heating state and stops responding to temperature changes until a manual adjustment is made. This is only my interpretation of the observed behavior, not a confirmed diagnosis. I cannot determine whether the PID controller stops recalculating, fails to act on incoming temperature updates, or encounters some other firmware issue.

I have observed this on two units, not just one. I can provide additional device information or logs if needed.

Jehlici avatar Nov 02 '26 16:11 Jehlici

Same issue on my TRV-ZBT with PID enabled: it is still heating 1.2° above the setpoint

TeChn4K avatar Nov 03 '26 10:11 TeChn4K

My guess is that the error integration overflows.

przemhb avatar Nov 03 '26 10:11 przemhb

I'm experiencing very similar behavior with my SONOFF TRV-ZBT Gen2 radiator valves.

My setup:

  • 4 × SONOFF TRV-ZBT (Gen2)
  • Firmware version: 1.1.0
  • 1 × SONOFF ZB Bridge-P
  • Using the eWeLink app (not Zigbee2MQTT)
  • Adaptive mode enabled

What happened:

The issue has occurred twice so far, and only affects one of my four radiator valves (the one installed in my bedroom).

I manually set the target temperature to 22°C. However, even after the actual room temperature reached approximately 24°C, the radiator continued heating. I then lowered the target temperature to 19°C, but the radiator continued heating for an extended period of time, as if the valve had failed to close. Interestingly, recalibrating the valve restored normal operation. However, the same issue has occurred again yesterday.

Additional observation:

During the second occurrence, the eWeLink app showed:

  • Current temperature: 25.3°C
  • Target temperature: 19°C
  • Device status: Idle

Despite the Idle status, the radiator appeared to continue heating.

This makes me wonder whether the issue is related to the adaptive temperature control algorithm or the valve control logic, rather than a purely mechanical problem.

Expected behavior:

The valve should close when the measured temperature exceeds the target temperature, especially when the difference is as large as 6°C. Has anyone experienced similar behavior with the TRV-ZBT Gen2? Could this be related to firmware 1.1.0 or the adaptive control algorithm? Since recalibration temporarily fixes the issue but it eventually happens again, I suspect there might be an underlying firmware or control logic problem.

wojtekkula3 avatar Nov 05 '26 18:11 wojtekkula3

Confirming on 4× TRV-ZBT fw 1.1.0 with a pyrometer. Two radiators in the same riser (same type, valve and orifice), one head with smart_temperature_control ON, the other OFF. Smart ON: top 40.3 °C / bottom 22.7 °C at heat_percentage_hour=100 (room 23.5 °C), i.e. barely any flow. Switching the same head to smart OFF with heating_valve_position=100, idle_valve_position=0, temperature_accuracy=-0.4 gave top ~50 °C / bottom 45–47 °C within ~15 min, same as a radiator without a head. So the PID mode doesn't open the valve fully even when reporting 100%; smart OFF is a working workaround.

tomeq82 avatar Nov 09 '26 20:11 tomeq82

I would like to confirm similar Smart PID behavior on my SONOFF TRV-ZBT Gen2 thermostats running firmware 1.1.0 (4352).

I use four TRVs with external SONOFF SNZB-02P room temperature sensors, Home Assistant OS and Zigbee2MQTT.

Bedroom: With Smart PID enabled, the thermostat continued reporting heat at a measured room temperature of 22.9°C, although the target was only 22.0°C. After disabling Smart PID, normal valve opening and closing behavior returned.

Children's room: With a target of 21.5°C, the room reached 22.1°C, but the thermostat continuously reported heat for approximately 2 hours and 27 minutes. During that time, an additional sensor near the radiator valve recorded a temperature decrease from 37.6°C to 23.1°C.

Living room: Smart PID behaved differently. It switched to idle at a target of 23.0°C, and heating demand resumed approximately 49 minutes later. However, I cannot verify the actual valve regulation because the current valve position is not exposed.

Bedroom calibration: Two successful calibrations produced different values: 500 versus 476 closing steps, and 3146 versus 1751 mV for the reported closing-limit voltage.

My main concern is that running_state = heat does not tell us whether the valve is fully open, partially open or almost closed.

Could the SONOFF firmware team clarify the expected Smart PID behavior and consider exposing the current estimated valve opening percentage (0–100%) through Zigbee?

This would be extremely useful for both troubleshooting and correct boiler-demand control in Home Assistant.

I have also submitted a detailed technical report covering all four thermostats directly to SONOFF support on November 9, 2026.

dangerouse75 avatar Nov 09 '26 21:11 dangerouse75

I am observing similar behavior on my three SONOFF TRV-ZBT Gen2 valves. I exported the Home Assistant history for November 10, 2026, to document the reported temperatures, setpoints, heating states and main heating relay state.

Setup

  • Home Assistant on a Raspberry Pi 4, using Zigbee2MQTT.
  • Three TRVs: living room, bedroom and bathroom.
  • Smart temperature control was ON on all three valves throughout the reported period.
  • All three were in auto mode, using their internal schedules.
  • External room temperatures are supplied through Home Assistant: SONOFF SNZB-02P sensors in the living room and bathroom, and an Aqara W100 in the bedroom, with filtered temperature entities.
  • A separate relay controls the main district-heating supply valve.

Recorded behavior

All times below are local Italian time, CET (UTC+1). The CSV timestamps are UTC.

Around 17:30, all three TRVs changed their setpoints from 18°C to 19°C.

The following temperatures are from the TRVs’ current_temperature attributes, and the states are from hvac_action.

Living room — target 19.0°C

  • 18:34:07 — 19.0°C, still heating.
  • 19:34:09 — 19.2°C, still heating.
  • 20:20:42 — 19.7°C, still heating.
  • 20:36:33 — 20.2°C, still heating.
  • 20:42:06 — 20.3°C, still heating.
  • 20:45:34 — 20.3°C, switched to idle.

The living room reached 1.3°C above target while still reporting heating. The TRV’s own current_temperature attribute also showed 20.3°C, matching the external filtered sensor at that point. It eventually switched to idle without a recorded setpoint change.

Bedroom — target 19.0°C

  • 19:59:57 — 19.0°C, still heating.
  • No subsequent transition to idle appears in the exported history.

Bathroom — target 19.0°C

  • 20:19:44 — 19.3°C, still heating.
  • 21:00:02 — 19.4°C, still heating.
  • No subsequent transition to idle appears in the exported history.

Earlier, the bathroom also switched from idle to heating at 15:20:04, while its reported temperature was 18.2°C against an 18.0°C target.

Main heating relay

The main heating relay switched ON at 15:20:04 and has no subsequent OFF transition in the exported history.

What these observations establish—and what they do not

The history documents heating states persisting at or above target with Smart Control enabled, together with a substantial room-temperature overshoot in the living room.

I have not measured actual valve position or water flow, so I cannot establish whether the valves remained physically open throughout these periods. I have also not performed a controlled PID ON/OFF comparison. These observations therefore support a similar symptom, rather than proving an identical root cause.

@CubeZ2mDeveloper, could your firmware team clarify whether this matches the behavior currently under investigation, and whether a firmware fix or test version is available?

It would also help to clarify what running_state: heat represents during PID operation, particularly when Home Assistant uses that state to control the main heating supply.

alealo96 avatar Nov 10 '26 20:11 alealo96

I have the same behaviour on two TRV-ZBT Gen2 units after the 1.1.3 (4355) update, so the newest firmware still has it.

Setup:

  • Zigbee2MQTT 2.14.3, Home Assistant.
  • Firmware 1.1.3 (4355) on both units, updated over the Zigbee2MQTT OTA earlier today.
  • Smart temperature control on, child lock on, open-window detection off.
  • Internal temperature sensor, no external sensor.
  • Setpoints 17.5 °C upstairs and 20 °C downstairs.

Both units report heat_percentage_hour at 100 % for hours while the radiators clearly cycle between warm and cold. One unit read 0 % at 11:33, 94 % at 12:00 and 100 % at 13:00, and stayed on 100 % for the rest of the afternoon. The other unit has read 100 % since it reconnected after a Home Assistant restart. running_state also stays on heat the whole time, including at 21.3 °C measured against a 20 °C target on the downstairs unit. Upstairs it holds 17.0 to 17.7 °C against 17.5 °C, also always heat.

I cannot check the actual valve position because the units do not expose it in smart mode. The sensor sits close to the radiator, so it swings between 18.1 and 21.3 °C within minutes and tells me little about the valve. I took the percentage off my dashboards for now because it is misleading.

The 1.1.3 release notes only mention Zigbee reconnection and error recovery, so I did not expect a fix for this. Is Sonoff still looking into it? And can someone confirm what heatPercentageHour should measure: the fraction of the last hour the valve was open, or the average opening? What I see does not match either.

dtump avatar Nov 15 '26 15:11 dtump

Update: actual heating above target persists with firmware 1.1.3, Smart Temperature Control enabled

I updated my SONOFF TRV-ZBT Gen2 valves to firmware 1.1.3 and re-enabled Smart Temperature Control. Unfortunately, the previously reported overheating behavior has occurred again, affecting both the kitchen and living room.

This is not only a “Heating” status displayed in Home Assistant: I have confirmed that the radiators continue heating while the room temperature is above the target.

Setup

  • Model: SONOFF TRV-ZBT Gen2
  • Firmware ID: 1.1.3
  • Installed firmware version: 4355
  • Integration: Zigbee2MQTT → Home Assistant
  • Regulation: the valve's own built-in controller, not Better Thermostat
  • Smart Temperature Control: ON
  • Temperature source: remote_temperature
  • External room temperature is supplied via external_temperature_input

Detailed state captured from the kitchen valve

  • Target temperature: 21.5 °C
  • External temperature input: 22.2 °C — 0.7 °C above target
  • Reported local_temperature: 21.9 °C — 0.4 °C above target
  • running_state: heat
  • system_mode: heat
  • smart_temperature_control: ON
  • temperature_sensor_select: remote_temperature
  • local_temperature_calibration: 0
  • fault_status: none
  • motor_travel_calibration_status: success
  • open_window_detected: false

Zigbee2MQTT also shows the external temperature input updating from 22.1 to 22.2 °C, so the external temperature value is being updated in Zigbee2MQTT during the event.

Observed behavior

  1. After updating to 1.1.3, I re-enabled Smart Temperature Control.
  2. The room warmed up and reached the target.
  3. The reported temperature then exceeded the target, but the radiator continued heating.
  4. The attached kitchen history graph shows the temperature crossing the final 21.5 °C target and remaining above it, reaching approximately 21.9 °C.
  5. At the time of the captured device state, the external room temperature was already 22.2 °C, with the valve still reporting heat.

The living-room valve shows the same symptom: 21.9 °C displayed against a 21.5 °C target, with continued heating.

Additional temperature-reporting discrepancy The kitchen valve exposes local_temperature = 21.9 °C while external_temperature_input = 22.2 °C and temperature_sensor_select = remote_temperature.

I do not know whether local_temperature is expected to reflect the selected remote temperature on this model. I am including both values rather than assuming which value the controller actually uses internally.

Comparison with the earlier occurrence On firmware 1.1.0, manually changing the setpoint or another setting made the affected valve respond again after it had continued heating above target.

With firmware 1.1.3, I have confirmed the recurrence of heating above target after enabling Smart Temperature Control. I have not yet repeated the manual-setting-change test or a controlled Smart Temperature Control ON/OFF comparison on this firmware.

Expected behavior With remote_temperature selected and external temperature updates being supplied, Smart Temperature Control should regulate heat delivery to maintain the target rather than sustain overheating.

I understand that PID control may allow transient overshoot and that a reported heating state alone does not prove a fault. However, in this case I am observing actual continued radiator heating above target, on two valves.

Firmware release notes reported by Zigbee2MQTT

  1. Improved heating percentage calculations for more accurate historical records.
  2. Optimised Zigbee reconnection to reduce waiting times after prolonged disconnections.
  3. Improved error recovery to enhance device stability.

These notes do not explicitly mention a fix for the previously reported Smart Temperature Control overheating issue.

Questions

  • Was this issue intended to be fixed in firmware 1.1.3?
  • Which temperature value should the control algorithm use when temperature_sensor_select is remote_temperature?
  • Which debug logs or additional attributes would help distinguish expected PID overshoot from a controller that is not responding correctly to temperature updates?

Relevant state excerpt { "battery": 100, "external_temperature_input": 22.2, "local_temperature": 21.9, "local_temperature_calibration": 0, "occupied_heating_setpoint": 21.5, "temperature_sensor_select": "remote_temperature", "smart_temperature_control": "ON", "running_state": "heat", "system_mode": "heat", "temperature_accuracy": -0.4, "heat_percentage_hour": 100, "heating_valve_position": 100, "idle_valve_position": 0, "fault_status": "none", "motor_travel_calibration_status": "success", "open_window": "ON", "open_window_detected": false, "linkquality": 156, "update": { "installed_version": 4355, "latest_version": 4355, "state": "idle" } }

The state fields above are included as reported. I am not treating heating_valve_position or heat_percentage_hour as a verified measurement of the instantaneous physical valve opening.

kitchen

Jehlici avatar Nov 15 '26 15:11 Jehlici

Adding to the 1.1.3 reports above: data from six TRV-ZBT in one flat (Zigbee2MQTT, external room sensor via external_temperature_input, valve reading in step with the sensor throughout, so not the internal sensor).

PID keeps heating above target, also on 1.1.3 (4355). 4 to 14 Nov on 1.1.0: 28 spells of at least 0.5 °C over target for 30 min or more, some all night, almost all starting a few hours after an airing (thermostat off, then on again with the room 2 to 4 °C below target). All six on 1.1.3 since 14/15 Nov: on 15 Nov one room again kept heating for over an hour at up to +0.7 after an airing, and after a target change went back to heating at +1.2. A target change or turning smart temperature control off ends it.

PID starves the radiator (1.1.0). Room 0.7 °C below target, running_state: heat, heat_percentage_hour 0, radiator cold. Smart temperature control off with heating_valve_position 100: radiator warm within 2 to 3 minutes. The hot water was there; the valve was nearly shut.

heat_percentage_hour under the PID often stays 0 for many hours while the valve reports heating (1.1.0 and 1.1.3).

With smart temperature control off (1.1.0, by ear): the valve is a plain thermostat with a band of |temperature_accuracy|. Writes to heating_valve_position only act upwards: a higher value moves the motor at once, also minutes into heating; a lower one is stored but applied only at the next idle → heating change. Lowering heating and idle position together doesn't trigger a run either.

We now run all six with smart temperature control off (heating 100, idle 0, accuracy −0.2) and will report if 1.1.3 behaves differently there.

phngs avatar Nov 15 '26 21:11 phngs

Same here for me. Just recently bought 8x Sonoff TRV ZBT Gen2 and started using them with smart temperature enabled. All updated to latest firmware 1.1.3.

Behaviour is strange as pid regulation doesn’t work reliable. Sometimes it just raise 2-3 degrees above target temperature without closing the valve.

Switched temporary back to old on/off mode. But would be interested in keeping this fixed.

Eisi1482 avatar Nov 18 '26 10:11 Eisi1482

@CubeZ2mDeveloper, thanks for forwarding this report to the firmware team on October 26. It has been several weeks since then. What feedback have you received from the team so far? Have they been able to reproduce the sustained heating above the setpoint with Smart Temperature Control enabled?

Since your reply, another user has confirmed that two radiators continued heating above target after updating to firmware 1.1.3. In my original test, turning Smart Temperature Control off stopped the water flow with the setpoint and temperature source unchanged. Leaving it off is a workaround, but it means giving up adaptive control.

When can affected users expect a firmware fix? If there is no release estimate yet, could you share the current status and when we can expect the next update?

przemhb avatar Nov 18 '26 11:11 przemhb

I got the same issue. I reported it to Sonoff via ticket and they replied:

Thank you for your detailed feedback.

When "Smart Temperature Control" is enabled for the TRVZB series, the device can automatically adjust the valve opening—down to a precision of 1%. However, to prevent the room temperature from dropping below the set temperature, the algorithm will only fully close the valve once the room temperature exceeds the set temperature by more than 2°C. If the room temperature is above the set temperature but the difference is less than 2°C, the valve opening will simply be reduced gradually.

Please note that once "Smart Temperature Control" is active, the manual valve opening/closing settings and temperature control precision parameters are effectively ignored; therefore, these settings cannot be used to influence the behavior of the smart control feature. For now, we recommend either lowering your target temperature by 1–2°C or disabling "Smart Temperature Control."

This is not very usefull. Instead of doing a workaround, they should adress the root.

MeisterQ avatar Nov 18 '26 19:11 MeisterQ

Update: Kitchen PID observations, SONOFF support response (+2°C), and a possible external-temperature override

@CubeZ2mDeveloper

I would like to add some observations from my own installation, share a written response I received directly from SONOFF support, and ask whether anyone has tested a possible way of limiting overheating while keeping Smart Temperature Control enabled.

1. My setup and observations

I use four SONOFF TRV-ZBT Gen2 thermostats, external SONOFF SNZB-02P room temperature sensors, Zigbee2MQTT and Home Assistant. A Shelly relay controls the heating demand for one shared boiler.

During earlier testing on firmware 1.1.0 (4352), I observed the kitchen thermostat with Smart Temperature Control enabled for approximately 4.5 hours, from 16:00 to 20:30.

During this period, the kitchen room temperature remained remarkably stable, despite an additional heat source in the room.

This suggested that the adaptive control might be regulating radiator output smoothly. However, I could not determine the actual valve opening percentage, so I cannot confirm exactly how the PID controller achieved this result.

My other observations, including cases of running_state: heat continuing above the target temperature, are described in my earlier comment in this issue.

2. Direct response from SONOFF support

I sent SONOFF a detailed technical report specifically about the TRV-ZBT Gen2 and its Smart PID regulation.

Aron from SONOFF support replied:

Once the target temperature is reached, the valve doesn't shut completely right away—it keeps fine-tuning the valve to maintain a stable room temperature control. Only when the room temperature rises 2°C above the set temperature will the valve fully close.

Support also referred me to this article:

https://sonoff.tech/blogs/news/trvzb-upgrade-smart-temperature-control-for-more-stable-room-temperature

The linked article describes the older TRVZB, but the support response was sent to my inquiry about the Gen2 model.

I would appreciate confirmation from the Gen2 firmware developers that this +2°C full-closure threshold also applies to TRV-ZBT Gen2 firmware 1.1.0 and 1.1.3.

If so, some heating above the setpoint might be intentional PID behavior rather than a defect.

However, physical valve closure and the reported running_state: idle are not necessarily the same thing. This distinction is especially important when a central boiler is controlled from the TRVs' heating states.

3. Proposed experiment: temporary artificial external temperature

I am considering an experimental supervisory controller in Home Assistant.

The idea is to leave the TRV's Smart PID enabled during normal heating, but temporarily replace the temperature supplied via external_temperature_input when the real room temperature exceeds an upper limit.

For example:

  • User setpoint: 22.0°C.
  • Normal operation: Home Assistant supplies the actual external room temperature to the TRV.
  • At an actual room temperature of 22.6°C, Home Assistant temporarily supplies an artificial temperature of 27.0°C.
  • The TRV remains in system_mode: heat, with Smart Temperature Control enabled and temperature_sensor_select: remote_temperature.
  • The artificial temperature is maintained while the real room temperature remains above 21.6°C.
  • When the room cools to 21.6°C, Home Assistant restores the actual external temperature, allowing the internal PID controller to regulate again.

The purpose is not to replace the PID controller, but to introduce an upper temperature limit using the existing external-temperature input.

According to SONOFF's explanation, a sufficiently high reported temperature should cause the valve to close completely. However, I have not tested this method, and I do not know whether it would also cause running_state to change to idle.

I also understand that artificially changing the measured temperature could affect the internal PID state, including possible integral accumulation and its behavior when the real temperature is restored. It would require careful testing, restoration logic, and protection against communication failures.

4. Similar existing workaround

I found this experimental Gen2 Valve Kick blueprint:

https://gist.github.com/bontiv/af2d59adb15bf3d522282edd662a75e4

It temporarily supplies artificial external temperatures to trigger thermostat state transitions and valve movement, including an optional high-temperature step intended to trigger idle.

However, this is not the same as my proposed method: it is designed for external valve-position control, not sustained operation with Smart PID enabled.

5. Questions for SONOFF and other users

  1. Can SONOFF confirm that the +2°C full-closure threshold applies to the TRV-ZBT Gen2, including firmware 1.1.3?
  2. When the external temperature is more than 2°C above the setpoint, should running_state necessarily change to idle, or can it remain heat with the valve physically closed?
  3. Has anyone tested sending an artificially high external_temperature_input to a Gen2 thermostat while Smart Temperature Control is ON?
  4. If so, did the physical valve close, did running_state change to idle, and how did PID behave after the real temperature was restored?
  5. Does the Gen2 PID algorithm have any internal protection against integral windup or abrupt external temperature changes?

I am not claiming this to be a tested solution. I would first like to understand whether it is technically compatible with the intended Gen2 PID behavior.

My goal is to retain the potential benefit of smooth PID regulation while avoiding excessive room temperatures and unnecessary heating demand from a shared boiler.

Any technical clarification or controlled test results would be appreciated.

dangerouse75 avatar Nov 19 '26 09:11 dangerouse75

Additional test results – TRV-ZBT Gen2 Smart PID, kitchen radiator, November 11, 2026

@CubeZ2mDeveloper

I would like to share additional observations from our SONOFF TRV-ZBT Gen2 kitchen thermostat and ask for technical clarification of the Smart PID algorithm.

1. Test conditions and attached graph

On November 11, 2026, we monitored the kitchen thermostat using Home Assistant, Zigbee2MQTT and an external SONOFF SNZB-02P temperature sensor.

Smart Temperature Control (PID) was enabled.

The attached graph shows:

  • Actual room temperature measured by the external sensor (blue).
  • Temperature reported by the thermostat (yellow).
  • Target temperature (red).
  • Thermostat heating / idle state.
  • Shelly central boiler relay state.
  • External temperature source selected (remote_temperature).

[INSERT KITCHEN GRAPH HERE]

2. Observed PID behavior

During the afternoon, the thermostat initially switched between heating and idle.

After approximately 16:00, the thermostat remained in heating for approximately 4.5 hours, until around 20:30.

During this time, room temperature gradually increased and subsequently became relatively stable near the target temperature.

The thermostat-reported temperature closely followed the external temperature sensor.

Importantly, we also monitored the radiator temperature during our testing.

The changes in radiator temperature were consistent with the thermostat reducing and increasing the flow of heating water while Smart PID remained enabled.

This suggests that the PID controller was adjusting radiator output rather than operating only as a fully open / fully closed thermostat.

However, the kitchen may also receive heat from other sources, and the radiator temperature is an indirect indicator of valve behavior.

3. Continuous heating does not necessarily mean a fully open valve

Throughout the long heating period, the thermostat continued reporting heating.

Nevertheless, the radiator temperature changed, indicating changes in delivered heat.

This raises an important question for installations with central boiler control:

Does running_state: heat represent any non-zero PID heating demand, regardless of how far the valve is open?

A thermostat that reports heating continuously may not necessarily require significant heating-water flow.

4. Investigation of Zigbee attributes and valve position

We previously examined the information available through Zigbee2MQTT, Zigbee logs and diagnostic history, looking for a value or manufacturer-specific attribute that could represent the current valve position during PID regulation.

We did not find a verified attribute or address providing the actual valve-opening percentage.

This does not mean such an attribute does not exist. We simply have not identified one.

We understand that heating_valve_position and idle_valve_position are configuration values and do not provide a confirmed live PID valve position.

Could the SONOFF firmware developers clarify whether a live valve position or internally calculated PID output is available through any Zigbee attribute?

If it exists, could its cluster, attribute ID and data type be documented?

If it is not currently exposed, would SONOFF consider adding it in a firmware update?

5. Direct response received from SONOFF

I contacted SONOFF support regarding these Gen2 PID observations.

SONOFF explained that Smart Temperature Control continues adjusting valve opening after the target temperature is reached and that the valve closes completely only when room temperature exceeds the setpoint by 2°C.

SONOFF has also confirmed by email that my detailed technical report has been forwarded to the technical team for further analysis.

I would appreciate confirmation from the Gen2 firmware engineers that the +2°C full-closure behavior applies to TRV-ZBT Gen2 firmware 1.1.0 and 1.1.3.

6. Proposed experiment – temporary external temperature override

We are considering an additional supervisory control method in Home Assistant while retaining Smart PID.

Example:

  • Target temperature: 22.0°C.
  • Normal operation: the thermostat receives the actual room temperature.
  • When actual room temperature rises to 22.6°C, Home Assistant temporarily supplies an artificial external temperature of 27.0°C.
  • The purpose is to make the PID controller fully close the valve without switching system_mode to off.
  • The artificial value is maintained until the actual room temperature falls to 21.6°C.
  • Home Assistant then restores the actual measured external temperature, allowing PID to resume normal regulation.

This has not yet been tested on our system.

We recognize that the method might affect the internal PID state and that Zigbee communication failures could prevent the thermostat from accepting the override.

For that reason, it would require independent temperature monitoring, communication checks and a fallback mechanism.

Our future heating-control architecture would use Home Assistant and the actual external room sensors to determine central boiler demand independently of the TRVs' running_state. Each TRV would regulate its own radiator.

Questions for SONOFF and other users:

  1. Is continuous heating during partial PID valve modulation expected behavior?
  2. Does the Gen2 fully close the valve at the setpoint +2°C?
  3. Does full closure necessarily change running_state to idle?
  4. Is a current valve-position value or internal PID output available in manufacturer-specific Zigbee attributes?
  5. Has anyone tested forcing valve closure by temporarily increasing external_temperature_input while Smart PID remains enabled?
  6. Could such a sudden temperature change cause undesirable PID behavior when the real temperature is restored?

We would appreciate technical clarification and any comparable test results.

Our goal is to preserve smooth radiator regulation while ensuring reliable temperature limits and efficient central boiler operation. Clarification of the test period: Smart PID was enabled for observation on November 11, 2026, from 15:55 to 20:17 (4 hours and 22 minutes). At 20:17, I manually disabled Smart Temperature Control. The test did not end because the PID controller automatically stopped heating.

Snímek obrazovky 2026-11-19 103908

dangerouse75 avatar Nov 19 '26 09:11 dangerouse75

@CubeZ2mDeveloper, could the firmware team confirm whether the +2°C full-closure threshold described by SONOFF support applies to the TRV-ZBT Gen2 on firmware 1.1.0 and 1.1.3? How should Smart Temperature Control reduce heat output when the measured room temperature stays above the setpoint but below that threshold?

The built-in sensor is close to the radiator and can read higher than the rest of the room while the radiator is heating. If the +2°C threshold is intended in part to compensate for that difference, what is the rationale for applying the same threshold when a properly placed external sensor measures the room temperature directly? Does the controller behave differently when remote_temperature is selected?

In my test, the setpoint was 24.0°C and the selected external sensor read 24.7°C. Water flow was clearly audible, and the radiator was very hot even at the bottom. When I turned Smart Temperature Control off, the flow noise stopped. The setpoint and temperature source were unchanged. I did not measure the valve position.

A room can settle above its setpoint without ever reaching +2°C if the heat supplied by the radiator balances the room's heat losses. Sustaining that higher temperature uses more heat than necessary and can leave users with avoidable heating costs. A properly functioning thermostatic valve should keep the room near the requested temperature without requiring users to lower the setpoint by 1–2°C or disable Smart Temperature Control.

Is the behavior observed in this test expected? Has the firmware team reproduced sustained heating above the setpoint with an external sensor, and when can affected users expect a fix? If there is no release estimate yet, please share what the team has found so far and when we can expect the next update.

przemhb avatar Nov 19 '26 10:11 przemhb

A suggestion for future development – expanding the possibilities of TRV-ZBT Gen2

@CubeZ2mDeveloper

I would like to share a few thoughts about the potential future development of the TRV-ZBT Gen2. This is not a bug report or a demand for new features, but simply a suggestion for the SONOFF development team to consider.

I believe this thermostat could be useful for an even wider range of heating systems if a few additional control and monitoring capabilities were available.

1. Different users have different needs

Many users simply want to set their desired room temperature in a mobile application and let the thermostat handle everything automatically.

For these users, Smart Temperature Control (PID) is a convenient solution. They do not need detailed graphs, valve-position information or advanced configuration.

However, there is another group of users who integrate smart thermostats into more complex heating systems using Home Assistant, Zigbee2MQTT or other home automation platforms.

These systems may need to coordinate several radiators with a central boiler or another heat source.

In such installations, information about the actual heating demand of each radiator can be very valuable.

2. Reading the current valve opening during PID operation

One potentially useful improvement would be the ability to monitor the current valve opening percentage while Smart Temperature Control is enabled.

For example, knowing whether a valve is approximately 10% or 90% open could help an external heating controller decide when the central heat source is actually needed.

This information could be combined with room temperatures, heating schedules and historical measurements to reduce unnecessary boiler starts and stops.

We previously examined the available Zigbee2MQTT data and diagnostic logs but did not identify a verified attribute representing the current valve position during PID operation.

This does not mean such information does not exist internally; we simply have not found a way to access it.

Even a calculated or estimated PID valve-opening value could be useful.

3. Optional external valve-position control

Another interesting possibility would be an optional operating mode where the internal PID controller is disabled and an external system can request a specific valve opening, for example 20%, 50% or 100%.

This could allow more advanced heating controllers to implement their own regulation strategies while coordinating multiple radiators and the central heating source.

Naturally, such a feature would need appropriate safeguards, especially in the event of lost communication.

4. Keeping the thermostat simple

I would not want these additional capabilities to make the product more complicated for ordinary users.

The existing autonomous temperature-control mode could remain the default, with no additional setup required.

Advanced capabilities could simply be optional features accessible through Zigbee integrations for users who need them.

In this way, the same thermostat could serve both users who only want to set a comfortable temperature and those who want to build a more sophisticated heating-control system.

5. Technical feasibility

I fully understand that these ideas might be limited by the existing hardware, motor-control architecture, firmware or Zigbee implementation.

I do not know whether they are technically feasible on the current TRV-ZBT Gen2.

If they are not feasible, even a brief explanation from the development team would be appreciated.

My intention is simply to highlight a possible opportunity to increase the flexibility and long-term value of an already interesting product.

Thank you to the SONOFF team for considering these suggestions and for your continued work on the firmware.

dangerouse75 avatar Nov 19 '26 16:11 dangerouse75