Closed jezzaaa closed 4 months ago
Hello @jezzaaa ,
Because the logs are always running I can say that the VTherm is not switched off nor disabled or you have another VTherm running on the same device.
I can suggest to restart the integration or HA to see if it resolves the case. I guess yes.
Hi @jmcollin78 . Thanks for looking into this.
Yes, I tried restarting the integration a few times, and HA a couple of times, but this seemed to make no difference.
I had to re-enable the v thermostat device in order to get the config dump and the logs, for opening this issue. So I'm treating that situation as a separate issue (the fact that the heater still gets turned on even when the vtherm device is disabled) with possibly the same cause. Instead I'll focus on the unexpected behaviour when the vtherm is enabled.
So, when vtherm is enabled, the issue is that the heater was still turning on when the set temp was well below the current temp. So where the config dump (above) shows:
temperature: 13 current_temperature: 16.3
the logs (above) show that the heater was started for 30 seconds, and the set temp and current temp were the same.
Since opening the issue, I disabled the physical smart plug for the heater, because I wasn't using it over the weekend. I've re-enabled it again today, and I'll see how it goes over the next few days. I also upgraded HA over the weekend, so there's been another reboot. I'll gather more data, if this continues to happen, and post it here.
This is really strange and I think we don't look in the right direction.
The first line of code says that if the hvac_mode: "off"
then do nothing. So you shouldn't see the logs you have.
You seems the only guy with this trouble, so I guess there is something on your side which make this happens.
The issue now is to find what. You can have a look in the .storage/core.registry and search for versatile_thermostat. Then you will be able to check all the configured VTherm. Can you please me all the VTherm configurations you have (including the central configuration if any).
For now, everything is working OK. So it's possible I did something wrong without seeing it. I'll monitor for a while and see if the problem shows itself, and then I will provide the details you have suggested. For now, I will assume that the fault was with my understanding.
Thankyou for your work on this integration. It's very awesome. I'd be interested to know if you have plans to add more algorithms such as PID.
I'd be interested to know if you have plans to add more algorithms such as PID.
It was in my first plan, but it works really well with the TPI algo and the PI for auto-regulation in 'over climate' mode. So finally, I will certainly not add more algorithm with complex tuning.
Closing to avoid too much complexity.
Version 6.2.3
Configuration
Describe the bug
Thermostat is switched off, so is in manual mode. Turns on fire 30 second every 5 minutes.
Set temp is 13, current temp is 16.3, so turned on for 30, off for 270.
If I disable the device in the integration, it still goes on/off as above.
I'm trying to: Temporarily suspend the heater coming on.
And I expect: Heater to not come on when thermostat is off or disabled, or set temp is set very low.
But I observe this .... Heater is turned on by Versatile Thermostat even though the thermostat device is off or disabled or with low set temp. Debug logs confirm that Versatile Thermostat is turning heater on and off.
I read the documentation on the README.md file and I don't find any relevant information about this issue.
Debug log