-
Checklist
Version1.19.03 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'm very new to Genmon (Just got it setup this week) I've been reading on it for months now though. Sensors will not pull up from mqtt on their own but when I use the .yaml they do but they say they're "unavailable" I was hoping someone may be able to point me in the right direction?? I appreciate any help/feedback anyone can give. Thank you!!! Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 66 replies
-
|
This thread may be of some use. I personally do not use Home Assistant, but hopefully some of the other users who do can reply. |
Beta Was this translation helpful? Give feedback.
-
|
Hey tswillette, did you get this working in HA? I've banged my head against the wall on this one. I have MQTT server running fine in HA, the MQTT service is correct on GenMon, and I can use MQTT explorer to see the posted discussions to my HA MQTT server. This is where it breaks down for me. I just can't get any sensor information to show up in HA. I've tried using that same "Drizzay" YAML from the HA threads but it's been unsuccessful for me. I made sure to remove the root 199191 (or whatever it was) from my YAML as well. Again, if you got this working, I'd love to know how you crafted the YAML. |
Beta Was this translation helpful? Give feedback.
-
|
This is great and helping me dial it in. My biggest disconnect was why I wasn't seeing these messages published in the HA MQTT broker log. I just saw the initial "MQTT-USER" login. Also the MQTT integration didn't show any devices like it did with my Govee setup. Regardless, I went ahead and wrote in your YAML and noticed that I WAS GETTING SOME INFO! I had to revamp some of your cards, especially the hui-element since it was deprecated. So I'm still getting unknowns on a lot of the data, I've restarted HA and genmon several times. I'm guessing its something to do with the Genmon MQTT settings. What is your blacklist filter like? Root topic is 'mygen' I'm guessing. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks JG! I’ve removed everything in my black list filter as well as set the flush to 1800. I’ve managed to get everything except my battery and Genmon version populating My HDR washed out my last photo so here it is now from mobile. Almost there! |
Beta Was this translation helpful? Give feedback.
-
|
Late to the party but hope someone can help. I am trying to get this working and have figured out that apparently none of the genmon info is actually being passed. I get generator info but genmon version, Pi temp, CPU, network info, etc are reported. Any idea why? |
Beta Was this translation helpful? Give feedback.
-
Still working on fine tuning the layout but this is what is working for me today. https://pastebin.com/g4bqmfvA My Pi is on eth0. Any thoughts on what to put in place of the WiFi? |
Beta Was this translation helpful? Give feedback.
-
|
Got it. Had to add a sensor so the configuration yaml info changed as well. Changed the formatting a little so it fits nicely in 2 columns on a bigger screen. Still not sure to do about WiFi since I don't use it.
Configuration of sensors for configuration.yaml: https://pastebin.com/Th6tpyuT |
Beta Was this translation helpful? Give feedback.
-
|
For any future readers, I have put together some instructions for pulling in genmon's mqtt feed into home assistant as well as an updated yaml file defining the entities here: https://github.com/jterrace/genmon-ha-yaml |
Beta Was this translation helpful? Give feedback.
-
|
For anyone else looking for Home Assistant MQTT configs, please consider also having a look at mine. I've looked at and tried all of the existing popular configs and none of them worked well for me, so I took the best parts of each and made my own, with extra sensors and even better icons :D |
Beta Was this translation helpful? Give feedback.
-
|
Home Assistant Discovery implementation is ready for testing. To switch your genmon installation to try it, enter the root directory of genmon and run: git remote add jterrace https://github.com/jterrace/genmon.git
git fetch jterrace
git switch -c mqtt-ha-discovery jterrace/mqtt-ha-discoverythen restart genmon with: sudo ./startgenmon.sh restartTo revert: (then restart) Then in the mqtt addon settings, enable "Home Assistant Discovery". You also must enable "JSON for Numerics" and disable "Numeric Topics". I also recommend enabling "Retain Data". The device will show automatically in home assistant with "Genmon {SiteName}" where "{SiteName}" is pulled from your site name configuration in genmon. All entities being published are automatically added into the device, and the "availability" works correctly. I tested it: if genmon is offline, all entities become "unavailable". @inventor7777 please have a try when you have a chance - I also integrated your icons from your repo. If I can get at least one other person to test it, I'll send out a pull request to integrate into genmon. |
Beta Was this translation helpful? Give feedback.
-
|
The external data functionality is described here. Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
-
|
I should have checked here first to make sure I wasn't duplicating efforts. However hopefully you enjoy the fruit of my labor. #1360 |
Beta Was this translation helpful? Give feedback.
-
|
In case anyone is interested I also built this lovelace card for HomeAssistant that will automatically pickup your the generator info that this GenMon addon provides. https://github.com/jtubb/generator-hmi-card
|
Beta Was this translation helpful? Give feedback.









@jgyates it was definitely the blackllist filter. Now to figure out what I can turn back on!