Hallo Zusammen, ich habe einen Baylan BTK.30. Leider bekomme ich mein Smartmeter Adapter nicht gründ. Ich habe scho unter https://forum.iobroker.net/topic/4685/adapter-smartmeter/3214 und unter https://forum.iobroker.net/topic/4685/adapter-smartmeter/3203?_=1680872638353 einiges gelesen und probiert. Leider hat nichts geholfen.
Alle Adaptereinstellungen stehen auf Standard bzw. Übertragung auf bidir.Komm und Protokoll auf D0.
Fehler Log:
2023-04-07 14:47:54.653 - info: host.raspberrypi instance system.adapter.smartmeter.2 started with pid 3328
2023-04-07 14:47:56.573 - debug: smartmeter.2 (3328) Redis Objects: Use Redis connection: 127.0.0.1:9001
2023-04-07 14:47:56.613 - debug: smartmeter.2 (3328) Objects client ready ... initialize now
2023-04-07 14:47:56.616 - debug: smartmeter.2 (3328) Objects create System PubSub Client
2023-04-07 14:47:56.618 - debug: smartmeter.2 (3328) Objects create User PubSub Client
2023-04-07 14:47:56.643 - debug: smartmeter.2 (3328) Objects client initialize lua scripts
2023-04-07 14:47:56.652 - debug: smartmeter.2 (3328) Objects connected to redis: 127.0.0.1:9001
2023-04-07 14:47:56.676 - debug: smartmeter.2 (3328) Redis States: Use Redis connection: 127.0.0.1:9000
2023-04-07 14:47:56.686 - debug: smartmeter.2 (3328) States create System PubSub Client
2023-04-07 14:47:56.688 - debug: smartmeter.2 (3328) States create User PubSub Client
2023-04-07 14:47:56.702 - debug: smartmeter.2 (3328) States connected to redis: 127.0.0.1:9000
2023-04-07 14:47:56.740 - debug: smartmeter.2 (3328) Plugin sentry Initialize Plugin (enabled=true)
2023-04-07 14:47:57.163 - info: smartmeter.2 (3328) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v18.15.0, js-controller: 4.0.24
2023-04-07 14:47:57.205 - debug: smartmeter.2 (3328) SmartmeterObis options: {"debug":2,"protocol":"D0Protocol","transport":"SerialRequestResponseTransport","requestInterval":"300","anotherQueryDelay":"1000","transportSerialPort":"/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0033-if00-port0","transportSerialBaudrate":null,"transportSerialMessageTimeout":null,"protocolD0WakeupCharacters":0,"protocolD0SignOnMessage":"?","obisFallbackMedium":1}
2023-04-07 14:47:57.209 - debug: smartmeter.2 (3328) CREATE SERIALPORT: 300 7 1 even
2023-04-07 14:47:57.241 - debug: smartmeter.2 (3328) SERIALPORT OPEN
2023-04-07 14:47:57.250 - debug: smartmeter.2 (3328) SERIALPORT RESET BAUDRATE TO 300
2023-04-07 14:47:57.254 - debug: smartmeter.2 (3328) INITIAL MESSAGES TO SEND: 2
2023-04-07 14:47:57.256 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 0 IN GETNEXTMESSAGE
2023-04-07 14:47:57.257 - debug: smartmeter.2 (3328) TO SEND 2:
2023-04-07 14:47:57.258 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 1 IN GETNEXTMESSAGE
2023-04-07 14:47:57.259 - debug: smartmeter.2 (3328) TO SEND 1: /?!
2023-04-07 14:47:57.275 - debug: smartmeter.2 (3328) connected set to false
2023-04-07 14:47:57.413 - debug: smartmeter.2 (3328) DONE SEND 1
2023-04-07 14:47:57.463 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.465 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.466 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/" -> null
2023-04-07 14:47:57.495 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.495 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.496 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/B" -> null
2023-04-07 14:47:57.528 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.528 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.529 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BY" -> null
2023-04-07 14:47:57.561 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.562 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.562 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL" -> null
2023-04-07 14:47:57.595 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.595 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.596 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6" -> null
2023-04-07 14:47:57.628 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.628 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.629 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<" -> null
2023-04-07 14:47:57.662 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.662 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.663 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1" -> null
2023-04-07 14:47:57.667 - debug: smartmeter.2 (3328) DONE SEND 0
2023-04-07 14:47:57.668 - debug: smartmeter.2 (3328) SET MESSAGE TIMEOUT TIMER2: 120000
2023-04-07 14:47:57.695 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.695 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.696 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>" -> null
2023-04-07 14:47:57.728 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.729 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.729 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>B" -> null
2023-04-07 14:47:57.761 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.762 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.762 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BY" -> null
2023-04-07 14:47:57.795 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.795 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.796 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL" -> null
2023-04-07 14:47:57.828 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.828 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.829 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-" -> null
2023-04-07 14:47:57.861 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.862 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.862 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-C" -> null
2023-04-07 14:47:57.894 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.895 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.896 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CR" -> null
2023-04-07 14:47:57.928 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.929 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.929 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH" -> null
2023-04-07 14:47:57.961 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.962 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.962 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-" -> null
2023-04-07 14:47:57.994 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:57.995 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:57.995 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-B" -> null
2023-04-07 14:47:58.028 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.028 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.029 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BT" -> null
2023-04-07 14:47:58.061 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.062 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.062 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK" -> null
2023-04-07 14:47:58.094 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.095 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.096 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK3" -> null
2023-04-07 14:47:58.128 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.128 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.129 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK30" -> null
2023-04-07 14:47:58.161 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.162 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.162 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK30-" -> null
2023-04-07 14:47:58.194 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.195 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.195 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK30-R" -> null
2023-04-07 14:47:58.228 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.228 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.229 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK30-R1" -> null
2023-04-07 14:47:58.261 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.262 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.262 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK30-R1\r" -> null
2023-04-07 14:47:58.294 - debug: smartmeter.2 (3328) NEW DATA
2023-04-07 14:47:58.295 - debug: smartmeter.2 (3328) CURRENT PROCESS STEP 2 IN CHECKMESSAGE
2023-04-07 14:47:58.295 - debug: smartmeter.2 (3328) MATCH-RESULT SIGNON: "/BYL6<1>BYL-CRH-BTK30-R1\r\n" -> null
appolon77 schrieb:
https://github.com/Apollon77/smartmeter-obis/blob/master/lib/protocols/D0Protocol.js Hier zeile 9 das 4,22 heißt „nach dem / kommen vor dem Zeilenende 4 bis 22 Zeichen“. Dein Zähler senden …. Trommelwirbel …. 23 (wenn ich mich nicht verzählt hab) kannst das file mal suchen und nen 23 reinschreiben anstelle der 22. wenn’s dann weitergeht ist’s das. Dann bitte github issue Anlegen. Muss ich wohl das Limit ändern. Hachja. Standards und die Hersteller …
Das habe ich dann bei mir geändert. Nun kommt folgender Fehlerlog:
iobroker.current.log.htm
Es werden also viele Daten empfangen, können aber nicht zugeordnet werden.
Muss ich in der Datei noch was ändern oder gibt es da eine andere Verion?