From 5a9d3c4cf14f81626de1c591d705259b56560451 Mon Sep 17 00:00:00 2001 From: Jean-Yves Avenard Date: Wed, 6 Oct 2021 19:51:52 +1100 Subject: [PATCH] Update iotawatt.markdown for using the new high accuracy sensors (#19570) Co-authored-by: Franck Nijhof --- source/_integrations/iotawatt.markdown | 29 +++++++++++++------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/source/_integrations/iotawatt.markdown b/source/_integrations/iotawatt.markdown index 0fa8109f50e..9dfc1d06d5e 100644 --- a/source/_integrations/iotawatt.markdown +++ b/source/_integrations/iotawatt.markdown @@ -22,9 +22,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 @@ -37,18 +37,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 +#### Using a solar net system -Add the following to your configuration.yaml file to convert the Watt measurements into kWh: +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`. -```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 -``` +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`