Replies: 11 comments 34 replies
-
Hello @t0mb080 , Thank you for the report. To monitore the auto-start/stop feature, I have implemented this automation which report each decision taken by the algo. Maybe you can install it, then you will have a persistant notification at each switch. Please give the persistent notification when you think it is wrong:
You can keep only the auto-start/stop part if you want but It can be useful to monitore others safety event from VTherm. Then you will have some message like this:
which be easy to see if something goes wrong. You can also set the debug level for the auto-start/stop algo with this lines in the logger.yaml:
|
Beta Was this translation helpful? Give feedback.
-
Thanks very much @jmcollin78, I've now turned on that logging you suggested and isolated what I think is a problem. I'll try and explain it step by step below:
This does seem like a clear issue to me, surely the start/stop should only be active when the VTherm is meant to be on in the first place and not turn the VTherm on when it's meant to be off on the schedule? Two things occur to me that might help: A) Because the auto start/stop turns on and off the actual VTherm, you can't tell the difference between it being off because it's meant to be off, or whether it's off because the auto start/stop has turned it off and therefore it might come back on unexpectedly. A further issue here is that when the VTherm is off from the auto off, it's actually impossible to manually turn off? Wouldn't it be much easier if the VTherm stayed on, and the auto start/stop simply turned off the underlying climate instead? That way a genuine scheduler/manual off signal wouldn't get mixed up with the auto start/stop? It would be clear that when the VTherm was on but the underlying was off, it was because of the auto start/stop? B) When a VTherm is turned off, either manually or by scheduler, shouldn't the saved_havc_mode get reset to None so that it doesn't accidentally turn it back on again? Thanks again though @jmcollin78, this is a great integration. |
Beta Was this translation helpful? Give feedback.
-
Hello @t0mb080 ,
I clearly understand your case and I had to thank you for the explanations. In a general manner, there could have conflict when features or human or scheduler turns off. This has been identified during the design phase (see: #585).
No this will lead to incomprehension. VTherm state and underlying state should be aligned each time (VTherm is following the underlying state).
You are right, when it is off (for what ever reason), it is impossible to turn it off again (capt'ain obvious is near us). I not totally convience it is really an issue. Since this feature, I never try to turn on/off my devices. I let the Vtherm do its life with the auto-start/stop feature. And that is the point I guess, why do you turn-on/off the device with the Scheduler ? What is the use case behind this need ? Since auto-start/stop feature, do you still need to turn-on/off with the Scheduler.
This is certainly what I should do (if I get the off event while the Vtherm is already off, i'm not of this). I should also remove the |
Beta Was this translation helpful? Give feedback.
-
Sorry to throw more issues in, but maybe it's worth some slower parameters? Or maybe some expert mode parameters, like for the self-regulation because below is a case where it was on 'slow' start/stop but it still started and stopped within two minutes.
|
Beta Was this translation helpful? Give feedback.
-
I have a similar problem. I'm using a schedule to change preset, never change them manually. Noticing that my HVAC started acting strange around the times when the schedule changed preset and that the preset attribute was then set to none. So I added a state listener for when the preset attribute was set to none, which can be seen in the debug entry at 22:04:02.730. This problem started when schedule changed preset from comfort (20C) to eco (19C) at 22:00:00.
|
Beta Was this translation helpful? Give feedback.
-
Hello, This log at 22:04:02 is the problem : The device change its target temperature to 21 itself (maybe someone change the target on the device itself). So VTherm change its own target to 21 and set preset to manual (None). That is a feature: VTherm follows the underlying changes. But 21 make the auto-start/stop think it must start, so it starts. and at 2024-11-11 22:04:04.186 it decide to stop (itself) if I understand correctly the logs. The device that changes its state alone are a big trouble for Vtherm. 75% of the issue are due to that and I'm stuck with those cases. |
Beta Was this translation helpful? Give feedback.
-
Sorry @jmcollin78, I've installed 6.7.0 and all the issues still seem to be there for me. In the logs below the scheduler turns off the VTherm at 0740, however the logs seem to indicate that it's the underlying climate that has turned off and VTherm is responding to that?? Then at 11:18 I turn the auto start/stop feature back on, and the VTherm immediately fires up with an auto start despite it meant to be in off mode from the scheduler?
|
Beta Was this translation helpful? Give feedback.
-
Hello @t0mb080 , I will try to synthetize the case because this thread begins to be confusing. I forget the earlier message, and I will concentrate on the last one.
Is it correct until here ? If yes:
|
Beta Was this translation helpful? Give feedback.
-
ok. So, the set_hvac_mode is now called with off. Can you please check the attributes AFTER the auto-start/stop turns off and BEFORE you manually turn off. You should see:
What I though is that the VTherm was not off when you turn it off manually. That is the only explaination. |
Beta Was this translation helpful? Give feedback.
-
It seems my last comment was lost. In one word, ok I finally understand the case. The procedure was wrong till the beginning:
That is why I couldn't reproduce the case. We should not reset the saved_hvac_mode when turning_off because it is used to toggle the Vtherm state. But the correct solution is to check whether the VTherm was off due to auto-start/stop before turning it on again. I have created a new issue to fix that. |
Beta Was this translation helpful? Give feedback.
-
I love the new auto on/off functionality, seems like a great feature so I turned it on to try.
However, I'm seeing some very strange behaviour when my thermostats are meant to be off. They are controlled by the scheduler component recommended in the docs but now they seem to be turning themselves on and off randomly through the day, when they're meant to be completely off. Even stranger is that sometimes it turns on at random times in heat/cool mode when the scheduler only ever turns it on in heat-only mode. My questions are:
How do you tell the difference in state between the thermostat being off because it's been manually turned off, or turned off on a schedule versus when it's been automatically turned off by the algorithm and therefore might come back on again? Is this reported in the entity or sensor in some way? Without this it's quite hard to know what's going on.
Is there potential for some strange interaction between schedules and the auto on/off? Imagine you have auto on/off on, the thermostat turns on because it's scheduled, then it's automatically turned off by the algorithm, and then the schedule turns it off. If the thermostat is already off (from the auto algorithm) when the scheduler is meant to turn it off, does that mean it might automatically turn back on again even though it's scheduled to be off? Could this be the cause of the weird turning on and off I've been seeing?
Thanks to @jmcollin78 and anyone else that might be able to shed light on this.
Beta Was this translation helpful? Give feedback.
All reactions