kopia lustrzana https://github.com/weetmuts/wmbusmeters
Change default fields for aerius driver.
rodzic
bd6bb193d0
commit
5c9b1aaa0c
|
@ -27,7 +27,7 @@ namespace
|
|||
static bool ok = registerDriver([](DriverInfo&di)
|
||||
{
|
||||
di.setName("aerius");
|
||||
di.setDefaultFields("name,id,total_m3,flow_m3h,target_datetime,target_m3,timestamp");
|
||||
di.setDefaultFields("name,id,total_m3,timestamp");
|
||||
di.setMeterType(MeterType::GasMeter);
|
||||
di.addLinkMode(LinkMode::T1);
|
||||
di.addDetection(MANUFACTURER_DME, 0x03, 0x30);
|
||||
|
@ -84,7 +84,7 @@ namespace
|
|||
|
||||
addNumericFieldWithExtractor(
|
||||
"target",
|
||||
"The total gas consumption recorded by this meter at the beginning of this period.",
|
||||
"The total gas consumption recorded when the previous billing period ended.",
|
||||
DEFAULT_PRINT_PROPERTIES,
|
||||
Quantity::Volume,
|
||||
VifScaling::Auto,
|
||||
|
@ -101,4 +101,4 @@ namespace
|
|||
// Test: aerius_gas aerius 99657098 NOKEY
|
||||
// telegram=|2E44A5119870659930037A060020052F2F_0C933E842784060A3B00000A5A5901C4016D3B37DF2CCC01933E24032606|
|
||||
// {"media":"gas","meter":"aerius","name":"aerius_gas","id":"99657098","total_m3":6842.784,"flow_m3h":0,"temperature_c":15.9,"target_datetime":"2022-12-31 23:59","target_m3":6260.324,"timestamp":"1111-11-11T11:11:11Z"}
|
||||
// |aerius_gas;99657098;6842.784;0;2022-12-31 23:59;6260.324;1111-11-11 11:11.11
|
||||
// |aerius_gas;99657098;6842.784;1111-11-11 11:11.11
|
||||
|
|
Ładowanie…
Reference in New Issue