Skip to content

Latest commit

 

History

History
63 lines (50 loc) · 2.93 KB

README.md

File metadata and controls

63 lines (50 loc) · 2.93 KB

Solaredge Homeassistant Modbus integration config

This is effectively a copy of: https://community.home-assistant.io/t/solaredge-modbus-configuration-for-single-inverter-and-battery/464084 with some additions of my own such as tariffs. All credit for the inital work goes to https://community.home-assistant.io/u/remko/summary I've just added to what was done by remko.

WARNING

DO NOT just blindly use this, there are some bits that might need tweaking for your setup. Please See Notes section below for bits I have thought of.. BEWARE the automations CHECK that they do what YOU want them to.

Pre-Req

Additional Installations:

On HA installation

  • Edit Configuration.yaml
homeassistant:
  packages: !include_dir_named packages
  customize:
    sensor.solar_imported_power_kwh:
      device_class: energy
    sensor.solar_exported_power_kwh:
      device_class: energy
    sensor.solar_panel_production_kwh:
      device_class: energy
    sensor.solar_panel_to_house_kwh:
      device_class: energy
    sensor.solar_panel_to_battery_kwh:
      device_class: energy
    sensor.solar_grid_to_battery_kwh:
      device_class: energy
    sensor.solar_battery_out_kwh:
      device_class: energy
    sensor.solar_battery_in_kwh:
      device_class: energy
    sensor.solar_house_consumption_kwh:
      device_class: energy
    sensor.solar_battery_to_grid_kwh:
      device_class: energy
  • Copy the packages dir from this repo to /config on your home assistant installation

Notes

Helper scripts (NOT Homeassistant scripts)

  • tariffSwitchGen.py - This script reads the file containing all the utilities utility_meter: and then it will create yaml for the automation to switch your tariffs python3 ./tariffSwitchGen.py packages/energy_utilities.yaml packages/electricity_tarriff_automations.yaml