Prerequisites
hvac_modes:
- 'off'
- auto
- heat
min_temp: 5
max_temp: 30
target_temp_step: 0.5
current_temperature: 23
temperature: 23
hvac_action: 'off'
battery: 100
battery_low: false
current_heating_setpoint: 23
device:
applicationVersion: 22
dateCode: '20191014'
friendlyName: Phil Zimmer
hardwareVersion: 35
ieeeAddr: '0x00158d00030ca874'
manufacturerID: 4151
manufacturerName: Eurotronic
model: SPZB0001
networkAddress: 65403
powerSource: Battery
softwareBuildID: '22190930'
stackVersion: 5
type: EndDevice
zclVersion: 2
eurotronic_error_status: 0
eurotronic_host_flags:
boost: false
child_protection: false
mirror_display: false
window_open: false
eurotronic_system_mode: 1
last_seen: '2021-12-13T12:05:59.423Z'
linkquality: 54
local_temperature: 23
local_temperature_calibration: 0
occupied_heating_setpoint: 23
pi_heating_demand: 100
running_state: idle
system_mode: auto
trv_mode: null
unoccupied_heating_setpoint: 16
update:
state: idle
update_available: false
valve_position: null
friendly_name: Phil Zimmer
supported_features: 1
Description
AI T. is never changing the local_temperature_calibration, even though I can change it manually with MQTT or through the z2m interface. It takes a few seconds to change, but it works.
The log:
`2021-12-13 08:40:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat: avg outdoor temp: 4
2021-12-13 08:40:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat triggerd States > Window open: False Night mode: False Mode: auto Setted: heat hasmode: True Calibration: -4.1 - send: True settemp: 22 curtemp: 19.4 Model: SPZB0001 Calibration type: 0 Winter: True TRV: Phil Zimmer
2021-12-13 08:42:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat: avg outdoor temp: 4
2021-12-13 08:42:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat triggerd States > Window open: False Night mode: False Mode: auto Setted: heat hasmode: True Calibration: -4.1 - send: True settemp: 22 curtemp: 19.4 Model: SPZB0001 Calibration type: 0 Winter: True TRV: Phil Zimmer
2021-12-13 08:43:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat: avg outdoor temp: 4
2021-12-13 08:43:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat triggerd States > Window open: False Night mode: False Mode: auto Setted: heat hasmode: True Calibration: -4.1 - send: True settemp: 22 curtemp: 19.4 Model: SPZB0001 Calibration type: 0 Winter: True TRV: Phil Zimmer
2021-12-13 08:44:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat: avg outdoor temp: 4
2021-12-13 08:44:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat triggerd States > Window open: False Night mode: False Mode: auto Setted: heat hasmode: True Calibration: -4.1 - send: True settemp: 22 curtemp: 19.4 Model: SPZB0001 Calibration type: 0 Winter: True TRV: Phil Zimmer
2021-12-13 08:45:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat: avg outdoor temp: 4
2021-12-13 08:45:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat triggerd States > Window open: False Night mode: False Mode: auto Setted: heat hasmode: True Calibration: -4.1 - send: True settemp: 22 curtemp: 19.4 Model: SPZB0001 Calibration type: 0 Winter: True TRV: Phil Zimmer
2021-12-13 08:48:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat: avg outdoor temp: 4
2021-12-13 08:48:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat triggerd States > Window open: False Night mode: False Mode: auto Setted: heat hasmode: True Calibration: -4.0 - send: True settemp: 22 curtemp: 19.5 Model: SPZB0001 Calibration type: 0 Winter: True TRV: Phil Zimmer
2021-12-13 08:50:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat: avg outdoor temp: 4
2021-12-13 08:50:22 DEBUG (MainThread) [custom_components.ai_thermostat.climate] ai_thermostat triggerd States > Window open: False Night mode: False Mode: auto Setted: heat hasmode: True Calibration: -4.0 - send: True settemp: 22 curtemp: 19.5 Model: SPZB0001 Calibration type: 0 Winter: True TRV: Phil Zimmer`
In addition, with the climate entity AI T. is providing, I am able to control the TRV just fine. Just the setting of the local_temperature_calibration is not working as intended, and I don't have any idea why. It looks like the calculation of the offset value is working, but z2m is never reaching any instructions to send the offset to the TRV.
That is working:
service: mqtt.publish
data:
topic: z2m/Phil Zimmer/set
payload: |
{
"local_temperature_calibration":-2
}
Versions
HA Version: 2021.12
Z2M Version: 1.22.1-1
Additional Information
Is it something obvious I am missing out? I have legacy support everywhere enabled.
If you know something what I could try, please let me know, and thanks in advance.