I have seen other comments where various forms of template sensors are used to convert the input into the utility meter integration (the integration says its input should be KwH), so I’m not sure if I have it setup correctly.
OK then, you’re getting an output from EmonCMS while I am getting it directly from iotawatt. My IotaWatt reports use of 2.53 kWh in its graph. My local instance of EmonCMS is reporting 2.4 (using the ‘My Electric’ app) - both based on the iotawatt sensor.
Perhaps I need to feed the utility meter from EmonCMS (using kwh?) rather than the watts directly from iotawatt.
Reading through this tread seems to suggest I need to use the sensor.integration (to convert Watt to KiloWattsHour) and feed that into utility_meter instead of using Watts from iotawatt directly.
Any thoughts on updating this to support the New Home Assistant Home Energy Management. Because I getting sensor not listed see Expected data source not listed - Home Assistant. I know the data is in the iotawatt and there are API calls to pull the information.
Home Assistant will have a new added focus on energy management in the next release. We’re trying to get as many energy related integrations part of core.
Your integration is great. Would you want to submit it to core?
You can already get this working with the HA energy management panel. The key to the data source not listed message you’re getting is to create “integration” sensors. One of mine is shown below which allows the new energy panel to show my total power usage. You can do similar sensors for each of the channels from the iotawatt and add those as “devices” to the energy panel.
It would be nice if the integration created these sensors automatically (not sure if that is possible or not) but its totally functional with a bit of manual effort today.
I’m working on getting this integration added to Home Assistant without the need for HACS. Thank you to the ones that have helped in the effort so far!
I’m just having one issue that I can’t seem to fix and want to get it fixed before making the PR to add this sensor to Home Assistant. The issue is when an Input/Output is removed from the IoTaWatt interface exceptions are being thrown in the HA log.
If anyone has any insight into how to fix this I would be very greatful!
The issue is noted in Github here.
The latest code that I’m preparing for the HA inclusion is located here
Anyone know if it’s possible to chart iotawatt values with the new statistics graph card? I don’t see the iotawatt sensor values as being available for selection in the card configuration. I would like to chart volts and power. Do we need an update?