Errors after starting rpi-mqtt-monitor.service #188
kokomatamata
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi:

When I start rpi-mqtt-monitor.service, I see the following error after running: sudo systemctl status rpi-mqtt-monitor (screenshot attached).
I'm not sure if my rpi-mqtt-monitor.service file is incorrect (apologies, I'm not very experienced with this):
#######################################
[Unit]
Description=RPI MQTT Monitor
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/home/bdd1/rpi-mqtt-monitor/rpi_mon_env/bin/python /home/bdd1/rpi-mqtt-monitor/src/rpi-cpu2mqtt.py --service --hass_api
Environment="HOME=/home/bdd1"
WorkingDirectory=/home/bdd1/rpi-mqtt-monitor
StandardOutput=inherit
StandardError=inherit
Restart=always
RestartSec=5
User=bdd1
[Install]
WantedBy=multi-user.target
#######################################
However, when I start the program manually using "rpi-mqtt-monitor -d", I can see topics being sent once to Home Assistant, and the following output appears in the terminal:
#######################################
:: rpi-mqtt-monitor :: v 1.1.2
:: Device Information
Model Name: Raspberry Pi Zero W Rev 1.1
Manufacturer: Raspberry Pi
OS: Raspbian GNU/Linux 12 (bookworm)
Hostname: raspberrypiw
IP Address: 192.168.1.23
MAC Address: B8-27-EB-EF-A3-DC
Service Sleep Time: 2 seconds
Update Check Interval: 3600 seconds
:: Measured values
CPU Load: 27.0 %
CPU Temp: 40.62 �C
Used Space: 22 %
Memory: 49 %
Online since: 2025-02-12T23:18:42Z
Wifi Signal: 100 %
Wifi Signal dBm: -33 dBm
:: Installation directory :: /home/bdd1/rpi-mqtt-monitor
#######################################
How can I fix this issue? Thanks in advance! Also, I appreciate your work on this project.
Beta Was this translation helpful? Give feedback.
All reactions