Replies: 1 comment 10 replies
-
Hello @ms5 , By doing this you are cheating with the TPI algorithm and then you will not be able to reach your target temperature. My advice: change the faulty thermostat. I consider asking to change an algorithm because of a faulty equipment is a very bad way to fix an issue. So, you understand, I will not integrate this. Of course you can keep your fork if you want. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking for a solution to force the thermostat OFF at the end of each cycle for some time. I currently have Legrand analog wall thermostats installed and they work with a PWM where after each cycle the relais stays off for some time. On the Legrand thermostats this is not really configurable, but I was able to measure what happens and the intervals by connecting a shelly to the thermostat and watch it for some time.
I thought about how to achieve this and a very easy solution that I came up with, is to multiply the calculated ON seconds with a configurable multiplicator to limit the max. ON time to a certain amount per cycle. Here an example: The cycle is set to 10min, the multiplicator is set to 0.75, if VT calculates an on time of 100% = 600seconds, this is then multiplied by 0.75 so we get 450seconds ON time and 150seconds OFF time.
I have attached a little graph that show in red the ON time and in blue the min. forced OFF time. The example uses the above parameters.
I tested this solution over the last weekend and it seems to work very well. For my example (to replace the Legrand Thermostats) I used a cycle of 10min, a min activation delay of 3min and a multiplicator of 0.6. This gives me an ON time for a heating cycle between 3 and 6 minutes and at least 4min OFF at the end of each cycle. The times still vary depending on the calculation, but at least 4min OFF at the end of each cycle are guaranteed.
I have made a POC of this that can be found here: https://github.com/ms5/versatile_thermostat/tree/output_time_modifier
The configuration can be made globally in
configuration.yaml
I would like to get some inputs and hopefully get this integrated.
Beta Was this translation helpful? Give feedback.
All reactions