Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temperature Offset Causing TRV to remain closed, even when BT is requesting heat [1.7.0-Beta3] #1586

Open
DavidGeorge528 opened this issue Jan 30, 2025 · 5 comments
Assignees
Labels
new bug incoming bug issue

Comments

@DavidGeorge528
Copy link

Description

This is a remake of #1559 after updating to Beta3

Setup

I have 8 Sonoff TRVZB in 7 rooms around my house (2 in the living room), and 7 BT devices set up to control them (again, the living room BT controls both TRVs in there). Other than one BT controlling 2 TRVs, the remaining settings are identical throughout. Each room has an external temperature and humidity sensor, placed away from the radiators. I use a weather entity and my garage temperature as the outdoor sensor for each BT as I don't have an outdoor sensor yet. For the calibration, I use offset based with normal set as the mode. Below are my settings:

Screenshot 2025-01-09 at 2 35 17 pm
Screenshot 2025-01-09 at 2 35 22 pm

Problem

Detailed graphs and descriptions are shown below in the graphs section.

Sometimes when setting a temperature on BT that is above the tolerance, the underlying TRV never turns on. This seems to be caused by the offset that is applied to the TRV. It is difficult to reproduce, as I've not yet found a consistent way for it to trigger. Sometimes it drops the calibration offset so the TRV temperature is below the ambient so it turns on, other times it doesn't (See below).

Note: This issue does not happen in the stable release 1.6.1. The charts below show that before I updated to Beta3 my heating system was working perfectly, but as soon as I updated it went back to the same behaviour as #1559 from Beta2

Steps to Reproduce

  1. Set the target temperature of BT to above current ambient reported by the external sensor + tolerance
  2. Observe the BT climate device turns to heating
  3. Check the status of the underlying TRVs

Expected behavior:

The underlying TRV has its offset adjusted properly to turn on to heat the radiators

Actual behavior:

The offset is either not adjusted, or not adjusted enough for the TRV to think it needs to turn on to heat (See below)

Versions and HW

Home Assistant: 2025.1.1
Better Thermostat: 1.7.0-beta2

TRV(s): 8 Sonoff TRVZB

Debug data

For some reason, I'm getting a 500 Server Error when trying to download the diagnostics of BT and HA in general. I recently updated to 2025.2 beta which might've caused it, but this was an issue on 2025.1 I will try and add diagnostics when I can

debug log

https://gist.github.com/DavidGeorge528/dd4a616035e307f054e059b29b7a8e38

graphs
After turning the heating on everywhere we can see that BT has each thermostat set to heating and is over the 0.5C threshold, except Office
Image

However, when we look at the TRVs themselves, only 1 out of 8 are actually on and heating. The rest are idle, this is due to the offset of each TRV being set well above the ambient and even the target temperature
Image
Image
Image
Image

Digging into one TRV specifically, we can see the device temperature (Controlled by the offset by BT) is over compensating. And although BT states its heating, its in fact off because the offset is too high and the TRV thinks its internal temperature is well above the set temperature.

For clarity, before 13:00 in the graphs I had v1.6.1 installed and everything worked fine, after updating to beta3 at 13:00 the issues start

Image

Interestingly, if you look at the final few readings on the chart, that was me manually increasing the temperature on the TRV itself by 0.5C (By physically turning the dial on the device OR adjusting the TRV in HA), this caused the offset to adjust and the TRV turned to heat. Adjusting by 0.5C in BT (not on the TRV, or the physical device) doesn't cause this behaviour.

Below are the logs from Z2M directly after I adjust the BT temperature by 0.5C of the Living Room.

Z2M Logs ``` info 2025-01-30 13:39:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:52.450Z","linkquality":80,"local_temperature":23.3,"local_temperature_calibration":4,"occupied_heating_setpoint":22,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:39:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:52.452Z","linkquality":83,"local_temperature":23.3,"local_temperature_calibration":4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:39:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:52.747Z","linkquality":80,"local_temperature":23.3,"local_temperature_calibration":4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:39:53z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:53.414Z","linkquality":83,"local_temperature":23.3,"local_temperature_calibration":4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:39:54z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:54.792Z","linkquality":80,"local_temperature":23.5,"local_temperature_calibration":4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:39:55z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:55.612Z","linkquality":80,"local_temperature":23.5,"local_temperature_calibration":4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:39:56z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:56.609Z","linkquality":83,"local_temperature":23.5,"local_temperature_calibration":4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:39:57z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Living Room', payload '{"battery":32,"child_lock":"UNLOCK","closing_steps":590,"frost_protection_temperature":7,"idle_steps":49,"last_seen":"2025-01-30T13:39:57.598Z","linkquality":83,"local_temperature":23.5,"local_temperature_calibration":4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3076,"valve_motor_running_voltage":1589,"valve_opening_degree":100,"valve_opening_limit_voltage":2037,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' ```

We can see that the offset was slightly adjusted, but adjusted further away from the target, even though the actual temperature reported to BT by the external temperature sensor at the time was 18C. So very far below the set temperature

Image

However, below are the logs from Z2M directly after I adjust the underlying TRV temperature by 0.5C of the Spare Room causing it to change to heat.

Z2M Logs ``` info 2025-01-30 13:38:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:03.460Z","linkquality":127,"local_temperature":27.5,"local_temperature_calibration":7.4,"occupied_heating_setpoint":22,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:03.460Z","linkquality":127,"local_temperature":27.5,"local_temperature_calibration":7.4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:03.466Z","linkquality":134,"local_temperature":27.5,"local_temperature_calibration":7.4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:03.766Z","linkquality":134,"local_temperature":27.5,"local_temperature_calibration":7.4,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:03z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:03.766Z","linkquality":134,"local_temperature":27.5,"local_temperature_calibration":-0.6000000000000001,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:04z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:04.444Z","linkquality":131,"local_temperature":27.5,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:05z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:05.906Z","linkquality":131,"local_temperature":19.5,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:06z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:06.666Z","linkquality":127,"local_temperature":19.5,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:06z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:06.781Z","linkquality":123,"local_temperature":19.5,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:07z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:07.642Z","linkquality":123,"local_temperature":19.5,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:08z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:08.642Z","linkquality":123,"local_temperature":19.5,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:10z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:10.898Z","linkquality":131,"local_temperature":19.4,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"idle","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:11z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:11.882Z","linkquality":127,"local_temperature":19.4,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"heat","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1551,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' info 2025-01-30 13:38:15z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/TRV - Spare Room', payload '{"battery":92,"child_lock":"UNLOCK","closing_steps":561,"frost_protection_temperature":7,"idle_steps":30,"last_seen":"2025-01-30T13:38:15.596Z","linkquality":120,"local_temperature":19.4,"local_temperature_calibration":-0.6,"occupied_heating_setpoint":22.5,"open_window":"OFF","running_state":"heat","system_mode":"heat","update":{"installed_version":4609,"latest_version":4609,"state":"idle"},"valve_closing_degree":100,"valve_closing_limit_voltage":3332,"valve_motor_running_voltage":1460,"valve_opening_degree":100,"valve_opening_limit_voltage":2006,"weekly_schedule":{"friday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","monday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","saturday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","sunday":"00:00/16 07:00/19 10:00/19 10:00/19 10:00/19 23:00/16","thursday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","tuesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16","wednesday":"00:00/16 07:00/19 10:00/16 10:00/16 17:00/19 23:00/16"}}' ```

We can see here that adjusting the unerlying TRV still impacted the BT target too, but also adjusted the offset all the way down to 0 to turn the TRV to heat

Image

Final notes, even after 35 minutes, the issue doesn't correct itself, also its not consistent. Sometimes the TRVs turn on, other times they don't

Additional Information

I've used BT for a while and never experienced these issues until recently, and I realise I'm using the beta, however I wanted some of the new features like humidity on the device. With that said, I do believe this is something that has changed recently, likely between the release and beta. Updating between beta 2 and beta 3 changed nothing in how the bug impacts mysetup

@DavidGeorge528
Copy link
Author

FWIW, downgrading to 1.6.1 and restarting HA turned all TRVs to heat automatically without tweaking any values

@folfy
Copy link
Collaborator

folfy commented Jan 31, 2025

Ok, thanks, I see: This is probably one of the many side effects of #1474. I'm not sure though what changed since 1.6.1, so on why this for some reason is working fine in the old version, I will have to look further. Are you sure the problem doesn't/never occurs with the old version?

@DavidGeorge528
Copy link
Author

I downgraded to 1.6.1 2 weeks ago and didn't have a single issue with any TRVs not turning on due to the offset

@Spaider
Copy link

Spaider commented Feb 3, 2025

Using version 1.6.1 since the day one. Problem reveals itself periodically, more often than I want it. And this is the biggest problem, because it can work for a few days, even weeks and then stops working all of a sudden. My TRV is
AVATTO ME167.
I used all the combinations for temperature calibration configurations and it didn't help.

@sticilface
Copy link

I have exactly this issue. I tried beta-1 and quickly downgraded... as heat was demanded but the valves offset was set to +12 degrees so they were not actually on. I've just tried beta-3 and it has the same behaviour, again... not consistent... some of my valves work some don't.. but i've not found a predictable cause. If I manually set the valve offset to 0... it works but then a few days later it has gone back to +12 and is not working.. I have similar set up to @DavidGeorge528 with external temp sensors.. and an external outside temp.

I'm using Sonoff TRVZB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new bug incoming bug issue
Projects
None yet
Development

No branches or pull requests

5 participants