ironsheep/RPi-Reporter-MQTT2HA-Daemon

Entities created on Home Assistant are not consistent

cagriy opened this issue · 2 comments

cagriy commented

Checklist:

  • [x ] I updated to the latest version available
  • [x ] I checked that my MQTT broker is otherwise working

Release with the issue:
v1.8.5
Last working release (if known):
First time install
Hardware, Operating System, Python version:
Pi Zero W
Linux version 5.10.103+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1)
Python 3.7.3

Description of problem:
Possibly I am making a mistake !

When I run the reporter it gets all the metrics correctly and from the command line output it sends a single MQTT message to HA with all the entries under "info" key.

However on HA I see 5 entities: disk, memory, cpu, temp and one called monitor with everything in it.

Especially because host_name also stays in the "monitor' entity, the monitor card complains that there is no host_name entity available.

I am trying to understand how disk, cpu, memory and temp are correctly extracted but not the rest of the metrics.
Screenshot 2023-11-16 at 16 27 26

Run our report script 'genBugInfo' on your failing device and include the output here:


Python errors shown in the logs (if applicable):


Additional information:

bsimmo commented
cagriy commented

Hi @bsimmo , all sorted, thank you.