zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Hive TRV/ Danfoss Ally Heat Required not changing

Open PurpFrame opened this issue 8 months ago • 39 comments

What happened?

Updated to 2.9.2. Noticed that heating wasn’t turning on as scheduled. On investigating, the Heat Required flag isn’t changing despite the requested temp being above the measured temp.

What did you expect to happen?

The Heat Required flag should change to Heat Requested

How to reproduce it (minimal and precise)

Change temp in TRV to above room temp. Note that Heat Required flag doesn’t change

Zigbee2MQTT version

2.9.2

Adapter firmware version

20240710

Adapter

SMLight SLZB-06

Setup

Add on on HAOS

Device database.db entry

No response

Debug log

No response

Notes

Device

definition: UK7004240 - Hive (v0.0.0) software_build_id: 02.58.0008 02.58 date_code: 20190911 endpoints:

{"1":{"bindings":[{"cluster":"genPollCtrl","target":{"endpoint":1,"ieee_address":"0x00124b002c3fd7e2","type":"endpoint"}},{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x00124b002c3fd7e2","type":"endpoint"}},{"cluster":"hvacThermostat","target":{"endpoint":1,"ieee_address":"0x00124b002c3fd7e2","type":"endpoint"}}],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","genTime","genPollCtrl","hvacThermostat","hvacUserInterfaceCfg","haDiagnostic"],"output":["genBasic","genOta"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":65000,"minimum_report_interval":3600,"reportable_change":0},{"attribute":"localTemp","cluster":"hvacThermostat","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":10},{"attribute":"pIHeatingDemand","cluster":"hvacThermostat","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":10},{"attribute":"occupiedHeatingSetpoint","cluster":"hvacThermostat","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":10},{"attribute":"danfossMountedModeActive","cluster":"hvacThermostat","maximum_report_interval":65000,"minimum_report_interval":60,"reportable_change":1},{"attribute":"danfossWindowOpenInternal","cluster":"hvacThermostat","maximum_report_interval":3600,"minimum_report_interval":60,"reportable_change":1},{"attribute":"danfossHeatRequired","cluster":"hvacThermostat","maximum_report_interval":3600,"minimum_report_interval":60,"reportable_change":1},{"attribute":"danfossExternalMeasuredRoomSensor","cluster":"hvacThermostat","maximum_report_interval":65000,"minimum_report_interval":60,"reportable_change":1},{"attribute":"danfossAdaptionRunStatus","cluster":"hvacThermostat","maximum_report_interval":3600,"minimum_report_interval":60,"reportable_change":1},{"attribute":"danfossPreheatStatus","cluster":"hvacThermostat","maximum_report_interval":65000,"minimum_report_interval":60,"reportable_change":1}],"scenes":[]}}
Health

time: Thu Apr 02 2026 20:01:11 GMT+0100 (British Summer Time) os.load_average: 0.16, 0.14, 0.12 os.memory_percent: 46.4934 process.memory_percent: 3.9638 process.uptime_sec: 1206

{"leave_count":0,"messages":62,"messages_per_sec":0.052,"network_address_changes":0}

PurpFrame avatar Apr 02 '26 19:04 PurpFrame

I can confirm this issue. Trying to switch "Heat required" manually has no effect, same behaviour with "Radiator Covered".

moster11 avatar Apr 02 '26 22:04 moster11

Could you provide the debug log when changing this flag?

See this on how to enable debug logging.

Koenkk avatar Apr 03 '26 05:04 Koenkk

Having exact same issue, after upgrading to 2.9.2 my Danfoss Ally TRV keep reporting "No heat required", despite them actually requiring heat, valves fully open and house is cold.

@Koenkk "Heat required" is not a switch, it's' read-only and set by the TRV.

Mesmer88 avatar Apr 03 '26 05:04 Mesmer88

Not sure if this is relevant but there seems to be two or three new read only entities exposed after the upgrade that are related to identifying if heat is required by the TRv. These aren’t showing in MQTT.

Has there been an update to the TRV definition that’s altered/ broken reporting?

PurpFrame avatar Apr 03 '26 08:04 PurpFrame

I have exactly the same issue for all my Danfoss Ally. Furthermore, if I try to switch 'Heat available' to the correct option, it always switches instantly back to 'No heat available'. The same behavior for 'Radiator covered', where it always switches back from 'Room sensor mode' to 'Auto offset'.

Restore from backup to version 2.9.1 solved the issue...

paweloo85 avatar Apr 03 '26 09:04 paweloo85

Same issue after updating. Hive TRVs all stay in Heat not required mode.

evgenyyy avatar Apr 03 '26 11:04 evgenyyy

Has there been an update to the TRV definition that’s altered/ broken reporting?

https://github.com/Koenkk/zigbee2mqtt/issues/31575

MSL-DA avatar Apr 03 '26 11:04 MSL-DA

I have the "Radiator Covered" issue too. This make the the TRV use the internal temperature instead of the room temperature for ajustment. I my case the room is cold because the radiator is not placed in the open. I downgraded and then it works again

erikvh avatar Apr 03 '26 15:04 erikvh

Unfortunately, everything is wrong with this change, it applies to both the frontend and HA. I hope it will be rolled back until it has been fully tested. It’s a bit critical when the support completely disappears on a device like thermostats.

MSL-DA avatar Apr 03 '26 16:04 MSL-DA

I think the issue is that this doesn't work:

Change temp in TRV to above room temp

Could you provide the debug log when doing this?

See this on how to enable debug logging.

Koenkk avatar Apr 03 '26 18:04 Koenkk

I think the issue is that this doesn't work:

Change temp in TRV to above room temp

Could you provide the debug log when doing this?

See this on how to enable debug logging.

Sorry, but I've had to revert to 2.9.1 as I needed my heating work!

PurpFrame avatar Apr 04 '26 12:04 PurpFrame

similar Problems here with Popp 701721 (same as Danfoss Ally) since last update. "Heat required" is no longer set.

Furthermore I'm not able to switch "Window open external" or "Heat available".

"Occupied heating setpoint", "Mounted mode control", "External measured room sensor" are working.

In the debuglog i had set "Window open external"

debuglog window external open.txt

CEllwart avatar Apr 04 '26 18:04 CEllwart

I'm having the same problem with window_open_external. In my automations, I'm setting window_open_external to true when open, and false when closed. However, I can see that the valve is reporting "Closed". Setting it to "Open" does nothing, however.

Strangely enough the documentation seems to have been updated to reflect this, even though is has not been mentioned as a backward-incompatible change.

Clicking the "window_open_external" button in the Zigbee2MQTT interface also does exactly nothing.

EDIT: Added debug log file.

log.log

OZ1SEJ avatar Apr 04 '26 20:04 OZ1SEJ

  • I pushed a fix to revert some of the breaking changes, can you check if it works now?
  • When/how does heat_required turn to true? Since this attribute is not directly controllable I assume it turns to true when writing another attribute?
    • If it turns true when writing another attribute, could you provide the debug log on both 2.9.1 and 2.9.2 when doing so?

See this on how to enable debug logging.

Koenkk avatar Apr 05 '26 06:04 Koenkk

heat_required is set by the TRV Mostly when the valves opens. But i've seen cases where it was not set on low valve positions, so there must be some other factors in the TRV-calculation affecting this (not documented... maybe it depends on some temperature difference).

CEllwart avatar Apr 05 '26 12:04 CEllwart

Fix applied to v2.9.2? If so, still not working for me!

maxgamble2 avatar Apr 06 '26 09:04 maxgamble2

I had to downgrade zigbee2mqtt to version 2.9.1 to make my Danfoss Ally work again

ktreichel0 avatar Apr 06 '26 10:04 ktreichel0

Same here with 2.9.2. Although I'm toggling the switch it is always sends "heat_available":"No Heat Available" in the payload:

[4/7/2026, 10:31:01 AM] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/living_room_thermostat_1', payload '{"abs_max_heat_setpoint_limit":35,"adaptation_run_control":"none","adaptation_run_settings":true,"adaptation_run_status":"found","algorithm_scale_factor":1,"battery":75,"day_of_week":"tuesday","external_measured_room_sensor":22,"heat_available":"No Heat Available","heat_required":"No Heat Request","keypad_lockout":"lock","last_seen":"2026-04-07T10:31:01+02:00","linkquality":112,"load_balancing_enable":true,"load_estimate":775,"load_room_mean":810,"local_temperature":22.09,"max_heat_setpoint_limit":35,"mounted_mode_active":false,"mounted_mode_control":false,"occupied_heating_setpoint":23,"occupied_heating_setpoint_scheduled":23,"pi_heating_demand":89,"preheat_status":false,"programming_operation_mode":"setpoint","radiator_covered":"Auto Offset Mode","regulation_setpoint_offset":0,"running_state":"heat","setpoint_change_source":"externally","system_mode":"heat","thermostat_vertical_orientation":"Horizontal","trigger_time":660,"update":{"installed_version":32,"latest_release_notes":null,"latest_source":"https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/Danfoss/1246-0120-00320032.0002_(74C7CF9C).ota","latest_version":32,"state":"idle"},"viewing_direction":"Normal","window_open_external":"Closed","window_open_feature":true,"window_open_internal":"closed"}

storm1ng avatar Apr 07 '26 08:04 storm1ng

Hi,

with 2.9.2 also the viewing_direction and some other properties changed from sending true/ false to the plain text.

That's why i reverted to 2.9.1.

Manuel Jenny @.***> schrieb am Di., 7. Apr. 2026, 10:36:

storm1ng left a comment (Koenkk/zigbee2mqtt#31587) https://github.com/Koenkk/zigbee2mqtt/issues/31587#issuecomment-4197651960

Same here. Although I'm toggling the switch it is always sends "heat_available":"No Heat Available" in the payload:

[4/7/2026, 10:31:01 AM] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/living_room_thermostat_1', payload '{"abs_max_heat_setpoint_limit":35,"adaptation_run_control":"none","adaptation_run_settings":true,"adaptation_run_status":"found","algorithm_scale_factor":1,"battery":75,"day_of_week":"tuesday","external_measured_room_sensor":22,"heat_available":"No Heat Available","heat_required":"No Heat Request","keypad_lockout":"lock","last_seen":"2026-04-07T10:31:01+02:00","linkquality":112,"load_balancing_enable":true,"load_estimate":775,"load_room_mean":810,"local_temperature":22.09,"max_heat_setpoint_limit":35,"mounted_mode_active":false,"mounted_mode_control":false,"occupied_heating_setpoint":23,"occupied_heating_setpoint_scheduled":23,"pi_heating_demand":89,"preheat_status":false,"programming_operation_mode":"setpoint","radiator_covered":"Auto Offset Mode","regulation_setpoint_offset":0,"running_state":"heat","setpoint_change_source":"externally","system_mode":"heat","thermostat_vertical_orientation":"Horizontal","trigger_time":660,"update":{"installed_version":32,"latest_release_notes":null,"latest_source":"https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/Danfoss/1246-0120-00320032.0002_(74C7CF9C).ota","latest_version":32,"state":"idle"},"viewing_direction":"Normal","window_open_external":"Closed","window_open_feature":true,"window_open_internal":"closed"}

— Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/31587#issuecomment-4197651960, or unsubscribe https://github.com/notifications/unsubscribe-auth/A57EUI43UK5CLN45OV4RMHT4US4XFAVCNFSM6AAAAACXK6RVL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCOJXGY2TCOJWGA . You are receiving this because you commented.Message ID: @.***>

ktreichel0 avatar Apr 07 '26 08:04 ktreichel0

What really annoys me is that "Radiator covered" is no longer usable. Looks like i have to revert to 2.9.1 too.

CEllwart avatar Apr 07 '26 09:04 CEllwart