Replies: 2 comments
|
This looks like a known weak spot in how genmon's MQTT discovery handles text based (non numeric) sensors. In a related discussion on this repo, a contributor noted that "Service A/B" and similar text based values aren't published cleanly as JSON the way numeric sensors can be, and the maintainer agreed it's a genmon-side issue that hasn't been fully addressed yet. Your "119 hrs or 10/06/2026" values are exactly that kind of compound string - a number+unit and a date stitched together with "or" - which is more fragile to publish/parse correctly than a plain number. The fastest way to pin down exactly where it's breaking: check the raw MQTT payload genmon is actually publishing for one of those topics, independent of Home Assistant. You can do this with
That raw payload check will tell you definitively which side to focus on, and either way it'll give the maintainer something concrete to act on if you open an issue. |
|
Thanks Dave, that was great. I listened to the service a due topic ("genmon/sensor/service_a_due/state") and found the payload is correct ("119 hrs or 10/06/2026"), but now the entities in Home Assistant are correct too (yay!). On the other hand the other service due entities (generator_battery_service_due, generator_filter_service_due, etc.) are only showing values of "or" still, and I have been unable to locate the exact topic name to view the raw payloads coming in from MQTT. Do you have any suggestions for where I can find the topic names? I tried guessing based on the naming convention of the service A topic and the corresponding entity names in HA for the other service due entities, but nothing was returned, even after hours of listening. I also tried listening to "homeassistant/sensor/generator/#", but it returned 117 messages quickly and the UI in Home Assistant only lets me see the most recent 30 messages received, none of which were related to the other service_due topics. "genmon/sensor/+/state" also returns 100+ messages, none of which are the other service_due topics either. :/ |
Uh oh!
There was an error while loading. Please reload this page.
Checklist
Version
2.0.1
Have you submitted your log files from the About page? Note that outbound email must be working for logs to be submitted.
I have not submitted logs
What is/are your question(s)?
I installed "Home Assistant MQTT Discovery" on the Pi that runs Genmon so I could pull its reporting into Home Assistant. This created 117 entities and most work great after I got it connected to my Mosquitto Broker app in Home Assistant.
However, the 6 "service due" entities ("Battery Service Due" and "Service A Due", for example) all have values that just say "or". When I look in the Genmon's (port 8000) site, it shows the Service A and B Due values properly as something like "119 hrs or 10/06/2026", so my guess is that Home Assistant just isn't parsing those values with an "or" on them properly.
Does anyone know why this is and if there is a fix for it so I can see actual dates from these entities/sensors in Home Assistant?
Many Thanks!
Additional information
I have a Liquid Cooled Generac RG04854ANAX, with Evolution 1.0 controller from 2018.
All reactions