Skip to content

Instantly share code, notes, and snippets.

@miller45
Last active April 21, 2022 20:09
Show Gist options
  • Save miller45/d222800df195ced9338ee501fe71f4bb to your computer and use it in GitHub Desktop.
Save miller45/d222800df195ced9338ee501fe71f4bb to your computer and use it in GitHub Desktop.
Working SMA homeassistant config for modbus
# found in this forum https://community.home-assistant.io/t/modbus-data-from-sma-inverter/122425/79
- name: PV_Gesamtertrag
unit_of_measurement: kWh
slave: 3
address: 30531
input_type: input
count: 2
- name: PV_Leistung
unit_of_measurement: W
slave: 3
address: 30775
input_type: input
count: 2
- name: PV_Tagesertrag
unit_of_measurement: Wh
slave: 3
address: 30517
count: 4
data_type: int
- name: Netzverbrauch
slave: 3
address: 30865
unit_of_measurement: 'W'
count: 2
data_type: uint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment