reinhard-brandstaedter / solarflow-control

A tool to automatically control Zendure's Solarflow hub with more flexibility to match home power demand
71 stars 12 forks source link

App not able to get IP causes it to not trigger hub updates #132

Closed mavo closed 8 months ago

mavo commented 8 months ago

Hi @reinhard-brandstaedter,

for some reason my container is not always able to connect to ìfconfig.me` causing it to not init properly as it seems. I have added my long/lat coordinates in the config, yet it does not help as it wants to connect to this service - even when not needed.

Log output:

2024-02-21 22:22:14,493:ERROR: Can't determine my IP. Auto-location detection failed

When this happens, I never see any output where it wants to ask the hub if it can contribute something. I saw this msg previously before I restarted the container in order to provide the output logs for the other issue I opened 🙈

Code in question seems to be this.

mavo commented 8 months ago

For some reason, it started to log outputs again... I don't understand 🤷

Maybe its just me not understanding when this output should be there or not 🤯