Repository navigation
Replies: 4 comments 2 replies
|
This is because your temperature sensor only has 0.1ºC resolution. The actual temperature is somewhere between 18.7 and 18.8, so the thermometer is jumping between the two values. It's this rapid oscillation that is causing the slope to be unreliable. If you check the sensor entity options, you can try to increase the precision to 2 decimal places but this won't help if the underlying sensor doesn't report values with more than one decimal place. You can mitigate this by using a filter helper to smooth the temperature reading out. Use the moving average (timed based) and start off with it set for a few minutes. If it's not smooth enough, then increase the time slightly. |
|
Hello @gregorko , I can confirm what @caiusseverus said. The oscillation of the room temperature is the root cause of your issue. What is your temperature sensor brand ? If the filter don't work, you will have to change. There is good temperature sensor here: https://github.com/jmcollin78/versatile_thermostat/blob/main/documentation/en/presentation.md#thermometers Sonoff SNZB are very good for this ! |
|
@KipK because you use also slope for auto TPI, this discussion can be interesting. |

Uh oh!
There was an error while loading. Please reload this page.
Hello,
something behaves wrong with my temperature slope and causes the window detection feature in auto mode to trigger frequently.
I noticed this in a room with what I would call fairly stable temperature. The temperature goes up/down 0.1°C frequently but stays in a small range mostly between 18.7°C and 18.8°C over hours. Still the temperature slope jumps wild between +5°C/hour and -7°/hour.
This triggers the window detection routine frequently.
Any ideas what I can do about it and what causes the slope to jump so much on stable temperature?
All reactions