rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

OpenWeather API call crash (curl error) #202

Open fernplant opened 5 months ago

fernplant commented 5 months ago

I had a working install on a RPi 4 but have migrated to a Proxmox setup. I really like the simplicity of sprinklers_pi so I got it running inside an LXC (all irrigation valves are triggered by remote ESP8266s). Everything is working well now except when a weather call is made the program crashes. Log is unfortunately not helpful but says:

2024/06/28 04:12:35 Get Today's Weather 2024/06/28 04:12:35 curl error output:

I then have to manually restart the service. Ive confirmed the LXC container can contact the outside world

Any tips on how to further troubleshoot? Thanks much

nhorvath commented 5 months ago

Openweather is turning off the api that we use. There's a branch with the changes to the new api but I haven't had time to validate that the weather is working properly.

On Fri, Jun 28, 2024, 6:19 AM fernplant @.***> wrote:

I had a working install on a RPi 4 but have migrated to a Proxmox setup. I really like the simplicity of sprinklers_pi so I got it running inside an LXC (all irrigation valves are triggered by remote ESP8266s). Everything is working well now except when a weather call is made the program crashes. Log is unfortunately not helpful but says:

2024/06/28 04:12:35 Get Today's Weather 2024/06/28 04:12:35 curl error output:

I then have to manually restart the service. Any tips on how to further troubleshoot? Thanks much

— Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIJXFKOY7WIAE7RUTOM2DZJTP65AVCNFSM6AAAAABKBDLNCGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TSNJTG44DMMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

damgut commented 5 months ago

@fernplant: See https://github.com/rszimm/sprinklers_pi/issues/200 and https://github.com/rszimm/sprinklers_pi/issues/201

fernplant commented 5 months ago

Thank you both. I guess it was coincidence this happened just as I migrated systems, weird. Ill keep weather off for now but hope for a fix. Thanks again