i have been able to read my watermeter from vitens en get the liters in Domoticz and Dashticz.
The only problem i have is that the block is displaying the "total meter reading" instead of only the total day usage?
if i click on the block i can see the total day usage in the left upper corner (0,05m3), but i want tot show this directly on my dashboard.
and if its possible in liters...
Does anyone know how to do this?
Code: Select all
blocks[water_vandaag] = {}
//blocks[water_vandaag]['filter'] = 'day';
blocks[water_vandaag]['width'] = 6;
blocks[water_vandaag]['image'] = 'water.png';
blocks[water_vandaag]['title'] = 'water vandaag';
blocks[water_vandaag]['show_lastupdate'] = false;
blocks[water_vandaag]['protected'] = true;
blocks[water_vandaag]['popup'] = 'graph_92';Code: Select all
// Definition 'water' graph
blocks['graph_92'] = {
devices: [92],
title: 'water',
graph: 'bar',
datasetColors: ['yellow'],
legend: {
'v_92': 'waterverbruik'
}
}Nils
