Open jnioche opened 11 months ago
I guess my first question is, should it be integrated at all or should the carbon intensity CLI be something stand-alone? As you've seen there are other tools specific to the energy provider, it probably wouldn't make sense to integrate with all of them. On the other hand if your tool say were to output influx compatible data then influxDB can be used to combine it with the energy data that another tool is providing to give the relevant emissions.
On the other hand if your tool say were to output influx compatible data then influxDB can be used to combine it with the energy data that another tool is providing to give the relevant emissions. do you mean that the computation of the emissions could be done by InfluxDB given two separate sources: the amount of energy used for a period on the one hand and the carbon intensity on the other?
I have released an initial version of the carbonintensity-api, a better version is coming soon.
@Mossop how do you think it should be done?
First get all the measurements and if the device is an electricity meter, send the measurements to a new function in the carbonintensity api which would
Alternatively, from your main.rs, you could retrieve the carbon intensities for the period and compute the emissions yourself.