hello
i have a powerMeter
it counts up with the used power and a second value is a number which are seconds.
in Grafana i show this PowerInformation and also calculate the Price used since the Counter started! This works so far.
Now i wish to change the Second to get a output like
Date (now) - Seconds and got the Date/Time the counter started.
and
change the Seconds into
weeks days hours Minute and seconds
both Information into InfluxDB to take it out with Grafana.
Or you tell me it is more easy to save the second into influx and do the math when adding into Grafana!
have a nice day
vinc