Hallo,
hat sich erledigt. soeben einen Betrag gefunden dazu.
ich bin von SmartHomeNG v1.7 auf SmartHomeNG v1.8.1 incl. Plugins umgezogen. Grundsätzlich läuft das System (Python v3.7, Docker Container wurde aus dem Dockerfile vom Smarthome GIT erstellt). Jedoch habe ich mit dem DLMS Plugin ein Problem.
unter v1.7 sieht das Log dazu so aus. Gut zu sehen ist das nur OBIS Code für die Items verwendet wird.
bei der v1.8.1 sieht es nun so aus. Der OBIS Code ist nun ein Array und kein einzelner Wert mehr. Dadurch wird das zugehörige Item nicht geändert.
die YAML sieht wie folgt aus. Die Spezifizierer hatte ich auch schon in einfache Hochkommas. Ohne Erfolg.
Hat jemand eine Idee oder Tipp für mich.
Vielen Dank im Voraus.
Grüße
Mirko
hat sich erledigt. soeben einen Betrag gefunden dazu.
ich bin von SmartHomeNG v1.7 auf SmartHomeNG v1.8.1 incl. Plugins umgezogen. Grundsätzlich läuft das System (Python v3.7, Docker Container wurde aus dem Dockerfile vom Smarthome GIT erstellt). Jedoch habe ich mit dem DLMS Plugin ein Problem.
unter v1.7 sieht das Log dazu so aus. Gut zu sehen ist das nur OBIS Code für die Items verwendet wird.
Code:
2021-02-01 21:08:33 DEBUG plugins.dlms Item 'Energiezaehler.Seriennummer' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2021-02-01 21:08:33 DEBUG plugins.dlms The OBIS Code 'C.1' is added to the list of codes to inspect 2021-02-01 21:08:33 DEBUG plugins.dlms Item 'Energiezaehler.Einheit' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2021-02-01 21:08:33 DEBUG plugins.dlms The OBIS Code '1.8.0' is added to the list of codes to inspect 2021-02-01 21:08:33 DEBUG plugins.dlms Item 'Energiezaehler.Energie' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2021-02-01 21:08:33 DEBUG plugins.dlms The OBIS Code '1.8.0' is added to the list of codes to inspect 2021-02-01 21:14:40 DEBUG plugins.dlms Set item Energiezaehler.Seriennummer for Obis Code C.1 to Value 1ITR0054235901 2021-02-01 21:14:40 DEBUG plugins.dlms Set item Energiezaehler.Einheit for Obis Code 1.8.0 to Value kWh 2021-02-01 21:14:40 DEBUG plugins.dlms Set item Energiezaehler.Energie for Obis Code 1.8.0 to Value 16508.3
Code:
2021-02-01 17:41:38 DEBUG plugins.dlms Item 'Energiezaehler.Seriennummer' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2021-02-01 17:41:38 DEBUG plugins.dlms The OBIS Code '['C.1', 0, 'Value', 'str']' is added to the list of codes to inspect 2021-02-01 17:41:38 DEBUG plugins.dlms Item 'Energiezaehler.Einheit' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2021-02-01 17:41:38 DEBUG plugins.dlms The OBIS Code '['1.8.0', 0, 'Unit', 'str']' is added to the list of codes to inspect 2021-02-01 17:41:38 DEBUG plugins.dlms Item 'Energiezaehler.Energie' has Attribute 'dlms_obis_code' so it is added to the list of items to receive OBIS Code Values 2021-02-01 17:41:38 DEBUG plugins.dlms The OBIS Code '['1.8.0', 0, 'Value', 'num']' is added to the list of codes to inspect 2021-02-01 19:42:46 DEBUG plugins.dlms Exception ''int' object is not iterable' occurred, please inform plugin author! 2021-02-01 19:43:47 DEBUG plugins.dlms Exception ''int' object is not iterable' occurred, please inform plugin author! 2021-02-01 19:44:46 DEBUG plugins.dlms OBIS Code 'F.F' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:44:46 DEBUG plugins.dlms OBIS Code 'C.1' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:44:46 DEBUG plugins.dlms OBIS Code 'C.5.0' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:44:46 DEBUG plugins.dlms OBIS Code '1.8.0' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:44:46 DEBUG plugins.dlms No more data available to read 2021-02-01 19:45:46 DEBUG plugins.dlms OBIS Code 'F.F' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:45:46 DEBUG plugins.dlms OBIS Code 'C.1' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:45:46 DEBUG plugins.dlms OBIS Code 'C.5.0' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:45:46 DEBUG plugins.dlms OBIS Code '1.8.0' '["['C.1', 0, 'Value', 'str']", "['1.8.0', 0, 'Unit', 'str']", "['1.8.0', 0, 'Value', 'num']"]' is not interesting... 2021-02-01 19:45:46 DEBUG plugins.dlms No more data available to read
Code:
Energiezaehler: Seriennummer: type: str dlms_obis_code: - C.1 - 0 - Value - str Einheit: type: str dlms_obis_code: - 1.8.0 - 0 - Unit - str
Vielen Dank im Voraus.
Grüße
Mirko
Kommentar