flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant
501 stars 59 forks source link

[FEATURE REQUEST] Change grid power to generator when generator power = true #642

Open northportio opened 1 month ago

northportio commented 1 month ago

Is your feature request related to a problem? Please describe. My power shows grid power consumption even when I am on Generator Power during utility outage

Describe the solution you'd like I would like the power flow to be re-categorized as Generator when generator power is on via home assistant sensor (ex: sensor.generac_output_power>0 or sensor.power_outage=true

Describe alternatives you've considered One solution is to physically run additional CT sensors to the transfer switch but that is outdoors and my main panel (where my CT sensors are) is indoors and quite involved to connect another line in existing conduit.

Additional context I have my power monitoring clamps at the head of my main panel (indoors). Upstream of that is the transfer switch for my generac generator. I cannot easily bring CT sensors to the transfer switch as it is outdoors. I have sensors in home assistant that connect with my Generator via MQTT see genmon.

I'd also like to add that via genmon MQTT, I get the live output power in watts, so we can switch the ct clamp sensors to the data coming from genmon.