I’ve an Iotawatt device that I use to measure power consumption of several devices.
The measured values are integrated in an InfluxDB (that is one of the export services that Iotawatt supports).
I want to integrate the current consumption of devices into items using the stored InfluxDB values.
I’ve checked the InfluxDB addon and I’ve seen it’s a pure persistence one and I can’t use for my use case.
I plan to make an InfluxDBQuery addon with the idea to be able to have Items that get its result executing an InfluxDB query every X time. That way I will be able to integrate the readings from Iotawatt and also make complex queries composing several data that I’ve in InfluxDB.
Is this a good way to go? I’ve I made it in a clean and reusable way could be it adopted as an official binding?