Open luebbe opened 8 months ago
OK, that seems to be a bit more complicated. I just updated the raspberry 3B. Sudo apt update reported 44 available updates instead of the 29 shown by RPI-reporter. Now after running sudo apt upgrade, RPi-reporter still shows 29 available updates. Where does it get this value from?
https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/blob/4951bc918c4d889467c3386794d9e0730add4ed6/ISP-RPi-mqtt-daemon.py#L546 https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/blob/4951bc918c4d889467c3386794d9e0730add4ed6/ISP-RPi-mqtt-daemon.py#L1119 https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/blob/4951bc918c4d889467c3386794d9e0730add4ed6/ISP-RPi-mqtt-daemon.py#L1160
and right at the start where it checks for apt and a bit later where it sends.
Look at the bottom of the readme and run it in debug mode to see what it is seeing.
Thanks. I'll keep an eye on it. It still looks inconsistent here.
Checklist:
Release with the issue: v1.8.5
Last working release (if known):
Hardware, Operating System, Python version: I have four raspberries all running version 1.8.5 of RPi-Reporter:
Description of problem:
Only on one of them, the 3B, RPi-Reporter returns the number of available OS updates.
Json of the "monitor" topic of pi-sprinkler (ux_pdates=0)
Output of "sudo apt update" on pi-sprinkler
So in theory RPi-reporter should report 40 available OS updates. I guess it's a configuration problem, but I can't spot it. There is no obvious difference in the config.ini files between the machines. Only the mqtt hostname, base_topic and sensor_name are defined. All other options are at their default values (commented out). Maybe a permission problem?
Python errors shown in the logs (if applicable):
There are no erros shown on any of the devices.
Additional information: