Closed russdan closed 2 years ago
So I removed the withSetpoint('occupied_heating_setpoint', 22, 22, 1).withLocalTemperature()
from line 293 of hive.js
, as neither are valid for water
(the setpoint cannot be changed / is artificially fixed at 22C and as above there is no LocalTemperature
) and two results:
Climate device unhandled current_temperature_template (0x001e5e000000cd00_climate_water_zigbee2mqtt)
still persisted in Domoticz;error Failed to call 'HomeAssistant' 'start' (AssertionError [ERR_ASSERTION]: No setpoint found at HomeAssistant.exposeToConfig (/opt/zigbee2mqtt/lib/extension/homeassistant.ts:204:19)...
I assume as it was expecting a setpoint and now wasn't getting one...In the definition of the device
model: 'SLR2',
vendor: 'Hive',
description: 'Dual channel heating and hot water thermostat',
fromZigbee: [fz.thermostat, fz.thermostat_weekly_schedule],
toZigbee: [tz.thermostat_local_temperature, tz.thermostat_system_mode, tz.thermostat_running_state,
tz.thermostat_occupied_heating_setpoint, tz.thermostat_control_sequence_of_operation, tz.thermostat_weekly_schedule,
tz.thermostat_clear_weekly_schedule, tz.thermostat_temperature_setpoint_hold, tz.thermostat_temperature_setpoint_hold_duration],
endpoint: (device) => {
return {'heat': 5, 'water': 6};
},
is there a way to define different toZigbee
parameters for heat
(device 5) and water
(device 6)? The ones at present are good for heat
but tz.thermostat_local_temperature
should be dropped for water
....
Whether this fixes the unhandled current_temperature_template
error of course is another question!
OK coming at this from another angle, through the Web UI I added a Reporting attribute of localTemp
for endpoint 6 and now I get "local_temperature_water":21
in the MQTT message which stops the error in Domoticz... I assume therefore we need a await reporting.thermostatTemperature(waterEndpoint);
to replicate that via the device adapter....
PR #3978 raised with the above fix
Hi, I'm trying to resolve a few errors in the Hive SLR2 device, and currently see the following error in Domoticz using the MQTT native hardware:
Using MQTT explorer I can see
and so if I understand correctly its trying to populate
current_temperature_template
withvalue_json.local_temperature_water
however in the message there is nolocal_temperature_water
(there is alocal_temperature_heat
for theheat
endpoint but nowater
endpoint of the same). Example message:I've tried removing the
.withLocalTemperature()
from line 293exposes.climate().withSetpoint('occupied_heating_setpoint', 22, 22, 1)
ofdevices\hive.js
but this just generates other errors in zigbee2mqtt so I'm not sure where to go next? What I think I need to do is removecurrent_temperature_template
from theclimate_water
message definition as the hotwater side doesn't know the temperature so it isn't valid, but can't see where this is defined. Thanks!