
Wenn ich was testen soll was das Plugin angeht einfach bescheid geben. Werd ja beim nächsten Update spätestens dann merken was nicht geklappt hat.
Hab auf jeden Fall Dank für die schnelle Hilfe und Anpassung.
# tiffy.yaml Stromzaehler: version: type: str dlms_obis_code: - 1-0:0.2.0*255 - 0 - Value - str details: type: str dlms_obis_code: - 1-0:96.1.0*255 - 0 - Value - str zaehlerstand1: type: foo dlms_obis_code: - '1-0:1.8.0*255' - '0' - Value - float zaehlerstand2: type: num dlms_obis_code: - '1-0:1.8.0*255' - '0' - Value - float zaehlerstand3: # kann nicht funktionieren, der obis code ist unvollständig type: str dlms_obis_code: - '1.8.0*255' - '0' - Value - str zaehlerstand4: # kann nicht funktionieren, der obis code ist unvollständig type: num dlms_obis_code: - '1.8.0*255' - '0' - Value - float zaehlerstand5: type: num dlms_obis_code: - '1-0:1.8.0*255' - '0' - Value - str
Stromzaehler: zaehlerstand1: type: foo dlms_obis_code: - '1-0:1.8.0*255' - '0' - Value - float zaehlerstand2: type: num dlms_obis_code: - '1-0:1.8.0*255' - '0' - Value - float zaehlerstand3: type: str dlms_obis_code: - '1.8.0*255' - '0' - Value - str zaehlerstand4: type: num dlms_obis_code: - '1.8.0*255' - '0' - Value - float
/LOG5LK13BE803039 1-0:96.1.0*255(001LOG0065267445) 1-0:1.8.0*255(009364.3661*kWh) 1-0:2.8.0*255(000000.0000*kWh) 1-0:16.7.0*255(000910*W) 1-0:32.7.0*255(235.6*V) 1-0:52.7.0*255(236.6*V) 1-0:72.7.0*255(235.9*V) 1-0:31.7.0*255(002.02*A) 1-0:51.7.0*255(001.55*A) 1-0:71.7.0*255(001.15*A) 1-0:81.7.1*255(119*deg) 1-0:81.7.2*255(240*deg) 1-0:81.7.4*255(031*deg) 1-0:81.7.15*255(036*deg) 1-0:81.7.26*255(039*deg) 1-0:14.7.0*255(50.0*Hz) 1-0:1.8.0*96(00020.5*kWh) 1-0:1.8.0*97(00147.5*kWh) 1-0:1.8.0*98(00532.6*kWh) 1-0:1.8.0*99(05031.8*kWh) 1-0:1.8.0*100(09364.3*kWh) 1-0:0.2.0*255(ver.03,432F,20170504) 1-0:96.90.2*255(0F66) 1-0:97.97.0*255(00000000) !
2022-01-19 19:43:23 DEBUG plugins.dlms scheduler_remove: name = plugins.dlms.DLMS 2022-01-19 19:43:23 DEBUG plugins.dlms Plugin 'dlms': stop method called 2022-01-19 19:43:41 DEBUG plugins.dlms.dlms init plugin component plugins.dlms.dlms 2022-01-19 19:43:41 DEBUG plugins.dlms init plugins.dlms 2022-01-19 19:43:41 DEBUG plugins.dlms Instance 0 of DLMS configured to use serialport '/dev/ttyUSB0' with update cycle of 45 seconds 2022-01-19 19:43:41 DEBUG plugins.dlms Config: {'serialport': '/dev/ttyUSB0', 'device': '', 'querycode': '?', 'timeout': 2, 'baudrate': 9600, 'baudrate_fix': True, 'use_checksum': False, 'onlylisten': True, 'reset_baudrate': True, 'no_waiting': False} 2022-01-19 19:43:41 DEBUG plugins.dlms init done 2022-01-19 19:43:44 DEBUG plugins.dlms Item 'Stromzaehler.Auslesung' has Attribute 'dlms_obis_readout' so it is added to the list of items to receive full OBIS Code readout 2022-01-19 19:43:44 DEBUG plugins.dlms Item 'Stromzaehler.Seriennummer' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2022-01-19 19:43:44 DEBUG plugins.dlms The OBIS Code '1-1:0.0.0' is added to the list of codes to inspect 2022-01-19 19:43:45 DEBUG plugins.dlms Plugin 'dlms': run method called 2022-01-19 19:43:45 DEBUG plugins.dlms scheduler_add: name = plugins.dlms.DLMS, parameters: prio=5, cycle=45, next=datetime.datetime(2022, 1, 19, 19, 43, 45, 251528, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')) 2022-01-19 19:43:45 DEBUG plugins.dlms run dlms 2022-01-19 19:43:45 DEBUG plugins.dlms.dlms Config='{'serialport': '/dev/ttyUSB0', 'device': '', 'querycode': '?', 'timeout': 2, 'baudrate': 9600, 'baudrate_fix': True, 'use_checksum': False, 'onlylisten': True, 'reset_baudrate': True, 'no_waiting': False}' 2022-01-19 19:43:45 DEBUG plugins.dlms.dlms Time to open serial port /dev/ttyUSB0: 12.39 ms 2022-01-19 19:43:45 DEBUG plugins.dlms.dlms start to read data from serial device 2022-01-19 19:43:46 DEBUG plugins.dlms.dlms finished reading data from serial device after 674 bytes 2022-01-19 19:43:46 DEBUG plugins.dlms.dlms The manufacturer for LOG is unknown (out of 0 given manufacturers) 2022-01-19 19:43:46 DEBUG plugins.dlms.dlms Time for reading OBIS data: 1.25 s 2022-01-19 19:43:46 DEBUG plugins.dlms.dlms Whole communication with smartmeter took 1.26 s 2022-01-19 19:43:46 DEBUG plugins.dlms.dlms checksum calculation skipped 2022-01-19 19:43:46 DEBUG plugins.dlms.dlms the whole query took 1.26 s, suggested cycle thus is at least 11.26 s 2022-01-19 19:43:46 DEBUG plugins.dlms readout size is 674 2022-01-19 19:43:46 WARNING plugins.dlms Any line with OBIS Code should have at least one data item 2022-01-19 19:43:46 ERROR plugins.dlms An empty line was encountered! 2022-01-19 19:43:46 DEBUG plugins.dlms All lines inspected, no more data
2022-01-19 12:04:03 DEBUG plugins.dlms init plugins.dlms 2022-01-19 12:04:03 DEBUG plugins.dlms Instance 0 of DLMS configured to use serialport '/dev/ttyUSB0' with update cycle of 45 seconds 2022-01-19 12:04:03 DEBUG plugins.dlms Config: {'serialport': '/dev/ttyUSB0', 'device': '', 'querycode': '?', 'timeout': 2, 'baudrate': 9600, 'baudrate_fix': True, 'use_checksum': False, 'onlylisten': True, 'reset_baudrate': True, 'no_waiting': False} 2022-01-19 12:04:03 DEBUG plugins.dlms init done 2022-01-19 12:04:06 DEBUG plugins.dlms Item 'Stromzaehler.Auslesung' has Attribute 'dlms_obis_readout' so it is added to the list of items to receive full OBIS Code readout 2022-01-19 12:04:06 DEBUG plugins.dlms Item 'Stromzaehler.Seriennummer' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2022-01-19 12:04:06 DEBUG plugins.dlms The OBIS Code '1-1:0.0.0' is added to the list of codes to inspect 2022-01-19 12:04:07 DEBUG plugins.dlms Plugin 'dlms': run method called 2022-01-19 12:04:07 DEBUG plugins.dlms scheduler_add: name = plugins.dlms.DLMS, parameters: prio=5, cycle=45, next=datetime.datetime(2022, 1, 19, 12, 4, 7, 79821, tzinfo=tzfile('/usr/share/zoneinfo/Europe/Berlin')) 2022-01-19 12:04:07 DEBUG plugins.dlms run dlms 2022-01-19 12:04:15 DEBUG plugins.dlms readout size is 21 2022-01-19 12:04:15 WARNING plugins.dlms Any line with OBIS Code should have at least one data item 2022-01-19 12:04:15 DEBUG plugins.dlms All lines inspected, no more data
self.logger.debug(f"Config: {self._config}")
self.init_webinterface()
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Einen Kommentar schreiben: