batpred
batpred copied to clipboard
Predheat weather compensation clarification
Hello,
Seeking a point of clarity around predheat weather compensation and how to include in apps.yaml.
I have copied in the list from the documentation and adjusted for my system. However in the Web interface on the apps tab it shows the below, the “None” makes me think it isn’t configured correctly.
Thanks
Seeking a point of clarity around predheat weather compensation and how to include in apps.yaml.
I have copied in the list from the documentation and adjusted for my system. However in the Web interface on the apps tab it shows the below, the “None” makes me think it isn’t configured correctly.
Include your apps.yaml so we can advise?
Otherwise, just guessing from a screenshot ....
The screenshot was to pinpoint why I think something isn’t working as I had understood from the documentation.
My apps.yaml for that part follows the documentation; I copied it in and adjusted temperatures. Given it is a very small part of a large file it is as follows;
weather_compensation: -20: 41.0 -10: 37.0 0: 33 10: 28.0 20: 22.0
My GitHub skills fail me in keeping the formatting correct. Again I copied from the documentation so the indenting is correct and as the screenshot shows is being ingested by predheat but perhaps not being actively used.
I'm sorry I can't help any further. It does sound like a configuration issue.
You have correctly formatted the one line from your apps.yaml in github, but without seeing the logfile and the whole apps.yaml I can't understand what's happening. I personally have never used predheat within predbat so am not all that familiar with it.
I suggest checking the logfile to see if predheat is executing, and whether there are any error messages there.
Have you listed it as a single line as shown, or across multiple lines?
Mine looks like this, with each temperature on its own line (and seems to be working)
weather_compensation:
-20: 45.0
-16: 45.0
-3: 45.0
10: 34.0
15: 28.0
17: 25.0
20: 20.0
Furthermore, have a look in the logs. You should see a message stating the calculated weather compensation in use:
e.g.
39600 2025-11-15 20:31:43.477887: Predheat: Weather compensation {-20: 45.0, -19: 45.0, -18: 45.0, -17: 45.0, -16: 45.0, -15: 45.0, -14: 45.0, -13: 45.0, -12: 45.0, -11: 45.0, -10: 45.0, -9: 45.0, -8: 45.0, -7: 45.0, -6: 45.0, -5: 45.0, -4: 45.0, -3: 45.0, -2: 44.1538, -1: 43.3077, 0: 42.4615, 1: 41.6154, 2: 40.7692, 3: 39.9231, 4: 39.0769, 5: 38.2308, 6: 37.3846, 7: 36.5385, 8: 35.6923, 9: 34.8462, 10: 34.0, 11: 32.8, 12: 31.6, 13: 30.4, 14: 29.2, 15: 28.0, 16: 26.5, 17: 25.0, 18: 23.3333, 19: 21.6667, 20: 20.0}
If that's correct, it might just be a GUI bug.
OK. I’m not getting that line in the logs.
It is in a list on separate lines, the indentation may have been one space missing for the list. I’ve just edited land will report back.
Any update?
Sorry, yes. It is working now, it must have been the indent being one space out.