Skip to content

Commit

Permalink
Update iotawatt.markdown for using the new high accuracy sensors (hom…
Browse files Browse the repository at this point in the history
…e-assistant#19570)

Co-authored-by: Franck Nijhof <[email protected]>
  • Loading branch information
jyavenard and frenck authored Oct 6, 2021
1 parent c7f23c2 commit 3a2b44e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions source/_integrations/iotawatt.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ha_config_flow: true
ha_domain: iotawatt
ha_codeowners:
- '@gtdiehl'
- '@jyavenard'
ha_platforms:
- sensor
---
Expand All @@ -20,9 +21,9 @@ and create them as sensors in Home Assistant.

## Energy management

IoTaWatt does not provide the exact data that is needed for energy management. We're working with the IotaWatt team on resolving this.
You can use the accumulated energy sensors directly with the Home Assistant energy dashboard.

Until then, you can use these instructions to create the correct entities that work with energy management:
If you have an energy production system such as solar panels, following these instructions:

### Configure IoTaWatt

Expand All @@ -35,18 +36,17 @@ You will need to configure two new IoTaWatt output sensors:

Replace `(Main_In_Red + Main_In_White + Main_In_Blue)` with the correct formula for your main feed.

### Configure Home Assistant

Add the following to your configuration.yaml file to convert the Watt measurements into kWh:

```yaml
sensor iotawatt:
- platform: integration
source: sensor.mainsexport
name: Total Grid Export
unit_prefix: k
- platform: integration
source: sensor.mainsconsumption
name: Total Grid Consumption
unit_prefix: k
```
#### Using a solar net system

The IoTaWatt team recommends that the inputs for solar reads positive which can be achieved by either changing the orientation of the CT sensor or in the IoTaWatt's input settings, check `Reverse`.

Replace `(Main_In_Red + Main_In_White + Main_In_Blue)` with `(Main_In_Red + Main_In_White + Main_In_Blue - Solar)`

If you have two solar sensors named `Solar1` and `Solar2` you would use:
`(Main_In_Red + Main_In_White + Main_In_Blue - Solar1 - Solar2)`

### Configure Energy Management

In the `Grid Consumption` settings, click `Add Consumption` and select `MainsConsumption.wh Accumulated`
In the `Return to grid` settings, click `Add Return` and select `MainsExport.wh Accumulated`
In the `Solar production` settings, click `Add Solar Production` and select `Solar.wh Accumulated`

0 comments on commit 3a2b44e

Please sign in to comment.