Open
Description
On reboot I get the message that the logger failed to start and exceeded the maximum retry count.
I think it is because the pms is not yet ready.
I made the following changes to the startup script:
[Unit]
Description=Enviro+ MQTT Logger
After=network.target
StartLimitIntervalSec=60
StartLimitBurst=10
[Service]
ExecStart=/usr/bin/python3 /usr/src/enviroplus-mqtt/src/main.py <arguments>
WorkingDirectory=/usr/src/enviroplus-mqtt
StandardOutput=inherit
StandardError=inherit
Restart=always
User=pi
[Install]
WantedBy=multi-user.target
Metadata
Metadata
Assignees
Labels
No labels