Background: I have just installed an IotaWatt and am monitoring the power consumption on many individual circuits. After reading the forums, I followed @mfenniak’s advice and am sending all data from the IotaWatt directly to my InfluxDB2 container. Currently I am sending both the W for each circuit as well as the Wh.
My next step is to import this data into HA so that I can add the monitored circuits as “Individual devices” on the Energy dashboard. I have read through many forum posts and the documentation, but am still unclear as to how best to do this.
I believe I need to create a sensor for each monitored circuit that queries influx for the Wh. As I understand it, this sensor needs to be ever-increasing, i.e. the value is the total Wh consumed since the beginning. Is this correct? It seems to me that this will eventually hit some sort of limit, or continue to get slower as each subsequent query has to pull in more data.
My one thought on this is that the utility meter integration appears to reset daily/weekly/monthly. Could this be a better way of accomplishing this?
Where you able to get this working? I notice you used “MYORG”, which would be the 16digit character, but otherwise I’m trying very similar to get values from Influx.
However, for me it is not working (the sensor is not even appearing).
While, however, I am able to write HA to custom bucket in Influx.
The thing is I want some of my server stats to show in HA as a sensor value (disk usage of Unraid e.g.).