Open dmshimself opened 6 months ago
I'm traveling thru the weekend. I'll look into this more deeply when I get back to my equipment. I provided the entry "sensor_name" in the .ini in case someone has a problem with hostname (fully qualified domain name, form) resolution. You found this setting and adjusted it correctly.
I've yet to understand why some setups have a problem with this. More when I get home.
Thanks for letting me know!
Safe trip back home!
On Thu, 14 Dec 2023 at 13:42, Stephen Moraco @.***> wrote:
I'm traveling thru the weekend. I'll look into this more deeply when I get back to my equipment. I provided the entry "sensor_name" in the .ini in case someone has a problem with hostname (fully qualified domain name, form) resolution. You found this setting and adjusted it correctly.
I've yet to understand why some setups have a problem with this. More when I get home.
Thanks for letting me know!
— Reply to this email directly, view it on GitHub https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/issues/122#issuecomment-1854909617, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUU52P7DNDL3GNS6O7OOTLYJJDNXAVCNFSM6AAAAABAT34SUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUHEYDSNRRG4 . You are receiving this because you authored the thread.Message ID: @.***>
Did you sort this, what's the config.ini contents?
Is a fix in the pipeline? The quick fix works as. Have manually {}==hostname.
Have two Rpi4 connected to HassOS. One Rpi is showing wrong sw_version. Both run the latest Dietpi.
Thank you for this program!
Checklist:
Release with the issue: 1.8.5
Last working release (if known): Not used before
Hardware, Operating System, Python version: Rpi B Plus, debian bookworm, python 3.11.2
When started I can see an entry called rpi-{hostname} created in the MQTT topic homeassistant/sensor/rpi-{hostname}/monitor
and there are similar entries for temperature, disk_used etc. But the sensor never makes it into home assistant, I suspect because {hostname} is not a valid HA/MQTT entry. When I manually changed the config to have sensor_name = rpi-corosync, the new entries got created and HA saw them just fine.
I suspect this is either a documentation issue, or the dereferencing of {hostname} on my box isn't right!
Run our report script 'genBugInfo' on your failing device and include the output here:
Python errors shown in the logs (if applicable):
Additional information: