You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for the basic settings says "If multiple devices are linked to the same VTherm, specify the total maximum power of all devices here".
But I've noticed that my energy values was way too high compared to what it should be.
Example graph:
The device power (total for 2 heaters) is 3kW, so the energy value would be at 15kWh if the heater was on non-stop for 5 hours. But you can see in this graph that it reached 15kWh after 5 hours while being on only about half the time.
I think I've found why:
I've checked the code a little bit, and I've found that the call to incremente_energy()is done in the UnderlyingSwitch class, which means that it is called separately for each underlying switch. So in my case, it's called twice (one for each switch), so the energy value is double what it should be.
So either the documentation is wrong and we should put as the device power be the average device power between all the heaters used, or the incremente_energy() should divide the added energy by the number of switches used before adding it to the total.
I hope I was clear :)
Thanks!
The text was updated successfully, but these errors were encountered:
I also just noticed that when manually stopping a cycle (by changing to a different preset for example), the energy used in the previous cycle is not added to the total. Given that you don't seem to store the date/time of the start of a cycle I'm not sure you could simply fix that.
I just found out about this custom component to track energy use from switches, so I'm just going to use that instead, since I can use it on other things than just heaters it will be probably simpler to setup.
Hello!
Version of the custom_component
7.1.6
Configuration
My VTherm attributes are the following:
Describe the bug
The documentation for the basic settings says "If multiple devices are linked to the same VTherm, specify the total maximum power of all devices here".

But I've noticed that my energy values was way too high compared to what it should be.
Example graph:
The device power (total for 2 heaters) is 3kW, so the energy value would be at 15kWh if the heater was on non-stop for 5 hours. But you can see in this graph that it reached 15kWh after 5 hours while being on only about half the time.
I think I've found why:
I've checked the code a little bit, and I've found that the call to incremente_energy() is done in the UnderlyingSwitch class, which means that it is called separately for each underlying switch. So in my case, it's called twice (one for each switch), so the energy value is double what it should be.
So either the documentation is wrong and we should put as the device power be the average device power between all the heaters used, or the incremente_energy() should divide the added energy by the number of switches used before adding it to the total.
I hope I was clear :)
Thanks!
The text was updated successfully, but these errors were encountered: