diff --git a/source/_integrations/iotawatt.markdown b/source/_integrations/iotawatt.markdown index ab665f08ab10..f47f14364281 100644 --- a/source/_integrations/iotawatt.markdown +++ b/source/_integrations/iotawatt.markdown @@ -9,6 +9,7 @@ ha_config_flow: true ha_domain: iotawatt ha_codeowners: - '@gtdiehl' + - '@jyavenard' ha_platforms: - sensor --- @@ -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 @@ -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`