The local_sofar_inverter
component is a Home Assistant integration that creates custom sensors for local monitoring your Sofar inverter.
It reads data from your inverter page, so you dont need to connect to any 'cloud'
Returns:
My 1st HA component so be polite :)
custom_components/local_sofar_inverter
directory
into the custom_components
directory of your Home Assistant installation.local_sofar_inverter
platform in your configuration.yaml
.Parameter | Required | Description |
---|---|---|
host |
Yes | IP of your inverter |
name |
No | Entity's prefix Default: local_sofar_inverter |
username |
No | Username to log int Default: admin |
password |
No | Password to log int Default: admin |
scan_interval |
No | How often to read the inverte page Default: 5 min |
elevation |
No | When it is dark then inverter goes dark and its web goes offline, so it scans the page only when your sun is over your horizont Default: 5 |
configuration.yaml
Minimal
sensor:
- platform: local_sofar_inverter
host: 192.168.67.111
Attribute | Description |
---|---|
name_now_p |
Current PV power |
name_today_e |
Energy produced today |
name_total_e |
Total produced energy |
name_alarm |
Errors returned by your inverter |
Try to turn on debug
mode in your configuration.yaml
and read/send your log file.
logger:
default: warning
logs:
custom_components.local_sofar_inverter: debug
0.0.1 first working version, working with one phase Sofar inverter (model SA3ES233
software version V310)