github PeterH24x7/-Solar-Analytics-integration-for-Home-Assistant-Energy-monitoring v9
Release 9 - new battery configuration, import/export in history, last5min attributes and more

latest release: v10
16 months ago

This update has been available on github for a couple of weeks and the yaml code is stable and unchanged.
Developed with help from @ooftee and @Roving-Ronin.

Non breaking updates are as following.

NEW solar_analytics_battery.yaml configuration

This configuration includes a range of battery related energy sensors in lieu of the load sensors.

  • Total Energy Consumed (modified) - household including battery in/out energy (not very useful)
  • Total Energy Consumed Home - household excluding battery in/out energy
    • Total Energy Consumed Home Imported - consumed household energy that was imported
  • Total Energy Exported Generated - generated energy that was exported
  • Total Battery Storage Energy Input
    • Battery Storage Energy In Imported
    • Battery Storage Energy In Generated
    • Battery Storage Energy In Generated Percentage
  • Total Battery Storage Energy Output
    • Battery Storage Energy Out Exported
    • Battery Storage Energy Out Consumed
    • Battery Storage Energy Out Consumed Percentage
  • There are also a range of new power sensors:
    • Power Consumption (modifed) - household power including battery in/out power.
    • Power Home Consumption - household power excluding battery in/out power.
    • Power Battery - power into (-ve) and out of (+ve) the battery.

See example dashboard example-dashboard-solar_analytics_battery.jpg

General code changes

Both applicable to existing and new battery related yaml code:

  • Added new history sensor - sa_data_by_5min_history_imported_exported. Included as new attribute in sa_todays_energy_history. See example example-apex-chart-card-solar_analytics-power.jpg.
  • Modified sa_data_by_5min_history_energy_generated to only include +ve values.
  • Minor code redo to align with solar_analytics_battery.yaml functioning.
  • Added last5min energy attribute to sa_todays_xloadx_total and sa_todays_energy_imported/exported sensors. Units are Wh.

For more information about all the sensors and their usage see solar_analytics_sensors_notes_v9-13Feb25.pdf

If you find my work useful, please buy me a coffee ... thank you! https://www.buymeacoffee.com/peter24x7


This discussion was created from the release Release 9 - new battery configuration, import/export in history, last5min attributes and more.

Don't miss a new -Solar-Analytics-integration-for-Home-Assistant-Energy-monitoring release

NewReleases is sending notifications on new releases.