I have two devices:
Energy delivered to EV with idx 134 and
Energy consumed by EV with idx 169.
134 is of type General, kWh
169 is of type RFXmeter, counter (also showing kWh)
The types are determined by the plugins.
I want to show the cumulative total of each device, day after day, for a selected period, for example last month.
I am totally lost on how to do this. All my efforts have only resulted in showing the individual increases on each day (similar to the graph already available in domoticz), but not the cumulative total of that day.
When I run the jsons against domoticz I can see the data is present. I just can't figure out how to code this in dashticz.
Can anyone give me a graph definition for this? Similar to below code?
Code: Select all
blocks['graph_EV'] = {
title: 'Delivered vs Used',
width: 12,
devices: [134,169],
custom: {
"month": {
range: 'month',
filter: '1 month',
data: {
delivered: 'd.v_134',
used: 'd.v_169',
}
}
}
}