Hi
Inquiry for energy meter:
Code: Select all
?type=graph&sensor=counter&idx=IDX&range=year
returns totals for specific days but for the entire year.
I have a suggestion to add the option to provide a parameter from what date it should count, i. e.:
Code: Select all
?type=graph&sensor=counter&idx=IDX&range=year&date=2024-01-29
Domoticz nicely sums the values from a given period, and due to the fact that not everyone is interested in the sum of values from the period from a year to the present, only from a specific date. If only because of settlement periods.
Regards