ironsheep / RPi-Reporter-MQTT2HA-Daemon

Linux service to collect and transfer Raspberry Pi data via MQTT to Home Assistant (for RPi Monitoring)
GNU General Public License v3.0
474 stars 64 forks source link

Daemon fails if it cant contact http://kz0q.com/daemon-releases #152

Open martinjones12345 opened 6 months ago

martinjones12345 commented 6 months ago

Checklist:

Release with the issue:

Last working release (if known):

Hardware, Operating System, Python version:

Description of problem: When running the daemon the daemon fails to start due to being unable to contact http://kz0q.com/daemon-releases

Commenting out this code solves the issue "#getDaemonReleases() # and load them!"

Can this be disabled in config and/or at the very least allow the get latest releases to gracefully fail and still allow the reporter to work

Run our report script 'genBugInfo' on your failing device and include the output here:

Python errors shown in the logs (if applicable):

Additional information:

martinjones12345 commented 6 months ago

Sorry just found this is already reported as an issue but for other reasons. I echo the need to allow this to gracefully fail or disable it in its entirety

kali-777 commented 2 weeks ago

FYR FIX here Just change https:// in /opt/RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py 😎