Closed jyavenard closed 3 years ago
So I have just updated HA to 2021.9.0 and am now using the 'built in' integration, but I have issues with sensors in the energy dashboard. The instructions on the HA page are not clear, or not working as expected. Can you explain what I need to do to have valid sensors for the energy dashboard?
If you are using a net solar system and need import and export ; the current version in iotawatt can't work. The one in this branch can.
Simply put the custom_components/iotawatt folder in the HA custom_components and restart HA
So I have just updated HA to 2021.9.0 and am now using the 'built in' integration, but I have issues with sensors in the energy dashboard. The instructions on the HA page are not clear, or not working as expected. Can you explain what I need to do to have valid sensors for the energy dashboard?
It's a last minute change in HA that broke it: https://github.com/home-assistant/core/issues/55554
This branch fixes it ; you just need to use the integration in custom_components for now.
So Im not installing the 0.0.8 release, but a specific branch? How do I achieve this?
So Im not installing the 0.0.8 release, but a specific branch? How do I achieve this?
If you want to get up and running right now, update the configuration.yaml
with the integration sensor for each of your sensors from the IoTaWatt that has a Unit of Watts
This is the example for the Home Assistant webpage
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
In the above example there are two sensors on the IoTaWatt, sensor.mainsexport
and sensor.mainsconsumption
. Replace those with the sensors from your IoTaWatt. Of course you probably have more than two, so just copy and paste and create as many given each one a unique name. Restart HA and the sensors with the names you gave will be available in the selection list for the Energy Dashboard
this will only work with 2021.9 ; will approach this differently.
This pull request is to be put on top of https://github.com/jyavenard/iotawatt_ha/tree/IntegrateLocally
It backports all the changes made into HA's official iotawatt integration and add the high resolution energy sensors.