2019-10-02 01:34:26 +02:00

1.7 KiB

title, description, logo, ha_category, ha_release, ha_iot_class
title description logo ha_category ha_release ha_iot_class
Solax Sensor Instructions on how to integrate Solax sensor within Home Assistant. solax-logo.png
Energy
Sensor
0.94 Local Polling

The solax integration connects home-assistant to Solax solar power inverters. Solax inverters may be connected to a home Wi-Fi network and expose a REST API. This integration retrieves information such as photovoltaic power production, battery levels and power, and how much power is being fed back into the grid.

Configuration

To use the Solax sensors in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: solax
    ip_address: IP_ADDRESS

{% configuration %} ip_address: description: The IP address of your Solax system. required: true type: string port: required: false type: integer default: 80 description: The port number {% endconfiguration %}

Optional template sensor

If you would like to convert the values from multiple panels or view the total power the house is using, you can use the template platform.

{% raw %}

# Example configuration.yaml entry for template platform
sensors:
- platform: template
  sensors:
    total_pv_power:
      friendly_name: "Total PV Power"
      unit_of_measurement: 'W'
      value_template: "{{ (states('sensor.pv1_power') | float) + (states('sensor.pv2_power') | float) }}"
    load_power:
      friendly_name: "Load Power"
      unit_of_measurement: 'W'
      value_template: "{{ (states('sensor.power_now') | float) - (states('sensor.exported_power') | float) }}"

{% endraw %}