Choosing the right dummy sensor is confusing. Options are
- counter (type RFXmeter?),
- managed counter
- counter incremental
- custom sensor
Three view are import:
- Log, preferable with a bar diagram, auto filled, monthly view with daily totals
- device widget: the big font top right, preferable as daily total
- device widget: the small font above "last seen" = (last added value?)
updating the sensor is done with .updateCounter method?
Code: Select all
dz.devices('stroomKosten').updateCounter (deltaStroom*kwhPrijs)

