fixed v2 specification typo; fixed wrongly edited obis reference;
This commit is contained in:
parent
45ee8dbb32
commit
adcfdfe2ae
@ -36,7 +36,7 @@ INSTANTANEOUS_ACTIVE_POWER_L3_NEGATIVE = r'\d-\d:62\.7\.0.+?\r\n'
|
|||||||
EQUIPMENT_IDENTIFIER_GAS = r'\d-\d:96\.1\.0.+?\r\n'
|
EQUIPMENT_IDENTIFIER_GAS = r'\d-\d:96\.1\.0.+?\r\n'
|
||||||
# TODO
|
# TODO
|
||||||
HOURLY_GAS_METER_READING = r'\d-\d:24\.2\.1.+?\r\n'
|
HOURLY_GAS_METER_READING = r'\d-\d:24\.2\.1.+?\r\n'
|
||||||
GAS_METER_READING = r'(\d-\d:24\.3\.0.+?\r\n.+?\r\n)'
|
GAS_METER_READING = r'\d-\d:24\.3\.0.+?\r\n.+?\r\n'
|
||||||
ACTUAL_TRESHOLD_ELECTRICITY = r'\d-\d:17\.0\.0.+?\r\n'
|
ACTUAL_TRESHOLD_ELECTRICITY = r'\d-\d:17\.0\.0.+?\r\n'
|
||||||
ACTUAL_SWITCH_POSITION = r'\d-\d:96\.3\.10.+?\r\n'
|
ACTUAL_SWITCH_POSITION = r'\d-\d:96\.3\.10.+?\r\n'
|
||||||
VALVE_POSITION_GAS = r'\d-\d:24\.4\.0.+?\r\n'
|
VALVE_POSITION_GAS = r'\d-\d:24\.4\.0.+?\r\n'
|
||||||
|
@ -15,7 +15,7 @@ how the telegram lines are parsed.
|
|||||||
|
|
||||||
V2_2 = {
|
V2_2 = {
|
||||||
'checksum_support': False,
|
'checksum_support': False,
|
||||||
'object_signatures': {
|
'objects': {
|
||||||
obis.EQUIPMENT_IDENTIFIER: CosemParser(ValueParser(str)),
|
obis.EQUIPMENT_IDENTIFIER: CosemParser(ValueParser(str)),
|
||||||
obis.ELECTRICITY_USED_TARIFF_1: CosemParser(ValueParser(Decimal)),
|
obis.ELECTRICITY_USED_TARIFF_1: CosemParser(ValueParser(Decimal)),
|
||||||
obis.ELECTRICITY_USED_TARIFF_2: CosemParser(ValueParser(Decimal)),
|
obis.ELECTRICITY_USED_TARIFF_2: CosemParser(ValueParser(Decimal)),
|
||||||
|
Loading…
Reference in New Issue
Block a user