-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem after reboot #115
Comments
Hey! https://github.com/ThomDietrich/miflora-mqtt-daemon#continuous-daemonservice |
The MQTT broker is on different server with different IP, but same LAN. The file is the last version. Ciao |
I see exactly the same after a (or any) reboot on my Rpi 3B:
When the service is started again, everything is normal again.
MQTT is running on another system. tia Han |
I added a wait in the service definition:
It looks like this delay helps. I guess the MQTT problem is caused by a service that has not fully started when miflora tries to use it. tia Han |
IMHO the daemon should wait for the MQTT server to become available and gracefully shutdown if it doesn't reach it within a certain timeframe. https://blog.miguelgrinberg.com/post/how-to-make-python-wait Happy to help if I can squeeze it in my busy schedule ;-) |
Hey, unfortunately I have the same problem. Suddenly it stopped working and I can't figure out why. The MQTT Broker (mosquito) is running on a different server inside my LAN and anther service is able to use ist. And even this great tool was able some days before. The log says only to check the config.ini but this is purely minimalistic. Is there any way to see what actually failed?
Can you help me? Ben |
Hi, I’m using miflora-mqtt-daemon on RPI 3B+ and I’m very happy with it ;)
Only I’ve got a problem after reboot of the RPI when the daemon doesn’t start. The error is:
I restart the daemon manually and it works well.
Can you help me?
Ciao
Stefano
The text was updated successfully, but these errors were encountered: