Open KeithB opened 2 weeks ago
So you have configured ha_url as homeassistant.myhouse.io? I suggest just changing that to the IP address to avoid the DNS?
Added this tip to the documentation
So you have configured ha_url as homeassistant.myhouse.io? I suggest just changing that to the IP address to avoid the DNS?
Correct, ha_url is (and always has been since install I think) a domain name rather than IP address. Doesn't affect this scenario but I have nginx sat in front of most things to simplify https connections when the majority of self-host software defaults to http. In this case, nginx deals with the forwarding to HA on port 8123.
I agree there are several ways to solve it from a DNS perspective (use IP making sure it's static, adding an entry to /etc/hosts, changing PiHole/Adguard abuse block thresholds etc.) but I still see it more as a workaround.
The things that came to mind were
Describe the bug Predbat stops it's standard cycles of refreshing the plan after 8 hours uptime. Restart of Predbat required to fix.
Root cause seems to be a DNS lookup failure - interestingly, what is also a repeat behaviour is the cause of the failure. Pi-Hole adds a temporary block because the container has done 1,000 DNS lookups in the space of 60 second. Pi-Hole reconfigured to 5,000 to see if this helps as a workaround.
Expected behavior Predbat continue to make plan updates.
Predbat version 8.1.1
Environment details
Screenshots
Log file Following error is seen then nothing but a repeat of the refresh config entities log.