Raspberry Pi MQTT monitor

Does this MQTT monitor work with 64 bit raspberry pi os? I have it installed on two RPI 4’s with the 32 bit os. But I cannot get HA to see anything from my RPI4 with the 64 bit os installed

Yes i run it on rpi5 with 64bit os w/o problems.
What is the issue you are facing?

I have tried doing this but failed. If somebody with more docker experience is willing to help maybe its possible

Hi everybody, I installed on Raspberry Pi 4b and the CPU load is not accurate (above 100%) and the uptime is like 5hours late… Do you have an idea? (I’m very very a huge noob) So an easy easy way to fix that please?

I saw some comments explained that there is a division to do with the CPU’s Cores… But how to know how many cores do my CPU have and is there a way to put that number somewhere for the system automatically divide and show the CPU load fixed?

Hi everyone,

I’'ve started adding little bits and pieces of my home network into HA. I saw this and thought it’d be a good way to get my raspberry pi stats into HA. My HA running on a HA Green, so they are separate devices.

It seems I’m having trouble with the basics. I installed it via the curl command, which worked fine, but I ran into indecision with the installation script.

I chose to use the HA API and entered the localhost address and made a new API Token. Then I selected to make it a cronjob.

Then nothing. I’m not seeing anything discovered in HA. Am I skipping a step?

Then I thought I should have selected MQTT, so I went into config.py and entered my MQTT information. Is there a selection to turn on MQTT rather than the HASS API?

Appreciate any direction you can steer me in. I feel like I’m missing something straightforward.

EDIT: I looked through the mqtt broker log and found that the pi was attempting to connect but credentials weren’t right. Apparently I was using the generic user name and the wrong password. Re-ran the install script, chose MQTT, put in an active user and password, and now it shows up perfectly. Then went back and removed the cron job. Is there a way to rerun the initial config script, without reinstallation?

Okay, I spoke too soon. I can get HA to accept the first request, but every following broadcast to the MQTT broker is rejected, so there are no updates posted.

2025-03-18 07:55:41: New connection from 192.168.1.10:33291 on port 1883.
2025-03-18 07:55:41: Client rpi-mqtt-monitor-DietPi1742309766 disconnected, not authorised.
2025-03-18 07:55:44: New connection from 192.168.1.10:42871 on port 1883.
2025-03-18 07:55:44: Client auto-CC7F5E60-1E46-ED43-483B-B1E26583A9A1 disconnected, not authorised.
2025-03-18 07:57:42: New connection from 192.168.1.10:51025 on port 1883.
2025-03-18 07:57:42: Client rpi-mqtt-monitor-DietPi1742309887 disconnected, not authorised.
2025-03-18 07:57:44: New connection from 192.168.1.10:34319 on port 1883.
2025-03-18 07:57:44: Client auto-BD3856ED-7E6B-A390-0416-430EA24AF7D4 disconnected, not authorised.

Every 2 minutes, as would be expected, the broker receives but then refuses as unauthorized, the mqtt broadcasts from the pi

I’m also curious why there are 2 different connections sent from the pi?

EDIT: Found this, maybe related

Is there any update so this will run on a Pi5 ?

The script is running fine on rpi5, it even have a sensor for the fan (the sensor needs to be manually enabled in config.py)

I had similar issues and they were due to the mqtt broker configuration, check this post and see how the broker is configured How to Install Mosquitto Broker on Raspberry Pi - blog.masoko.net

I have fixed these bugs, if you install or update now it should be OK

Thanks for the link. I have mosquito broker installed via an add-on on my HA Green. Unsure how to extrapolate the settings on that link to the HA Green’s install.