odya / esphome-powmr-hybrid-inverter

ESPHome config for various PowMr Hybrid Inverter models.
MIT License
67 stars 10 forks source link

Suggested Revisions and Additional Sensors #39

Closed Roving-Ronin closed 2 months ago

Roving-Ronin commented 2 months ago

Hi @odya Here's a bunch of changes that you'll find handy, adding in a number of sensors and also tidying up the code to use more 'substitution' section references. Apart from Energy / Power sensors being added it also adds sensors for the ESP and telling when it was updated (in readable format, not 34590565 seconds format).

Also included some common files in /esphome/include that can be called to create a number of these sensors.

Notes:

The example card for SunSynk also needs to be updated, as it currently refers to Telsa Powerwall entities (nothing to do with Inverter = PowMr), and these then need to be published to SunSynk documentation (or update that to point to your examples file instead).

Roving-Ronin commented 2 months ago

Added yaml for creating utility_meter for daily/weekly/monthly/yearly tracking of kWh in Home Assistant.

Roving-Ronin commented 2 months ago

@odya Example card updated to use PowMr sensors.

Roving-Ronin commented 2 months ago

@odya FYI SunSynk repository has a PULL lodged to include PowMr example in their documentation and link to this repository. See https://github.com/slipx06/sunsynk-power-flow-card/pull/387