I have an item which holds the total amount of elektricity taken from the grid. This item is updated every 5 minutes based on a rule which calculates the value from another item which holds the cumulative value.
So every night this value is set back to 0 and starts over again.
Graph of one week:
Now I want to see some bar graphs which displays me the last value of each day, but when I set this up nothing is displayed.
code:
series:
- component: oh-aggregate-series // not working
config:
aggregationFunction: last
gridIndex: 0
item: mqtt_dsmr_electricityDelivered_today
name: Elek daily (aggregate)
service: rrd4j
type: bar
xAxisIndex: 0
yAxisIndex: 0
- component: oh-time-series // working
config:
gridIndex: 0
item: mqtt_dsmr_electricityDelivered_today
name: Elek daily (time series)
service: rrd4j
type: line
xAxisIndex: 0
yAxisIndex: 1
What am I doing wrong, or what am I missing?