Monitor your Generac generator with Home Assistant

I only have record of the last 49 power outages; my last one was yesterday for 1hr 11min 47sec…there is a reason I have a generator.

Once you have your generator input in to HA, then you can start working on automations based on power outages.

Actually looking at that; I don’t have “Start Stop Log”; however your might want to pull in “Alarm Log”, “Run Log” and “Service Log”.

I don’t pull in everything and every now and then an update pushes more stuff. Under “Generator Monitor Stats” there is an “Update Available” which I pull into HA to alert me when an update to GenMon is available. I can probably say I was the very first to use that, since I requested it and worked with the dev to get as an MQTT topic.

Look up above and you can find mine and other’s Canvas Gauges for GenMon. They, in my opinion, make HA look so much better for displaying info with gauges.

Speaking of automations, I’d like to turn off the CPU Fan when the CPU temp is 65F or less.
My HA dials look a little shabby. I’ll check the Canvas Gauges next week. Thanks!

My first monitored power outage: (Genmon Dashboard) (1 minute, 23 seconds)

My hardware setup: https://imgur.com/a/96o8ZFy

I added:

 `state_class: measurement`

to

  • Genmon Mon CPU Temperature Raw
  • Generator Output Power

for easier “graphing”, e.g.:
20221230 Genmon Outdoor vs CPU Temp

I added

    sensor.genmon_mon_update_avail:
      friendly_name: 'Generator Monitor Update Available'

and

    - name: Genmon Mon Update Available
      unique_id: "baf99a20-b9c0-4f3b-ac25-8dedf82831ab"
      expire_after: 300   # genmon MQTT flushes out MQTT updated every 60 seconds
      state_topic: 'Home/generator/Monitor/Generator Monitor Stats/Update Available'

to the “package” so that I can easily keep track of Genmon code updates:

I also display the Genmon Firmware Version just in case the Generac Service Tech updates the firmware without alerting me ahead of time.

arg…you just added to my to-do list. I have just binary sensors for my updates, mostly Docker images. But I have GenMon update binary also, as I should since I’m the one that requested that specific MQTT topic for updates.

I like like pictures, I do this already for packages and cameras, but never thought about for updates.

1 Like

I didn’t include the images, that is a property of the “update sensors”. (I’m not that good at this)
e.g.: update.duck_dns_update

Folks i bought all the parts couple years ago but never went through with genmon.
I am now in a new house with 24Kw Generac on firmware 1.15.176 with WiFi module.
Did generac ever encrypt evo 2.0 modules or i can go ahead and connect to port 1?

https://github.com/jgyates/genmon/issues/865

Yes, but you will get errors every 8 mins or so at this point in time.

Is the 8 pin connector under the green sticker as shown in this photo? Processing: IMG_1542.dng…

Also I’m assuming GenMon will still work, with some errors, on a 22kW running firmware v1.15.176 - but showing errors about every 8 minutes that can be ignored. True?

Yes, that looks like where the connector is, from memory.

The periodic errors that you see are likely due to more recent versions of firmware “encrypting” the MODBUS exchange somehow. The genmon software grew some sort of workaround for that that and I believe it manifests as these periodic messages. I have an older controller that I’ve not updated to the version that started this, so I’ve not experienced this aspect first-hand.

Also note that on the 22kw version (or at least on mine) the power generation numbers (and current) can be garbage as that generator might not have the current transformers fitted to do the measurement. The lower power generators have the CTs installed to prevent the engine from overloading the generator component in the genset. Apparently it’s the same sized engine across a family of generators, and the lower power ones just have a smaller generator component tied to the engine. Or so I’ve read somewhere.

In case anyone needs it and has mobile link set up for their generator, I ported an openhab integration to home assistant. It can be installed by using GitHub - bentekkie/ha-generac: A custom integration for home assistant for generac and honeywell generators as a custom repository in hacs. It worked for my honeywell/generac 22kw generator, please send bug reports if it doesnt work for you

4 Likes

I had a sticker but no port underneath so I ended up using the wifi module port instead.

Does anyone know of a guide from start to finish? Going down this road now but don’t really want to follow from the start of the thread in 2018

1 Like

This is awesome! Gonna try this today.

The genmon wiki has all the info needed. Its not laid out well but as you work through it, it starts to make sense.

Has anyone ever done anything with the Generac solar system and batteries and Home Assistant? They charge a monthly fee to set up battery/grid feed/etc., priorities but it’s then static. I’d like to be able to change my settings and automatically switch between keeping the batteries charged, priority backup, what happens when islanding, etc. and tie to local day/night cycles, seasons, and even weather patterns to optimize my settings. I’ve found virtually nothing about using Home Assistant with a solar system. Anyone know where I might be able to get some info?

1 Like

@Danny2100 Can you share a photo of this? Thanks!

Here you go.

I plugged the cable into port 1 as port 2 is empty.

Thanks for your work on this Ben! The instructions were easy to follow and the integration works great with HA and my Generac 22kw unit. Looking forward to using it for various automations and it’s nice getting so much more info than the ML app provides and without going all-in with a GenMon installation.