Comments (6)
Ok, I can confirm its related to some system update. I just ran updates on my second RPi (sudo apt-get update/upgrade
), and rebooted and now RPi Reporter is broken on my second RPi with the same error message as above.
2 of 3 down. I guess I won't update my 3rd RPi... ahhh :)
from rpi-reporter-mqtt2ha-daemon.
another thing I would like to mention is that if I stop the service and run the RPi Reporter manually, it actually works and updates every 2 minutes, for example:
pi@raspberrypi:~ $ python3 /opt/RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py
[2023-04-14 10:10:15] * NOTIFY: MQTT subscripton to raspberrypi/nodes/radon-rpi/command/radon-spi/+ disabled
[2023-04-14 10:10:15] * NOTIFY: * MQTT connection established
[2023-04-14 10:10:15]
[2023-04-14 10:10:16] Announcing RPi Monitoring device to MQTT broker for auto-discovery ...
[2023-04-14 10:10:17] Publishing to MQTT topic "raspberrypi/nodes/radon-rpi/sensor/radon-spi/monitor, Data:{"info": {"timestamp": "2023-04-14T10:10:16-06:00", "rpi_model": "RPi 4 Model B r1.2", "ifaces": "e,w,b", "host_name": "raspberrypi", "fqdn": "raspberrypi", "ux_release": "bullseye", "ux_version": "6.1.21-v8+", "ux_updates": 0, "up_time": "9 min", "up_time_secs": 540, "last_update": "2023-04-14T11:34:36-06:00", "fs_total_gb": 32, "fs_free_prcnt": 71, "fs_used_prcnt": 29, "networking": {"eth0": {"IP": "[redacted]", "mac": "[redacted]", "rx_data": 3923, "tx_data": 7984}, "wlan0": {"mac": "[redacted]", "rx_data": 0, "tx_data": 0}}, "drives": {"root": {"size_gb": 32, "used_prcnt": 29, "device": "/dev/root", "mount_pt": "/"}}, "memory": {"size_mb": 3794, "free_mb": 3483, "size_swap": 100, "free_swap": 100}, "mem_used_prcnt": 8, "cpu": {"hardware": "BCM2835", "model": "", "number_cores": 4, "bogo_mips": "432.00", "serial": "[redacted]", "load_1min_prcnt": 8.0, "load_5min_prcnt": 8.5, "load_15min_prcnt": 6.8}, "throttle": ["throttled = 0x0", "Not throttled"], "temperature_c": 37.0, "temp_gpu_c": 37.0, "temp_cpu_c": 38.0, "reporter": "ISP-RPi-mqtt-daemon v1.8.4", "reporter_releases": "v1.8.4,v1.7.2,v1.7.3,v1.7.4,v1.8.3", "report_interval": 2}}"
[2023-04-14 10:12:18] Publishing to MQTT topic "raspberrypi/nodes/radon-rpi/sensor/radon-spi/monitor, Data:{"info": {"timestamp": "2023-04-14T10:12:16-06:00", "rpi_model": "RPi 4 Model B r1.2", "ifaces": "e,w,b", "host_name": "raspberrypi", "fqdn": "raspberrypi", "ux_release": "bullseye", "ux_version": "6.1.21-v8+", "ux_updates": 0, "up_time": "11 min", "up_time_secs": 660, "last_update": "2023-04-14T11:34:36-06:00", "fs_total_gb": 32, "fs_free_prcnt": 71, "fs_used_prcnt": 29, "networking": {"eth0": {"IP": "[redacted]", "mac": "[redacted]", "rx_data": 149, "tx_data": 293}, "wlan0": {"mac": "[redacted]", "rx_data": 0, "tx_data": 0}}, "drives": {"root": {"size_gb": 32, "used_prcnt": 29, "device": "/dev/root", "mount_pt": "/"}}, "memory": {"size_mb": 3794, "free_mb": 3487, "size_swap": 100, "free_swap": 100}, "mem_used_prcnt": 8, "cpu": {"hardware": "BCM2835", "model": "", "number_cores": 4, "bogo_mips": "432.00", "serial": "[redacted]", "load_1min_prcnt": 6.0, "load_5min_prcnt": 7.8, "load_15min_prcnt": 6.8}, "throttle": ["throttled = 0x0", "Not throttled"], "temperature_c": 35.5, "temp_gpu_c": 35.5, "temp_cpu_c": 35.5, "reporter": "ISP-RPi-mqtt-daemon v1.8.4", "reporter_releases": "v1.8.4,v1.7.2,v1.7.3,v1.7.4,v1.8.3", "report_interval": 2}}"
from rpi-reporter-mqtt2ha-daemon.
Given I tested. .21 for RPL and it is the SenseHAT fix, mine are still working fine and have been for a eek or so.
Will check though.
from rpi-reporter-mqtt2ha-daemon.
interesting. Maybe its not related to .21 but something else to .21. Having 2 RPi down, something changed for sure.
from rpi-reporter-mqtt2ha-daemon.
@Anto79-ops I have updated a number of RPi 4's here and am not seeing any issues.
Since the errors you show appear to be access to temps can you please recheck that your daemon account has the correct permissions?
https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon#set-up-daemon-account-to-allow-access-to-temperature-values
(Since you can run interactively, it seems to be an issue with the Daemon account.)
from rpi-reporter-mqtt2ha-daemon.
hey! that was it. Problem is fixed after repeating those steps.
I wonder how that got reset?
thank you for your help.
Closing
from rpi-reporter-mqtt2ha-daemon.
Related Issues (20)
- I don't understand how can I get datas on HomeAssistant HOT 3
- Pip3 install requirements txt error HOT 7
- Sensor to report system uptime HOT 1
- Missing /etc/rpimonitor Directory HOT 1
- Bookworm causing "externally-managed-environment" error HOT 2
- problem starting: python3 /opt/RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py HOT 4
- MQTT connection error. Please check your settings in the configuration file "config.ini" HOT 9
- Update script HOT 6
- ERROR: No matching distribution found for apt>=0.7.8 HOT 5
- Would like the ability to connect multiple Rpi's to display in HA. HOT 7
- Add monitoring tempfs partitions (drives section) HOT 3
- Add EEPROM version for Pi4/CM4 (and any future ones that use it) HOT 1
- "Release" file out of date HOT 5
- TypeError: 'NoneType' object is not callable HOT 5
- change for non rpi- sensor names HOT 3
- python3 /opt/RPi-Reporter-MQTT2HA-Daemon/ISP-RPi-mqtt-daemon.py file HOT 5
- Improve instructions - RMTECTRL HOT 9
- No updates when running "in background" HOT 9
- Resubscribe to command topics when MQTT server restarts while service is active HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi-reporter-mqtt2ha-daemon.