clean-up re-format
This commit is contained in:
parent
e4f384c2b7
commit
17b56ae07b
@ -8,56 +8,56 @@ This module contains a mapping of obis references to names.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
EN = {
|
EN = {
|
||||||
obis.P1_MESSAGE_HEADER: "P1_MESSAGE_HEADER",
|
obis.P1_MESSAGE_HEADER: 'P1_MESSAGE_HEADER',
|
||||||
obis.P1_MESSAGE_TIMESTAMP: "P1_MESSAGE_TIMESTAMP",
|
obis.P1_MESSAGE_TIMESTAMP: 'P1_MESSAGE_TIMESTAMP',
|
||||||
obis.ELECTRICITY_IMPORTED_TOTAL: "ELECTRICITY_IMPORTED_TOTAL",
|
obis.ELECTRICITY_IMPORTED_TOTAL: 'ELECTRICITY_IMPORTED_TOTAL',
|
||||||
obis.ELECTRICITY_USED_TARIFF_1: "ELECTRICITY_USED_TARIFF_1",
|
obis.ELECTRICITY_USED_TARIFF_1: 'ELECTRICITY_USED_TARIFF_1',
|
||||||
obis.ELECTRICITY_USED_TARIFF_2: "ELECTRICITY_USED_TARIFF_2",
|
obis.ELECTRICITY_USED_TARIFF_2: 'ELECTRICITY_USED_TARIFF_2',
|
||||||
obis.ELECTRICITY_DELIVERED_TARIFF_1: "ELECTRICITY_DELIVERED_TARIFF_1",
|
obis.ELECTRICITY_DELIVERED_TARIFF_1: 'ELECTRICITY_DELIVERED_TARIFF_1',
|
||||||
obis.ELECTRICITY_DELIVERED_TARIFF_2: "ELECTRICITY_DELIVERED_TARIFF_2",
|
obis.ELECTRICITY_DELIVERED_TARIFF_2: 'ELECTRICITY_DELIVERED_TARIFF_2',
|
||||||
obis.ELECTRICITY_ACTIVE_TARIFF: "ELECTRICITY_ACTIVE_TARIFF",
|
obis.ELECTRICITY_ACTIVE_TARIFF: 'ELECTRICITY_ACTIVE_TARIFF',
|
||||||
obis.EQUIPMENT_IDENTIFIER: "EQUIPMENT_IDENTIFIER",
|
obis.EQUIPMENT_IDENTIFIER: 'EQUIPMENT_IDENTIFIER',
|
||||||
obis.CURRENT_ELECTRICITY_USAGE: "CURRENT_ELECTRICITY_USAGE",
|
obis.CURRENT_ELECTRICITY_USAGE: 'CURRENT_ELECTRICITY_USAGE',
|
||||||
obis.CURRENT_ELECTRICITY_DELIVERY: "CURRENT_ELECTRICITY_DELIVERY",
|
obis.CURRENT_ELECTRICITY_DELIVERY: 'CURRENT_ELECTRICITY_DELIVERY',
|
||||||
obis.LONG_POWER_FAILURE_COUNT: "LONG_POWER_FAILURE_COUNT",
|
obis.LONG_POWER_FAILURE_COUNT: 'LONG_POWER_FAILURE_COUNT',
|
||||||
obis.SHORT_POWER_FAILURE_COUNT: "SHORT_POWER_FAILURE_COUNT",
|
obis.SHORT_POWER_FAILURE_COUNT: 'SHORT_POWER_FAILURE_COUNT',
|
||||||
obis.POWER_EVENT_FAILURE_LOG: "POWER_EVENT_FAILURE_LOG",
|
obis.POWER_EVENT_FAILURE_LOG: 'POWER_EVENT_FAILURE_LOG',
|
||||||
obis.VOLTAGE_SAG_L1_COUNT: "VOLTAGE_SAG_L1_COUNT",
|
obis.VOLTAGE_SAG_L1_COUNT: 'VOLTAGE_SAG_L1_COUNT',
|
||||||
obis.VOLTAGE_SAG_L2_COUNT: "VOLTAGE_SAG_L2_COUNT",
|
obis.VOLTAGE_SAG_L2_COUNT: 'VOLTAGE_SAG_L2_COUNT',
|
||||||
obis.VOLTAGE_SAG_L3_COUNT: "VOLTAGE_SAG_L3_COUNT",
|
obis.VOLTAGE_SAG_L3_COUNT: 'VOLTAGE_SAG_L3_COUNT',
|
||||||
obis.VOLTAGE_SWELL_L1_COUNT: "VOLTAGE_SWELL_L1_COUNT",
|
obis.VOLTAGE_SWELL_L1_COUNT: 'VOLTAGE_SWELL_L1_COUNT',
|
||||||
obis.VOLTAGE_SWELL_L2_COUNT: "VOLTAGE_SWELL_L2_COUNT",
|
obis.VOLTAGE_SWELL_L2_COUNT: 'VOLTAGE_SWELL_L2_COUNT',
|
||||||
obis.VOLTAGE_SWELL_L3_COUNT: "VOLTAGE_SWELL_L3_COUNT",
|
obis.VOLTAGE_SWELL_L3_COUNT: 'VOLTAGE_SWELL_L3_COUNT',
|
||||||
obis.INSTANTANEOUS_VOLTAGE_L1: "INSTANTANEOUS_VOLTAGE_L1",
|
obis.INSTANTANEOUS_VOLTAGE_L1: 'INSTANTANEOUS_VOLTAGE_L1',
|
||||||
obis.INSTANTANEOUS_VOLTAGE_L2: "INSTANTANEOUS_VOLTAGE_L2",
|
obis.INSTANTANEOUS_VOLTAGE_L2: 'INSTANTANEOUS_VOLTAGE_L2',
|
||||||
obis.INSTANTANEOUS_VOLTAGE_L3: "INSTANTANEOUS_VOLTAGE_L3",
|
obis.INSTANTANEOUS_VOLTAGE_L3: 'INSTANTANEOUS_VOLTAGE_L3',
|
||||||
obis.INSTANTANEOUS_CURRENT_L1: "INSTANTANEOUS_CURRENT_L1",
|
obis.INSTANTANEOUS_CURRENT_L1: 'INSTANTANEOUS_CURRENT_L1',
|
||||||
obis.INSTANTANEOUS_CURRENT_L2: "INSTANTANEOUS_CURRENT_L2",
|
obis.INSTANTANEOUS_CURRENT_L2: 'INSTANTANEOUS_CURRENT_L2',
|
||||||
obis.INSTANTANEOUS_CURRENT_L3: "INSTANTANEOUS_CURRENT_L3",
|
obis.INSTANTANEOUS_CURRENT_L3: 'INSTANTANEOUS_CURRENT_L3',
|
||||||
obis.TEXT_MESSAGE_CODE: "TEXT_MESSAGE_CODE",
|
obis.TEXT_MESSAGE_CODE: 'TEXT_MESSAGE_CODE',
|
||||||
obis.TEXT_MESSAGE: "TEXT_MESSAGE",
|
obis.TEXT_MESSAGE: 'TEXT_MESSAGE',
|
||||||
obis.DEVICE_TYPE: "DEVICE_TYPE",
|
obis.DEVICE_TYPE: 'DEVICE_TYPE',
|
||||||
obis.INSTANTANEOUS_ACTIVE_POWER_L1_POSITIVE: "INSTANTANEOUS_ACTIVE_POWER_L1_POSITIVE",
|
obis.INSTANTANEOUS_ACTIVE_POWER_L1_POSITIVE: 'INSTANTANEOUS_ACTIVE_POWER_L1_POSITIVE',
|
||||||
obis.INSTANTANEOUS_ACTIVE_POWER_L2_POSITIVE: "INSTANTANEOUS_ACTIVE_POWER_L2_POSITIVE",
|
obis.INSTANTANEOUS_ACTIVE_POWER_L2_POSITIVE: 'INSTANTANEOUS_ACTIVE_POWER_L2_POSITIVE',
|
||||||
obis.INSTANTANEOUS_ACTIVE_POWER_L3_POSITIVE: "INSTANTANEOUS_ACTIVE_POWER_L3_POSITIVE",
|
obis.INSTANTANEOUS_ACTIVE_POWER_L3_POSITIVE: 'INSTANTANEOUS_ACTIVE_POWER_L3_POSITIVE',
|
||||||
obis.INSTANTANEOUS_ACTIVE_POWER_L1_NEGATIVE: "INSTANTANEOUS_ACTIVE_POWER_L1_NEGATIVE",
|
obis.INSTANTANEOUS_ACTIVE_POWER_L1_NEGATIVE: 'INSTANTANEOUS_ACTIVE_POWER_L1_NEGATIVE',
|
||||||
obis.INSTANTANEOUS_ACTIVE_POWER_L2_NEGATIVE: "INSTANTANEOUS_ACTIVE_POWER_L2_NEGATIVE",
|
obis.INSTANTANEOUS_ACTIVE_POWER_L2_NEGATIVE: 'INSTANTANEOUS_ACTIVE_POWER_L2_NEGATIVE',
|
||||||
obis.INSTANTANEOUS_ACTIVE_POWER_L3_NEGATIVE: "INSTANTANEOUS_ACTIVE_POWER_L3_NEGATIVE",
|
obis.INSTANTANEOUS_ACTIVE_POWER_L3_NEGATIVE: 'INSTANTANEOUS_ACTIVE_POWER_L3_NEGATIVE',
|
||||||
obis.EQUIPMENT_IDENTIFIER_GAS: "EQUIPMENT_IDENTIFIER_GAS",
|
obis.EQUIPMENT_IDENTIFIER_GAS: 'EQUIPMENT_IDENTIFIER_GAS',
|
||||||
obis.HOURLY_GAS_METER_READING: "HOURLY_GAS_METER_READING",
|
obis.HOURLY_GAS_METER_READING: 'HOURLY_GAS_METER_READING',
|
||||||
obis.GAS_METER_READING: "GAS_METER_READING",
|
obis.GAS_METER_READING: 'GAS_METER_READING',
|
||||||
obis.ACTUAL_TRESHOLD_ELECTRICITY: "ACTUAL_TRESHOLD_ELECTRICITY",
|
obis.ACTUAL_TRESHOLD_ELECTRICITY: 'ACTUAL_TRESHOLD_ELECTRICITY',
|
||||||
obis.ACTUAL_SWITCH_POSITION: "ACTUAL_SWITCH_POSITION",
|
obis.ACTUAL_SWITCH_POSITION: 'ACTUAL_SWITCH_POSITION',
|
||||||
obis.VALVE_POSITION_GAS: "VALVE_POSITION_GAS",
|
obis.VALVE_POSITION_GAS: 'VALVE_POSITION_GAS',
|
||||||
obis.BELGIUM_HOURLY_GAS_METER_READING: "BELGIUM_HOURLY_GAS_METER_READING",
|
obis.BELGIUM_HOURLY_GAS_METER_READING: 'BELGIUM_HOURLY_GAS_METER_READING',
|
||||||
obis.LUXEMBOURG_EQUIPMENT_IDENTIFIER: "LUXEMBOURG_EQUIPMENT_IDENTIFIER",
|
obis.LUXEMBOURG_EQUIPMENT_IDENTIFIER: 'LUXEMBOURG_EQUIPMENT_IDENTIFIER',
|
||||||
obis.LUXEMBOURG_ELECTRICITY_USED_TARIFF_GLOBAL: "LUXEMBOURG_ELECTRICITY_USED_TARIFF_GLOBAL",
|
obis.LUXEMBOURG_ELECTRICITY_USED_TARIFF_GLOBAL: 'LUXEMBOURG_ELECTRICITY_USED_TARIFF_GLOBAL',
|
||||||
obis.LUXEMBOURG_ELECTRICITY_DELIVERED_TARIFF_GLOBAL: "LUXEMBOURG_ELECTRICITY_DELIVERED_TARIFF_GLOBAL",
|
obis.LUXEMBOURG_ELECTRICITY_DELIVERED_TARIFF_GLOBAL: 'LUXEMBOURG_ELECTRICITY_DELIVERED_TARIFF_GLOBAL',
|
||||||
obis.SWEDEN_ELECTRICITY_USED_TARIFF_GLOBAL: "SWEDEN_ELECTRICITY_USED_TARIFF_GLOBAL",
|
obis.SWEDEN_ELECTRICITY_USED_TARIFF_GLOBAL: 'SWEDEN_ELECTRICITY_USED_TARIFF_GLOBAL',
|
||||||
obis.SWEDEN_ELECTRICITY_DELIVERED_TARIFF_GLOBAL: "SWEDEN_ELECTRICITY_DELIVERED_TARIFF_GLOBAL",
|
obis.SWEDEN_ELECTRICITY_DELIVERED_TARIFF_GLOBAL: 'SWEDEN_ELECTRICITY_DELIVERED_TARIFF_GLOBAL',
|
||||||
obis.Q3D_EQUIPMENT_IDENTIFIER: "Q3D_EQUIPMENT_IDENTIFIER",
|
obis.Q3D_EQUIPMENT_IDENTIFIER: 'Q3D_EQUIPMENT_IDENTIFIER',
|
||||||
obis.Q3D_EQUIPMENT_STATE: "Q3D_EQUIPMENT_STATE",
|
obis.Q3D_EQUIPMENT_STATE: 'Q3D_EQUIPMENT_STATE',
|
||||||
obis.Q3D_EQUIPMENT_SERIALNUMBER: "Q3D_EQUIPMENT_SERIALNUMBER",
|
obis.Q3D_EQUIPMENT_SERIALNUMBER: 'Q3D_EQUIPMENT_SERIALNUMBER',
|
||||||
}
|
}
|
||||||
|
|
||||||
REVERSE_EN = dict([(v, k) for k, v in EN.items()])
|
REVERSE_EN = dict([(v, k) for k, v in EN.items()])
|
||||||
|
@ -6,76 +6,68 @@ refactored to full line signatures to maintain backwards compatibility.
|
|||||||
Might be refactored in a backwards incompatible way as soon as proper telegram
|
Might be refactored in a backwards incompatible way as soon as proper telegram
|
||||||
objects are introduced.
|
objects are introduced.
|
||||||
"""
|
"""
|
||||||
P1_MESSAGE_HEADER = r"\d-\d:0\.2\.8.+?\r\n"
|
P1_MESSAGE_HEADER = r'\d-\d:0\.2\.8.+?\r\n'
|
||||||
P1_MESSAGE_TIMESTAMP = r"\d-\d:1\.0\.0.+?\r\n"
|
P1_MESSAGE_TIMESTAMP = r'\d-\d:1\.0\.0.+?\r\n'
|
||||||
ELECTRICITY_IMPORTED_TOTAL = r"\d-\d:1\.8\.0.+?\r\n"
|
ELECTRICITY_IMPORTED_TOTAL = r'\d-\d:1\.8\.0.+?\r\n'
|
||||||
ELECTRICITY_USED_TARIFF_1 = r"\d-\d:1\.8\.1.+?\r\n"
|
ELECTRICITY_USED_TARIFF_1 = r'\d-\d:1\.8\.1.+?\r\n'
|
||||||
ELECTRICITY_USED_TARIFF_2 = r"\d-\d:1\.8\.2.+?\r\n"
|
ELECTRICITY_USED_TARIFF_2 = r'\d-\d:1\.8\.2.+?\r\n'
|
||||||
ELECTRICITY_DELIVERED_TARIFF_1 = r"\d-\d:2\.8\.1.+?\r\n"
|
ELECTRICITY_DELIVERED_TARIFF_1 = r'\d-\d:2\.8\.1.+?\r\n'
|
||||||
ELECTRICITY_DELIVERED_TARIFF_2 = r"\d-\d:2\.8\.2.+?\r\n"
|
ELECTRICITY_DELIVERED_TARIFF_2 = r'\d-\d:2\.8\.2.+?\r\n'
|
||||||
ELECTRICITY_ACTIVE_TARIFF = r"\d-\d:96\.14\.0.+?\r\n"
|
ELECTRICITY_ACTIVE_TARIFF = r'\d-\d:96\.14\.0.+?\r\n'
|
||||||
EQUIPMENT_IDENTIFIER = r"\d-\d:96\.1\.1.+?\r\n"
|
EQUIPMENT_IDENTIFIER = r'\d-\d:96\.1\.1.+?\r\n'
|
||||||
CURRENT_ELECTRICITY_USAGE = r"\d-\d:1\.7\.0.+?\r\n"
|
CURRENT_ELECTRICITY_USAGE = r'\d-\d:1\.7\.0.+?\r\n'
|
||||||
CURRENT_ELECTRICITY_DELIVERY = r"\d-\d:2\.7\.0.+?\r\n"
|
CURRENT_ELECTRICITY_DELIVERY = r'\d-\d:2\.7\.0.+?\r\n'
|
||||||
LONG_POWER_FAILURE_COUNT = r"96\.7\.9.+?\r\n"
|
LONG_POWER_FAILURE_COUNT = r'96\.7\.9.+?\r\n'
|
||||||
SHORT_POWER_FAILURE_COUNT = r"96\.7\.21.+?\r\n"
|
SHORT_POWER_FAILURE_COUNT = r'96\.7\.21.+?\r\n'
|
||||||
POWER_EVENT_FAILURE_LOG = r"99\.97\.0.+?\r\n"
|
POWER_EVENT_FAILURE_LOG = r'99\.97\.0.+?\r\n'
|
||||||
VOLTAGE_SAG_L1_COUNT = r"\d-\d:32\.32\.0.+?\r\n"
|
VOLTAGE_SAG_L1_COUNT = r'\d-\d:32\.32\.0.+?\r\n'
|
||||||
VOLTAGE_SAG_L2_COUNT = r"\d-\d:52\.32\.0.+?\r\n"
|
VOLTAGE_SAG_L2_COUNT = r'\d-\d:52\.32\.0.+?\r\n'
|
||||||
VOLTAGE_SAG_L3_COUNT = r"\d-\d:72\.32\.0.+?\r\n"
|
VOLTAGE_SAG_L3_COUNT = r'\d-\d:72\.32\.0.+?\r\n'
|
||||||
VOLTAGE_SWELL_L1_COUNT = r"\d-\d:32\.36\.0.+?\r\n"
|
VOLTAGE_SWELL_L1_COUNT = r'\d-\d:32\.36\.0.+?\r\n'
|
||||||
VOLTAGE_SWELL_L2_COUNT = r"\d-\d:52\.36\.0.+?\r\n"
|
VOLTAGE_SWELL_L2_COUNT = r'\d-\d:52\.36\.0.+?\r\n'
|
||||||
VOLTAGE_SWELL_L3_COUNT = r"\d-\d:72\.36\.0.+?\r\n"
|
VOLTAGE_SWELL_L3_COUNT = r'\d-\d:72\.36\.0.+?\r\n'
|
||||||
INSTANTANEOUS_VOLTAGE_L1 = r"\d-\d:32\.7\.0.+?\r\n"
|
INSTANTANEOUS_VOLTAGE_L1 = r'\d-\d:32\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_VOLTAGE_L2 = r"\d-\d:52\.7\.0.+?\r\n"
|
INSTANTANEOUS_VOLTAGE_L2 = r'\d-\d:52\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_VOLTAGE_L3 = r"\d-\d:72\.7\.0.+?\r\n"
|
INSTANTANEOUS_VOLTAGE_L3 = r'\d-\d:72\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_CURRENT_L1 = r"\d-\d:31\.7\.0.+?\r\n"
|
INSTANTANEOUS_CURRENT_L1 = r'\d-\d:31\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_CURRENT_L2 = r"\d-\d:51\.7\.0.+?\r\n"
|
INSTANTANEOUS_CURRENT_L2 = r'\d-\d:51\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_CURRENT_L3 = r"\d-\d:71\.7\.0.+?\r\n"
|
INSTANTANEOUS_CURRENT_L3 = r'\d-\d:71\.7\.0.+?\r\n'
|
||||||
TEXT_MESSAGE_CODE = r"\d-\d:96\.13\.1.+?\r\n"
|
TEXT_MESSAGE_CODE = r'\d-\d:96\.13\.1.+?\r\n'
|
||||||
TEXT_MESSAGE = r"\d-\d:96\.13\.0.+?\r\n"
|
TEXT_MESSAGE = r'\d-\d:96\.13\.0.+?\r\n'
|
||||||
DEVICE_TYPE = r"\d-\d:24\.1\.0.+?\r\n"
|
DEVICE_TYPE = r'\d-\d:24\.1\.0.+?\r\n'
|
||||||
INSTANTANEOUS_ACTIVE_POWER_L1_POSITIVE = r"\d-\d:21\.7\.0.+?\r\n"
|
INSTANTANEOUS_ACTIVE_POWER_L1_POSITIVE = r'\d-\d:21\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_ACTIVE_POWER_L2_POSITIVE = r"\d-\d:41\.7\.0.+?\r\n"
|
INSTANTANEOUS_ACTIVE_POWER_L2_POSITIVE = r'\d-\d:41\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_ACTIVE_POWER_L3_POSITIVE = r"\d-\d:61\.7\.0.+?\r\n"
|
INSTANTANEOUS_ACTIVE_POWER_L3_POSITIVE = r'\d-\d:61\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_ACTIVE_POWER_L1_NEGATIVE = r"\d-\d:22\.7\.0.+?\r\n"
|
INSTANTANEOUS_ACTIVE_POWER_L1_NEGATIVE = r'\d-\d:22\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_ACTIVE_POWER_L2_NEGATIVE = r"\d-\d:42\.7\.0.+?\r\n"
|
INSTANTANEOUS_ACTIVE_POWER_L2_NEGATIVE = r'\d-\d:42\.7\.0.+?\r\n'
|
||||||
INSTANTANEOUS_ACTIVE_POWER_L3_NEGATIVE = r"\d-\d:62\.7\.0.+?\r\n"
|
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 differences between gas meter readings in v3 and lower and v4 and up
|
# TODO differences between gas meter readings in v3 and lower and v4 and up
|
||||||
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'
|
||||||
|
|
||||||
# TODO 17.0.0
|
# TODO 17.0.0
|
||||||
# TODO 96.3.10
|
# TODO 96.3.10
|
||||||
|
|
||||||
ELECTRICITY_USED_TARIFF_ALL = (ELECTRICITY_USED_TARIFF_1, ELECTRICITY_USED_TARIFF_2)
|
ELECTRICITY_USED_TARIFF_ALL = (
|
||||||
|
ELECTRICITY_USED_TARIFF_1,
|
||||||
|
ELECTRICITY_USED_TARIFF_2
|
||||||
|
)
|
||||||
ELECTRICITY_DELIVERED_TARIFF_ALL = (
|
ELECTRICITY_DELIVERED_TARIFF_ALL = (
|
||||||
ELECTRICITY_DELIVERED_TARIFF_1,
|
ELECTRICITY_DELIVERED_TARIFF_1,
|
||||||
ELECTRICITY_DELIVERED_TARIFF_2,
|
ELECTRICITY_DELIVERED_TARIFF_2
|
||||||
)
|
)
|
||||||
|
|
||||||
# Alternate codes for foreign countries.
|
# Alternate codes for foreign countries.
|
||||||
BELGIUM_HOURLY_GAS_METER_READING = (
|
BELGIUM_HOURLY_GAS_METER_READING = r'\d-\d:24\.2\.3.+?\r\n' # Different code, same format.
|
||||||
r"\d-\d:24\.2\.3.+?\r\n" # Different code, same format.
|
LUXEMBOURG_EQUIPMENT_IDENTIFIER = r'\d-\d:42\.0\.0.+?\r\n' # Logical device name
|
||||||
)
|
LUXEMBOURG_ELECTRICITY_USED_TARIFF_GLOBAL = r'\d-\d:1\.8\.0.+?\r\n' # Total imported energy register (P+)
|
||||||
LUXEMBOURG_EQUIPMENT_IDENTIFIER = r"\d-\d:42\.0\.0.+?\r\n" # Logical device name
|
LUXEMBOURG_ELECTRICITY_DELIVERED_TARIFF_GLOBAL = r'\d-\d:2\.8\.0.+?\r\n' # Total exported energy register (P-)
|
||||||
LUXEMBOURG_ELECTRICITY_USED_TARIFF_GLOBAL = (
|
SWEDEN_ELECTRICITY_USED_TARIFF_GLOBAL = r'\d-\d:1\.8\.0.+?\r\n' # Total imported energy register (P+)
|
||||||
r"\d-\d:1\.8\.0.+?\r\n" # Total imported energy register (P+)
|
SWEDEN_ELECTRICITY_DELIVERED_TARIFF_GLOBAL = r'\d-\d:2\.8\.0.+?\r\n' # Total exported energy register (P-)
|
||||||
)
|
Q3D_EQUIPMENT_IDENTIFIER = r'\d-\d:0\.0\.0.+?\r\n' # Logical device name
|
||||||
LUXEMBOURG_ELECTRICITY_DELIVERED_TARIFF_GLOBAL = (
|
Q3D_EQUIPMENT_STATE = r'\d-\d:96\.5\.5.+?\r\n' # Device state (hexadecimal)
|
||||||
r"\d-\d:2\.8\.0.+?\r\n" # Total exported energy register (P-)
|
Q3D_EQUIPMENT_SERIALNUMBER = r'\d-\d:96\.1\.255.+?\r\n' # Device Serialnumber
|
||||||
)
|
|
||||||
SWEDEN_ELECTRICITY_USED_TARIFF_GLOBAL = (
|
|
||||||
r"\d-\d:1\.8\.0.+?\r\n" # Total imported energy register (P+)
|
|
||||||
)
|
|
||||||
SWEDEN_ELECTRICITY_DELIVERED_TARIFF_GLOBAL = (
|
|
||||||
r"\d-\d:2\.8\.0.+?\r\n" # Total exported energy register (P-)
|
|
||||||
)
|
|
||||||
|
|
||||||
Q3D_EQUIPMENT_IDENTIFIER = r"\d-\d:0\.0\.0.+?\r\n" # Logical device name
|
|
||||||
Q3D_EQUIPMENT_STATE = r"\d-\d:96\.5\.5.+?\r\n" # Device state (hexadecimal)
|
|
||||||
Q3D_EQUIPMENT_SERIALNUMBER = r"\d-\d:96\.1\.255.+?\r\n" # Device Serialnumber
|
|
||||||
|
Loading…
Reference in New Issue
Block a user