Closed KipK closed 1 month ago
As I'm in a testing phase for now, there's chance this issue wakes up after I've modifed some Versatile settings. But I can't confirm that yet. Perhaps a home assistant restart each time I change a parameter would avoid this.
As I'm in a testing phase for now, there's chance this issue wakes up after I've modifed some Versatile settings. But I can't confirm that yet. Perhaps a home assistant restart each time I change a parameter would avoid this.
No don't do this. That is not necessary.
What I see the first post, is that VTherm is not heating:
on_percent: 0
power_percent: 0
on_time_sec: 0
your heater is still heating I think you have to look at your virtual switch switch.switch_rad_sdb
. I guess this is virtual switch ?
It's the same if I set it to OFF.
With OFF, this is not possible for VTherm to send command to the underlying. You have to look elsewhere.
The template switch works ok. I've double checked and tested it first before using it But in bugued state , even with the thermostat disabled, the zigbee module still continue to receive ON/OFF commands from hass and regulates the temperature like you can see in the screen capture in orange, but locked on a previous setted temp. There's nothing else that can send switch commands to z2m than versatile on my setup.
Also when removed the Versatile integration, the heaters stopped to received those ghost commands. It clearly comes from it.
edit: you can also see the temp is well regulated at 19.5° ( when in anti frost mode in bugued state ), if it was randomly switching the curve wouldn't look this stable.
However, I was using the normal switch from the pilot wire zigbee device before and got the same issue. I've changed to the template switch as I plan to mods my Lexman module with NodOn firmware ( those have no such switch internally but just climate commands )
I guess the change of parameter have created another VTherm leave the old running in background. I can't even thing how it is possible due to HA config entry behavior, but it seems to be the case.
Is this issue still present after a restart ? Does this reproduce after each change of parameters ?
That has sense and is coherent with what I've observed. I don't know well enough HASS code structure yet, but I'd like to add some debug trace on the different Versatile functions to track down what's happening in the background.
Will take me a bit of time to be comfortable with your codebase first.
Yes a home assistant restart solve the issue, not a restart of the integration ( disabling, enabling all the thermostats )
It doesn't seems to be systematic at each conf change ( not sure yet, but I haven't noticed that ) btw, so won't be an easy find.
debug trace on the different Versatile functions to track down what's happening in the background
Be careful, the debug mode is very verbose. It could degrade you sd-card if you have one.
I transform this issue into conversation to have a follow up.
Configuration
Using Versatile with electric heaters using pilot wire modules. I have a switch template for each device, going from antifrost to confort.
My VTherm attributes are the following:
I got this problem 3 times with 3 different thermostat this week. ( I have only started to test Versatile Therm this week )
Sometime, the thermostat still continue the heating cycle and never stop. When it's in this bugged state, I try to put the setpoint to a really low temperature, or set anti frost mode, the thermostat instantely cut off the heating. But a few mn later, I can see the heater is back on. It's the same if I set it to OFF. Heating continue in cycling state to a previously setted temperature ( on the example below it was 19.5°C )
Here on the screenshot below you can see at the beginning it was already still maintaining a 19.5°C temp on the room with a 18°C setpoint on the thermostat. ( it was already in this bugged state ) . At 13h20 I set the thermostat to anti-frost mode. But the heating cycle continue whatever the temperature was set.
Disabling the integration and enabling it don't solve the problem. But restarting Home assistant does.
Debug log
The related thermosatt is "thermosatt_sdb"
Complete log for the timeframe here: home-assistant_versatile_thermostat_2024-10-11T12-39-35.156Z.txt