Fault finder: Home MQTT broker on a Pi
7 checks for this build on the board. Work from the top: power first, then each part, then the code.
0 of 7 checked
Power🔧 DC volts, 20 V rangeCheck 1 of 7
board supply pin
Plug the board into USB. Black probe on a GND pin, red probe on the 5V pin of the board.
You should see: 4.6 to 5.3 V
Readings are compared with the ranges for this build's parts. A meter on the wrong range or a loose probe gives odd numbers: check those first.
Common faults in this build
Connection refused: what should I check?
Check allow_anonymous false, the password file path and that you supplied -u and -P.
Service fails to start: what should I check?
Run sudo journalctl -u mosquitto for the error, often a typo in the config file.
Cannot reach it from another device: what should I check?
Check the Pi's IP address and that listener 1883 is set.
Password file errors: what should I check?
Make sure the file is readable by mosquitto and rerun mosquitto_passwd.
