jorjimsan / huawei_solar

Home Assistant custom component for Huawei inverters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Huawei Solar sensor

This code is a custom component to read the data from Huawei inverters

Install

Copy these files to custom_components/huawei_solar/

You can try the async component by renaming sensor_async.py sensor.py, but this seems to be currently broken with HA 105, pymodbus 2.3.0 and python 3.7.

Then configure the sensors by setting up the stib platform in configuration.yaml.

Options

Name Type Requirement Description
host string Required hostname or ip address
optimizers boolean Optional Set to true if you have optimizers and want to see information about them.
battery boolean Optional Set to true if you have a battery and want to see information about it.

Example:

sensor:
  - platform: huawei_solar   
    host: '192.168.0.123'
    optimizers: true
    battery: true

About

Home Assistant custom component for Huawei inverters

License:Apache License 2.0


Languages

Language:Python 100.0%