mirror of https://github.com/arendst/Tasmota.git
Flowrate meter add flow amount/duration
This commit is contained in:
parent
475b4f3fe3
commit
2b163ad4ea
|
@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
|
|||
- TasmotaModbus library from v3.5.0 to v3.6.0 (#16351)
|
||||
- Button debouncing V3 by adopting switch debounce code (#16339)
|
||||
- Thermostat max allowed temperature from 100 to 200C (#16363)
|
||||
- Flowrate meter add flow amount/duration, show values in table format
|
||||
|
||||
### Fixed
|
||||
- Removed whitespace from JSON values with no decimals (#16365)
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1076,7 +1077,9 @@
|
|||
#define D_FP_UNKNOWNERROR "Fout" // Any other error
|
||||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowmeter"
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Posant l'adreça a"
|
||||
#define D_OUT_OF_RANGE "Fora de rang"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Cabal"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Neue Adresse"
|
||||
#define D_OUT_OF_RANGE "Außerhalb Bereich"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Durchflussmesser"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Menge heute"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Dauer heute"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Cambiando dirección a"
|
||||
#define D_OUT_OF_RANGE "Fuera de Rango"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Positionner l'adresse à"
|
||||
#define D_OUT_OF_RANGE "Hors limites"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/ora"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Imposta indirizzo a"
|
||||
#define D_OUT_OF_RANGE "Fuori intervallo"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Portata"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Nieuw adres"
|
||||
#define D_OUT_OF_RANGE "Buiten beriek"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Ustawiam adres na"
|
||||
#define D_OUT_OF_RANGE "Poza zakresem"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Mudança de endereço para"
|
||||
#define D_OUT_OF_RANGE "Fora de Alcance"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Mudança de endereço para"
|
||||
#define D_OUT_OF_RANGE "Fora de Alcance"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "Вт/м²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "Вт/м²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -934,6 +934,7 @@
|
|||
#define D_UNIT_WATT_METER_QUADRAT "W/m²"
|
||||
#define D_UNIT_LITER_PER_MINUTE "l/min"
|
||||
#define D_UNIT_CUBICMETER_PER_HOUR "m³/h"
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_NEW_ADDRESS "Setting address to"
|
||||
#define D_OUT_OF_RANGE "Out of Range"
|
||||
|
@ -1077,6 +1078,8 @@
|
|||
|
||||
// xsns_96_flowratemeter.ino
|
||||
#define D_FLOWRATEMETER_NAME "Flowrate"
|
||||
#define D_FLOWRATEMETER_AMOUNT_TODAY "Amount Today"
|
||||
#define D_FLOWRATEMETER_DURATION_TODAY "Duration Today"
|
||||
|
||||
// xsns_83_neopool.ino
|
||||
#define D_NEOPOOL_MACH_NONE "NeoPool" // Machine names
|
||||
|
|
|
@ -25,12 +25,9 @@
|
|||
#define XSNS_96 96
|
||||
|
||||
|
||||
|
||||
#define FLOWRATEMETER_WEIGHT_AVG_SAMPLE 20 // number of samples for smooth weigted average
|
||||
#define FLOWRATEMETER_MIN_FREQ 1 // Hz
|
||||
|
||||
#define D_UNIT_CUBIC_METER "m³"
|
||||
|
||||
#define D_JSON_FLOWRATEMETER_RATE "Rate"
|
||||
#define D_JSON_FLOWRATEMETER_VALUE "Source"
|
||||
#define D_JSON_FLOWRATEMETER_UNIT "Unit"
|
||||
|
@ -239,7 +236,7 @@ void FlowRateMeterShow(bool json)
|
|||
WSContentSend_PD(PSTR("<td>%s{e}"), Settings->SensorBits1.flowratemeter_unit ? PSTR(D_UNIT_CUBICMETER_PER_HOUR) : PSTR(D_UNIT_LITER_PER_MINUTE));
|
||||
|
||||
// Amount today
|
||||
WSContentSend_PD(PSTR("{s}" D_FLOWRATEMETER_NAME " Amount Today" "{m} </td>"));
|
||||
WSContentSend_PD(PSTR("{s}" D_FLOWRATEMETER_NAME " " D_FLOWRATEMETER_AMOUNT_TODAY "{m} </td>"));
|
||||
for (uint32_t i = 0; i < MAX_FLOWRATEMETER; i++) {
|
||||
if (PinUsed(GPIO_FLOWRATEMETER_IN, i)) {
|
||||
float amount_today = Settings->SensorBits1.flowratemeter_unit ? floatrate_amount_today[i] / 1000 : floatrate_amount_today[i];
|
||||
|
@ -252,7 +249,7 @@ void FlowRateMeterShow(bool json)
|
|||
WSContentSend_PD(PSTR("<td>%s{e}"), Settings->SensorBits1.flowratemeter_unit ? PSTR(D_UNIT_CUBIC_METER) : PSTR(D_UNIT_LITERS));
|
||||
|
||||
// Duration today
|
||||
WSContentSend_PD(PSTR("{s}" D_FLOWRATEMETER_NAME " Duration Today" "{m} </td>"));
|
||||
WSContentSend_PD(PSTR("{s}" D_FLOWRATEMETER_NAME " " D_FLOWRATEMETER_DURATION_TODAY "{m} </td>"));
|
||||
for (uint32_t i = 0; i < MAX_FLOWRATEMETER; i++) {
|
||||
if (PinUsed(GPIO_FLOWRATEMETER_IN, i)) {
|
||||
float amount_today = Settings->SensorBits1.flowratemeter_unit ? floatrate_amount_today[i] / 1000 : floatrate_amount_today[i];
|
||||
|
|
Loading…
Reference in New Issue