Skip to content

Commit

Permalink
Merge pull request home-assistant#9082 from CountParadox/patch-2
Browse files Browse the repository at this point in the history
Create sensor.solax
  • Loading branch information
klaasnicolaas authored May 29, 2019
2 parents 93e3c3d + 72a5b68 commit 2702b9b
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions source/_components/solax.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
layout: page
title: "Solax Sensor"
description: "Instructions on how to integrate Solax sensor within Home Assistant."
date: 2019-03-31 04:20
sidebar: true
comments: false
sharing: true
footer: true
logo: solax-logo.png
ha_category:
- Energy
- Sensor
ha_release: 0.94
ha_iot_class: Local Polling
---

The `solax` component 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 component retrieves information such as photovoltaic power production, battery levels and power, and how much power is being fed back into the grid.

## {% linkable_title Configuration %}

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

```yaml
# 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
{% endconfiguration %}
### {% linkable_title 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](/components/sensor.template/).
{% raw %}
```yaml
# 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 %}
Binary file added source/images/supported_brands/solax-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2702b9b

Please sign in to comment.