@dp20eic
Mit einer Neuinstallation unter Beachtung des udev-Bug werden nun Daten ausgetauscht.
Allerdings verstehen sich iobroker.smartmeter und mein Zähler scheinbar nicht.
Ich habe das mal in einen neuen Thread ausgelagert: https://forum.iobroker.net/topic/67066/gs303-mit-smartmeter-auslesen-daten-unvollständig?_=1690117276430
Hat jemand einen Tipp?
NEWS
Latest posts made by lukas.g
-
RE: Lesekopf-probleme wegen udev-Bug
-
GS303 mit smartmeter auslesen - Daten unvollständig?
Nach einigem hin und her habe ich meinen Raspi dazu überreden können, mit meinem Zähler zu kommunizieren. Doch nachdem laut Protokoll eine ganze Menge Daten eingetrudelt sind, scheinen sie als unvollständig angesehen zu werden.
Nun zu den Details:
- Raspberry Pi Zero mit Raspberry Pi Lite
- udev ist auf Version 247.3-7+rpi1+deb11u1 festgezurrt
- Hichi IR USB Lesegerät
- node 16.20.1 von https://github.com/boyphongsakorn/node-pi-zero
- iobroker 6.3.5 mit smartmeter 3.3.4
- Zähler GS303 plus von DIGImeto
Konfiguration, ich habe eingekreist, was ich eingestellt habe:
Folgendes sagt das Protokoll:
2023-07-23 14:32:53.512 - info: admin.0 (16328) ==> Connected system.user.admin from ::ffff:192.168.100.202 2023-07-23 14:33:16.777 - info: admin.0 (16328) <== Disconnect system.user.admin from ::ffff:192.168.100.202 2023-07-23 14:33:27.111 - info: host.rpi-lg2 "system.adapter.smartmeter.0" enabled 2023-07-23 14:33:27.466 - info: host.rpi-lg2 instance system.adapter.smartmeter.0 started with pid 16422 2023-07-23 14:33:48.452 - debug: smartmeter.0 (16422) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-07-23 14:33:48.787 - debug: smartmeter.0 (16422) Objects client ready ... initialize now 2023-07-23 14:33:48.807 - debug: smartmeter.0 (16422) Objects create System PubSub Client 2023-07-23 14:33:48.818 - debug: smartmeter.0 (16422) Objects create User PubSub Client 2023-07-23 14:33:49.067 - debug: smartmeter.0 (16422) Objects client initialize lua scripts 2023-07-23 14:33:49.135 - debug: smartmeter.0 (16422) Objects connected to redis: 127.0.0.1:9001 2023-07-23 14:33:49.291 - debug: smartmeter.0 (16422) Redis States: Use Redis connection: 127.0.0.1:9000 2023-07-23 14:33:49.354 - debug: smartmeter.0 (16422) States create System PubSub Client 2023-07-23 14:33:49.365 - debug: smartmeter.0 (16422) States create User PubSub Client 2023-07-23 14:33:49.468 - debug: smartmeter.0 (16422) States connected to redis: 127.0.0.1:9000 2023-07-23 14:33:49.793 - debug: smartmeter.0 (16422) Plugin sentry Initialize Plugin (enabled=true) 2023-07-23 14:33:53.229 - info: smartmeter.0 (16422) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v16.20.1, js-controller: 4.0.24 2023-07-23 14:33:53.430 - debug: smartmeter.0 (16422) SmartmeterObis options: {"debug":2,"protocol":"D0Protocol","transport":"SerialRequestResponseTransport","requestInterval":"30","anotherQueryDelay":"1000","transportSerialPort":"/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0","transportSerialBaudrate":null,"transportSerialMessageTimeout":null,"protocolD0WakeupCharacters":0,"obisFallbackMedium":1} 2023-07-23 14:33:53.460 - debug: smartmeter.0 (16422) CREATE SERIALPORT: 300 7 1 even 2023-07-23 14:33:53.560 - debug: smartmeter.0 (16422) SERIALPORT OPEN 2023-07-23 14:33:53.793 - debug: smartmeter.0 (16422) SERIALPORT RESET BAUDRATE TO 300 2023-07-23 14:33:53.823 - debug: smartmeter.0 (16422) INITIAL MESSAGES TO SEND: 2 2023-07-23 14:33:53.830 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 0 IN GETNEXTMESSAGE 2023-07-23 14:33:53.836 - debug: smartmeter.0 (16422) TO SEND 2: 2023-07-23 14:33:53.839 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 1 IN GETNEXTMESSAGE 2023-07-23 14:33:53.843 - debug: smartmeter.0 (16422) TO SEND 1: /?! 2023-07-23 14:33:53.969 - debug: smartmeter.0 (16422) connected set to false 2023-07-23 14:33:53.997 - debug: smartmeter.0 (16422) DONE SEND 1 2023-07-23 14:33:54.253 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.288 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.291 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/" -> null 2023-07-23 14:33:54.361 - debug: smartmeter.0 (16422) DONE SEND 0 2023-07-23 14:33:54.377 - debug: smartmeter.0 (16422) SET MESSAGE TIMEOUT TIMER2: 120000 2023-07-23 14:33:54.405 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.410 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.425 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZP" -> null 2023-07-23 14:33:54.475 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.478 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.481 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5G" -> null 2023-07-23 14:33:54.533 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.545 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.548 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS3" -> null 2023-07-23 14:33:54.589 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.593 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.597 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS30" -> null 2023-07-23 14:33:54.626 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.636 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.639 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS303g" -> null 2023-07-23 14:33:54.669 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.675 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.678 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS303g0" -> null 2023-07-23 14:33:54.755 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.760 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.763 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS303g02." -> null 2023-07-23 14:33:54.845 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.848 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.851 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS303g02.04" -> null 2023-07-23 14:33:54.941 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:54.964 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:54.977 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS303g02.04 r5" -> null 2023-07-23 14:33:55.049 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:55.053 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN CHECKMESSAGE 2023-07-23 14:33:55.076 - debug: smartmeter.0 (16422) MATCH-RESULT SIGNON: "/ZPA5GS303g02.04 r56\r\n" -> ["/ZPA5GS303g02.04 r56\r\n","/ZPA5GS303g02.04 r56"] 2023-07-23 14:33:55.078 - debug: smartmeter.0 (16422) PAUSE READING SERIALPORT TO HANDLE MESSAGE 2023-07-23 14:33:55.082 - debug: smartmeter.0 (16422) CLEAR MESSAGE TIMEOUT TIMER 2023-07-23 14:33:55.100 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 2 IN HANDLEMESSAGE 2023-07-23 14:33:55.116 - debug: smartmeter.0 (16422) LEFT AFTER HANDLE-MESSAGE 0 2023-07-23 14:33:55.120 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 3 IN ISPROCESSCOMPLETE: false 2023-07-23 14:33:55.132 - debug: smartmeter.0 (16422) ALL MESSAGES TO SEND: 2 2023-07-23 14:33:55.387 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 3 IN GETNEXTMESSAGE 2023-07-23 14:33:55.393 - debug: smartmeter.0 (16422) TO SEND 2: 050 2023-07-23 14:33:55.595 - debug: smartmeter.0 (16422) DONE SEND 2 2023-07-23 14:33:55.851 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN GETNEXTMESSAGE 2023-07-23 14:33:55.854 - debug: smartmeter.0 (16422) BAUD CHANGEOVER TO 9600 baud 2023-07-23 14:33:55.863 - debug: smartmeter.0 (16422) BAUD CHANGEOVER DONE 2023-07-23 14:33:55.873 - debug: smartmeter.0 (16422) TO SEND 1: 2023-07-23 14:33:55.884 - debug: smartmeter.0 (16422) DONE SEND 0 2023-07-23 14:33:55.889 - debug: smartmeter.0 (16422) RESUME READING SERIALPORT IN FINALIZE 2023-07-23 14:33:55.892 - debug: smartmeter.0 (16422) SET MESSAGE TIMEOUT TIMER: 120000 2023-07-23 14:33:55.900 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN ISPROCESSCOMPLETE: false 2023-07-23 14:33:55.903 - debug: smartmeter.0 (16422) REMAINING DATA AFTER MESSAGE HANDLING: 2023-07-23 14:33:55.906 - debug: smartmeter.0 (16422) END FINALIZE 2023-07-23 14:33:56.316 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:56.322 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN CHECKMESSAGE 2023-07-23 14:33:56.330 - debug: smartmeter.0 (16422) MATCH-RESULT DATA: "\u0000 " -> null 2023-07-23 14:33:56.374 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:56.396 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN CHECKMESSAGE 2023-07-23 14:33:56.417 - debug: smartmeter.0 (16422) MATCH-RESULT DATA: "\u0000 \b 0\u0004\f\u0004\f \u0000 ! \u0000 " -> null 2023-07-23 14:33:56.452 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:56.461 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN CHECKMESSAGE 2023-07-23 14:33:56.473 - debug: smartmeter.0 (16422) MATCH-RESULT DATA: "\u0000 \b 0\u0004\f\u0004\f \u0000 ! \u0000 \u0000\b\u0000 \b 0\u0004\f\u0004\f \u0000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0010\u0000\u0000 $ & \u0000\b\u0000 \b " -> null 2023-07-23 14:33:56.500 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:56.509 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN CHECKMESSAGE 2023-07-23 14:33:56.515 - debug: smartmeter.0 (16422) MATCH-RESULT DATA: "\u0000 \b 0\u0004\f\u0004\f \u0000 ! \u0000 \u0000\b\u0000 \b 0\u0004\f\u0004\f \u0000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0010\u0000\u0000 $ & \u0000\b\u0000 \b 0\u0002\f \f \u0000 \u0000 $ & \u0000\b\u0000 \f 0 \f \f \u0000 \u0000 \u0000 & &" -> null 2023-07-23 14:33:56.576 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:56.579 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN CHECKMESSAGE 2023-07-23 14:33:56.582 - debug: smartmeter.0 (16422) MATCH-RESULT DATA: "\u0000 \b 0\u0004\f\u0004\f \u0000 ! \u0000 \u0000\b\u0000 \b 0\u0004\f\u0004\f \u0000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0010\u0000\u0000 $ & \u0000\b\u0000 \b 0\u0002\f \f \u0000 \u0000 $ & \u0000\b\u0000 \f 0 \f \f \u0000 \u0000 \u0000 & &\u0000\b\u0000 \b 0 \f \f\"\u0000 \u0000 \u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 " -> null 2023-07-23 14:33:56.672 - debug: smartmeter.0 (16422) NEW DATA 2023-07-23 14:33:56.688 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN CHECKMESSAGE 2023-07-23 14:33:56.705 - debug: smartmeter.0 (16422) MATCH-RESULT DATA: "\u0000 \b 0\u0004\f\u0004\f \u0000 ! \u0000 \u0000\b\u0000 \b 0\u0004\f\u0004\f \u0000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0010\u0000\u0000 $ & \u0000\b\u0000 \b 0\u0002\f \f \u0000 \u0000 $ & \u0000\b\u0000 \f 0 \f \f \u0000 \u0000 \u0000 & &\u0000\b\u0000 \b 0 \f \f\"\u0000 \u0000 \u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 0 \u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"\b 2023-07-23 14:34:04.388 - debug: smartmeter.0 (16422) CURRENT PROCESS STEP 4 IN CHECKMESSAGE [... so geht das dann eine Weile weiter...] 2023-07-23 14:34:04.439 - debug: smartmeter.0 (16422) MATCH-RESULT DATA: "\u0000 \b 0\u0004\f\u0004\f \u0000 ! \u0000 \u0000\b\u0000 \b 0\u0004\f\u0004\f \u0000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0010\u0000\u0000 $ & \u0000\b\u0000 \b 0\u0002\f \f \u0000 \u0000 $ & \u0000\b\u0000 \f 0 \f \f \u0000 \u0000 \u0000 & &\u0000\b\u0000 \b 0 \f \f\"\u0000 \u0000 \u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 0 \u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"\b &\b \"\u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0000` $\u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \" & \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \" $ \u0000\b\u0002 \b 0 \f \f \u0000 \"\u0000 \" \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \" \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \" \" \u0000\b\u0000 \b 0 \f \f \u0000 $\u0000 \" 0\u0000\b\u0000 \b 0 \f \f \u0000 &\u0000 \" \u0000\b\u0000 \b 0 \f \f \u0000 0\u0000 \u0000\b\u0000 \b 0 \f \f \u0000 0\u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0000\t\u0000 \b 0 \f \f \u0000 \u0000 0 \u0000\b\u0000 \b 0 \f \f \u0000 \u00000 0 \u0000\b\u0000 \b 0 \f \f \u0000 \"\u0000 & \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 $ \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 $\u0000 \u0000\b\u0000 \b 0 \f \f \u0000 &\u0000 \" \u0000\b\u0000 \b 0 \f \f \u0000 0\u0000 \u0000\b\u0000 \b 0 \f \f \u0000 0\u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 0\u0000\b\u0000 \b 0 \f \f \u00000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 \u0000\b\u0000 \b 0 \f \f \u0000 \"\u0000 0 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 0 \u0000\b\u0000 \b 0 \f \f \u0000 \u0000 & \u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $000\f$\" 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $00 \f \" \u0000B\u0016@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $ $\f\"& 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $ $ \f\"& \"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 &\" \f\"$&&\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"$\f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 & \f\" & \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 $ \f 00\"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \"\"0 \f &&\"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \" \f$\" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 $&0\f0 0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $0\f\"0 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 $\f \" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $\f 0&\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 00&&\f$$$ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0\" $\f$ $\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0&& \f00 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 0 \"\f$0\"0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 &$0 \f &0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 & \" \f&&\" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 $ \f 0&\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $$ \f $ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0&&\f \" 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"$\f $& \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \"0 \f& 0\"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \" &0\u000e0 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \" 00\f 0 0\u0000B\u0006@\u0000\f\b \b 0 \f0\f \u0000 \u0000 &\"\f $$ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 &\"\f $$ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0$&\f 0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 & \f0$ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"0 \f $\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 &\f \" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0002 $\u0000 0$ \f $$ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 0 &\f& $$\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 0 0 \f$& \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 &00 \f00 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 && \"\f& 00\u0000B\u0006@\u0000\b\u0000 \f 0 \f0\f \u0000 \u0000 &\"& \f \"\"0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 & \f $$ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 $& \f $\"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $\" \f\"\" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 00 \f0\"$&\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 $\" \f \u0002B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 00\f&0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 &0 \f0 &0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \" \"\f00 \"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"0 \f0 0&\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"\" 0\f 0 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 0\f0 & \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \"\f 0$ \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \" 0\f 0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 &\f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $\f $0$\u0000J\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $\f0\"$$\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \" \f0 & \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0$\f0 \" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 $\f 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $0 \f \" \"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 00\f\" \" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \"&\f\" & B\u0006@\u0000\b\u0000!\b 0 \f0\f \u0000 0\u0000 \"0$\"\f0 $0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \"$0\"\f0$0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \" \f$& 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \" \"$\f\"00\"\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \"\" \f\"0\"$\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \" & \f$ 0&\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 00 \f\" $\u0000B\u0006@\u0001\b\u0000 \b 0 \f0\f \u0000 \u0000 &&0\f &&\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 $ \f 0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 0 0 \f&0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \" &\f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 &\f \"& \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0 \f && \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 $$0\f \" 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 &\f& \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \"00\f 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 0\f\" \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \" 0\u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 ,0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 ( 0 \f0\f \u0000 \"\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f0 \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006H\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 $\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 &\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 0\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \"\u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f0\f \u0000 \u0000 \f \u0000B\u0006@\u0000\b\u0000 \b 0 \f \f \u0000 \u0000 & \u0000\b\u0000 \b 0\u0002\f \f \u0000 \u0000 \b \b \u0000\b\u0000 \b 0 \f \f$\u0000 \u0000@L`\u0000`L\u0000\b\u0000 \b 0\u0002\f$\f \u0000 \u0000 \u0000 0 \"0 0\u0000\b\u0000 \b 0\u0002\f \f \u0000 \u0000\u0000 \u0000\b\u0000 \b 0\u0002\f0\f \u0000 \u0000\u0002\"&\f0\u0000\u0002\u0000\b\u0000 \b 0\u0002\f$\f\"\u0000 \u0000\"\f$ \u0000\u0004\u0000\b\u0000 \b 0\u0002\f \f$\u0000 \u00000 $\u0000 \u0004\u0000\b\u0000\u0000\b\u0000\u0002\b" -> null 2023-07-23 14:35:55.902 - debug: smartmeter.0 (16422) MESSAGE TIMEOUT TRIGGERED 2023-07-23 14:35:55.912 - debug: smartmeter.0 (16422) Error: No or too long answer from Serial Device after last request. 2023-07-23 14:35:55.923 - warn: smartmeter.0 (16422) No or too long answer from Serial Device after last request. 2023-07-23 14:35:55.926 - debug: smartmeter.0 (16422) Error: No or too long answer from Serial Device after last request. 2023-07-23 14:35:55.930 - debug: smartmeter.0 (16422) Transport Reset!! Restart = true 2023-07-23 14:35:55.934 - debug: smartmeter.0 (16422) STOP 2023-07-23 14:35:55.938 - debug: smartmeter.0 (16422) CLEAR MESSAGE TIMEOUT TIMER 2023-07-23 14:35:55.954 - debug: smartmeter.0 (16422) SERIALPORT CLOSE 2023-07-23 14:35:55.957 - debug: smartmeter.0 (16422) SERIALPORT REMOVE LISTENERS 2023-07-23 14:35:55.966 - debug: smartmeter.0 (16422) CURRENT SIGNON MESSAGE COUNTER 1 OF 1 2023-07-23 14:35:55.969 - debug: smartmeter.0 (16422) DELETE rest of data (0) because new Message start with a new Request Message 2023-07-23 14:35:55.972 - debug: smartmeter.0 (16422) SCHEDULE NEXT RUN IN 30000s 2023-07-23 14:36:04.744 - info: host.rpi-lg2 "system.adapter.smartmeter.0" disabled 2023-07-23 14:36:04.749 - info: host.rpi-lg2 stopInstance system.adapter.smartmeter.0 (force=false, process=true) 2023-07-23 14:36:04.797 - info: smartmeter.0 (16422) Got terminate signal TERMINATE_YOURSELF 2023-07-23 14:36:04.814 - debug: smartmeter.0 (16422) STOP 2023-07-23 14:36:04.817 - debug: smartmeter.0 (16422) CLEAR MESSAGE TIMEOUT TIMER 2023-07-23 14:36:04.821 - info: smartmeter.0 (16422) terminating 2023-07-23 14:36:04.840 - debug: smartmeter.0 (16422) Plugin sentry destroyed 2023-07-23 14:36:04.843 - info: smartmeter.0 (16422) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-07-23 14:36:04.927 - info: host.rpi-lg2 stopInstance system.adapter.smartmeter.0 send kill signal 2023-07-23 14:36:05.646 - info: host.rpi-lg2 instance system.adapter.smartmeter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
Nach dem letzten
MATCH-RESULT DATA [...] -> null
passiert dann aber einfach nichts mehr.
Hat jemand dafür eine Erklärung? -
RE: Lesekopf-probleme wegen udev-Bug
@thomas-braun said in Adapter "smartmeter":
Ja, das ist das kaputte udev.
Sicher, dass es kaputt ist, auch wenn
ls -la /dev/serial/by-id
das Gerät wie erwartet anzeigt? -
RE: Zigbee/Conbee2 funktioniert nach Update nicht mehr (udev)
@thomas-braun said in Zigbee/Conbee2 funktioniert nach Update nicht mehr (udev):
Hast du irgendwie reingeprügelt.
Ich wüsste nicht, wie.
Ich denke, ich habe mich an die hier genannten Vorschläge gehalten! -
RE: Zigbee/Conbee2 funktioniert nach Update nicht mehr (udev)
@mickym said:
nochmalnein
sudo apt update
Hättest ausführen müssen. Also ggf. Genau lesen.Hatte ich, nur nicht dokumentiert, sorry.
Ist aber vielleicht auch daran erkennbar, dass apt policy udev die Quelle auflistet.@thomas-braun said:
Und du hast ein 32bit System. Sonderfall, steht aber auch drin.
Das erklärt wohl, warum der erste Anlauf nicht funktionierte, aber doch hoffentlich nicht, warum der zweite zu einem SEGFAULT führt, oder?
-
RE: Zigbee/Conbee2 funktioniert nach Update nicht mehr (udev)
Ich habe ein ähnliches Problem mit meinem Hichi IR Lesegerät und wurde hierher verwiesen.
"proposed updates" werden nicht als neuer erkannt.
"backports" führt zu einem segmentation fault.
Ist dieser backport nicht kompatibel mit meinem Raspi Zero?
WARNUNG: Siehe unten!proposed updates:
lukas@rpi-lg2:/etc/apt/sources.list.d $ apt policy udev udev: Installed: 247.3-7+rpi1+deb11u2 Candidate: 247.3-7+rpi1+deb11u2 Version table: *** 247.3-7+rpi1+deb11u2 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status 247.3-7+deb11u4 500 500 http://deb.debian.org/debian bullseye-proposed-updates/main armhf Packages lukas@rpi-lg2:/etc/apt/sources.list.d $ sudo apt -t bullseye-proposed-updates install udev Reading package lists... Done Building dependency tree... Done Reading state information... Done udev is already the newest version (247.3-7+rpi1+deb11u2). 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
backports:
lukas@rpi-lg2:/etc/apt/sources.list.d $ sudo apt -t bullseye-backports install udev [...hier wurden die Ausgaben teilweise überschrieben...] See "systemctl status systemd-udevd.service" and "journalctl -xe" for details. invoke-rc.d: initscript udev, action "restart" failed. ● systemd-udevd.service - Rule-based Manager for Device Events and Files Loaded: loaded (/lib/systemd/system/systemd-udevd.service; static) Active: activating (start) since Sat 2023-07-22 10:39:29 CEST; 121ms ago TriggeredBy: ● systemd-udevd-kernel.socket ● systemd-udevd-control.socket Docs: man:systemd-udevd.service(8) man:udev(7) Main PID: 2989 ((md-udevd)) Tasks: 1 CPU: 49ms CGroup: /system.slice/systemd-udevd.service └─2989 (md-udevd) Jul 22 10:39:29 rpi-lg2 systemd[1]: Starting Rule-based Manager for Device Events and Files... Jul 22 10:39:29 rpi-lg2 systemd[1]: systemd-udevd.service: Main process exited, code=killed, status=11/SEGV Jul 22 10:39:29 rpi-lg2 systemd[1]: systemd-udevd.service: Failed with result 'signal'. Jul 22 10:39:29 rpi-lg2 systemd[1]: Failed to start Rule-based Manager for Device Events and Files. Jul 22 10:39:29 rpi-lg2 systemd[1]: systemd-udevd.service: Scheduled restart job, restart counter is at 2. Jul 22 10:39:29 rpi-lg2 systemd[1]: Stopped Rule-based Manager for Device Events and Files. Jul 22 10:39:29 rpi-lg2 systemd[1]: Starting Rule-based Manager for Device Events and Files... dpkg: error processing package udev (--configure): installed udev package post-installation script subprocess returned error exit status 1 Setting up libudev-dev:armhf (252.5-2~bpo11+1) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for initramfs-tools (0.140) ... Errors were encountered while processing: udev E: Sub-process /usr/bin/dpkg returned an error code (1)
Anschließend war das System kaputt. Ich werde es neu Aufsetzen und gleich das "hold" auf udev setzen...
-
RE: Lesekopf-probleme wegen udev-Bug
lukas@rpi-lg2:~ $ sudo apt update Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB] Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB] Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [314 kB] Fetched 13.6 MB in 36s (376 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 4 packages can be upgraded. Run 'apt list --upgradable' to see them. lukas@rpi-lg2:~ $ sudo apt list --upgradable Listing... Done libcamera-apps-lite/stable 1.2.1-1 armhf [upgradable from: 0~git20230301+54a781d-1] libcamera0/stable 0~git20230707+2783c8d8-1 armhf [upgradable from: 0~git20230302+923f5d70-1] python3-libcamera/stable 0~git20230707+2783c8d8-1 armhf [upgradable from: 0~git20230302+923f5d70-1] python3-picamera2/stable 0.3.12-1 all [upgradable from: 0.3.9-1] lukas@rpi-lg2:~ $ apt policy udev udev: Installed: 247.3-7+rpi1+deb11u2 Candidate: 247.3-7+rpi1+deb11u2 Version table: *** 247.3-7+rpi1+deb11u2 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/status
-
RE: Lesekopf-probleme wegen udev-Bug
@homoran
Frische Instanz mit USB-Auswahl:
Debug Log:
2023-07-20 22:48:32.300 - info: host.rpi-lg2 iobroker add smartmeter 0 --host rpi-lg2 --debug 2023-07-20 22:48:49.549 - info: host.rpi-lg2 iobroker host.rpi-lg2 create instance smartmeter 2023-07-20 22:48:49.672 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.alive created 2023-07-20 22:48:49.742 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.connected created 2023-07-20 22:48:49.809 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.compactMode created 2023-07-20 22:48:49.885 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.cpu created 2023-07-20 22:48:49.949 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.cputime created 2023-07-20 22:48:50.007 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.memHeapUsed created 2023-07-20 22:48:50.082 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.memHeapTotal created 2023-07-20 22:48:50.143 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.memRss created 2023-07-20 22:48:50.206 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.uptime created 2023-07-20 22:48:50.277 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.inputCount created 2023-07-20 22:48:50.333 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.outputCount created 2023-07-20 22:48:50.463 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.eventLoopLag created 2023-07-20 22:48:50.559 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.sigKill created 2023-07-20 22:48:50.643 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0.logLevel created 2023-07-20 22:48:50.727 - info: host.rpi-lg2 iobroker host.rpi-lg2 object smartmeter.0.info created 2023-07-20 22:48:50.798 - info: host.rpi-lg2 iobroker host.rpi-lg2 object smartmeter.0.info.connection created 2023-07-20 22:48:50.832 - info: host.rpi-lg2 iobroker host.rpi-lg2 Set default value of smartmeter.0.info.connection: false 2023-07-20 22:48:50.935 - info: host.rpi-lg2 iobroker host.rpi-lg2 object system.adapter.smartmeter.0 created 2023-07-20 22:48:52.158 - info: host.rpi-lg2 iobroker exit 0 2023-07-20 22:48:54.569 - info: host.rpi-lg2 instance system.adapter.smartmeter.0 started with pid 2385 2023-07-20 22:48:55.329 - info: admin.0 (781) ==> Connected system.user.admin from ::ffff:192.168.100.202 2023-07-20 22:49:15.281 - info: smartmeter.0 (2385) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v16.20.1, js-controller: 4.0.24 2023-07-20 22:49:15.488 - error: smartmeter.0 (2385) Serial port device is undefined, check your configuration! 2023-07-20 22:49:17.488 - info: smartmeter.0 (2385) List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"Silicon Labs","serialNumber":"0001","pnpId":"usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0","vendorId":"10c4","productId":"ea60"}] 2023-07-20 22:50:48.066 - info: host.rpi-lg2 stopInstance system.adapter.smartmeter.0 (force=false, process=true) 2023-07-20 22:50:48.111 - info: smartmeter.0 (2385) Got terminate signal TERMINATE_YOURSELF 2023-07-20 22:50:48.185 - info: admin.0 (781) <== Disconnect system.user.admin from ::ffff:192.168.100.202 2023-07-20 22:50:48.141 - info: smartmeter.0 (2385) terminating 2023-07-20 22:50:48.170 - info: smartmeter.0 (2385) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-07-20 22:50:48.304 - info: host.rpi-lg2 stopInstance system.adapter.smartmeter.0 send kill signal 2023-07-20 22:50:48.964 - info: host.rpi-lg2 instance system.adapter.smartmeter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-07-20 22:50:51.457 - info: host.rpi-lg2 instance system.adapter.smartmeter.0 started with pid 2401 2023-07-20 22:51:11.310 - info: smartmeter.0 (2401) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v16.20.1, js-controller: 4.0.24 2023-07-20 22:51:17.340 - info: host.rpi-lg2 stopInstance system.adapter.smartmeter.0 (force=false, process=true) 2023-07-20 22:51:17.389 - info: smartmeter.0 (2401) Got terminate signal TERMINATE_YOURSELF 2023-07-20 22:51:17.447 - info: smartmeter.0 (2401) terminating 2023-07-20 22:51:17.479 - info: smartmeter.0 (2401) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-07-20 22:51:17.559 - info: host.rpi-lg2 stopInstance system.adapter.smartmeter.0 send kill signal 2023-07-20 22:51:18.307 - info: host.rpi-lg2 instance system.adapter.smartmeter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-07-20 22:51:20.701 - info: host.rpi-lg2 instance system.adapter.smartmeter.0 started with pid 2416 2023-07-20 22:51:36.525 - debug: smartmeter.0 (2416) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-07-20 22:51:36.859 - debug: smartmeter.0 (2416) Objects client ready ... initialize now 2023-07-20 22:51:36.878 - debug: smartmeter.0 (2416) Objects create System PubSub Client 2023-07-20 22:51:36.889 - debug: smartmeter.0 (2416) Objects create User PubSub Client 2023-07-20 22:51:37.075 - debug: smartmeter.0 (2416) Objects client initialize lua scripts 2023-07-20 22:51:37.147 - debug: smartmeter.0 (2416) Objects connected to redis: 127.0.0.1:9001 2023-07-20 22:51:37.306 - debug: smartmeter.0 (2416) Redis States: Use Redis connection: 127.0.0.1:9000 2023-07-20 22:51:37.380 - debug: smartmeter.0 (2416) States create System PubSub Client 2023-07-20 22:51:37.391 - debug: smartmeter.0 (2416) States create User PubSub Client 2023-07-20 22:51:37.527 - debug: smartmeter.0 (2416) States connected to redis: 127.0.0.1:9000 2023-07-20 22:51:37.738 - debug: smartmeter.0 (2416) Plugin sentry Initialize Plugin (enabled=true) 2023-07-20 22:51:40.509 - info: smartmeter.0 (2416) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v16.20.1, js-controller: 4.0.24 2023-07-20 22:51:40.708 - debug: smartmeter.0 (2416) SmartmeterObis options: {"debug":2,"protocol":"SmlProtocol","transport":"SerialResponseTransport","requestInterval":"300","anotherQueryDelay":"1000","transportSerialPort":"/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0","transportSerialBaudrate":null,"transportSerialMessageTimeout":null,"protocolSmlIgnoreInvalidCRC":false} 2023-07-20 22:51:40.727 - debug: smartmeter.0 (2416) CREATE SERIALPORT: 9600 8 1 none 2023-07-20 22:51:40.834 - debug: smartmeter.0 (2416) SERIALPORT OPEN 2023-07-20 22:51:40.985 - debug: smartmeter.0 (2416) SET MESSAGE TIMEOUT TIMER: 120000 2023-07-20 22:51:41.084 - debug: smartmeter.0 (2416) connected set to false 2023-07-20 22:53:40.992 - debug: smartmeter.0 (2416) MESSAGE TIMEOUT TRIGGERED 2023-07-20 22:53:41.002 - debug: smartmeter.0 (2416) Error: No or too long answer from Serial Device after last request. 2023-07-20 22:53:41.012 - warn: smartmeter.0 (2416) No or too long answer from Serial Device after last request. 2023-07-20 22:53:41.017 - debug: smartmeter.0 (2416) Error: No or too long answer from Serial Device after last request. 2023-07-20 22:53:41.022 - debug: smartmeter.0 (2416) Transport Reset!! Restart = true 2023-07-20 22:53:41.043 - debug: smartmeter.0 (2416) SERIALPORT CLOSE 2023-07-20 22:53:41.049 - debug: smartmeter.0 (2416) SCHEDULE NEXT RUN IN 300s 2023-07-20 22:58:41.052 - debug: smartmeter.0 (2416) CREATE SERIALPORT: 9600 8 1 none 2023-07-20 22:58:41.064 - debug: smartmeter.0 (2416) SERIALPORT OPEN 2023-07-20 22:58:41.082 - debug: smartmeter.0 (2416) SET MESSAGE TIMEOUT TIMER: 120000 2023-07-20 23:00:41.093 - debug: smartmeter.0 (2416) MESSAGE TIMEOUT TRIGGERED 2023-07-20 23:00:41.097 - debug: smartmeter.0 (2416) Error: No or too long answer from Serial Device after last request. 2023-07-20 23:00:41.101 - warn: smartmeter.0 (2416) No or too long answer from Serial Device after last request. 2023-07-20 23:00:41.103 - debug: smartmeter.0 (2416) Error: No or too long answer from Serial Device after last request. 2023-07-20 23:00:41.106 - debug: smartmeter.0 (2416) Transport Reset!! Restart = true 2023-07-20 23:00:41.114 - debug: smartmeter.0 (2416) SERIALPORT CLOSE 2023-07-20 23:00:41.118 - debug: smartmeter.0 (2416) SCHEDULE NEXT RUN IN 300s
@homoran said in Adapter "smartmeter":
wobei du da ggf. mit dem udev Bug zu kämpfen haben könntest
Verrate mir bitte, was Du mit "dem udev Bug" meinst.
-
RE: Lesekopf-probleme wegen udev-Bug
@homoran
Der Widerspruch von "nur lesen" und "WakeUp" war mir tatsächlich aufgefallen. Da keimte kurz Hoffnung auf, dass ich "nur" zu blöd bin.
Leider hat das keinen Einfluss.Ich habe nun die smartmeter-Instanz nochmal weggeworfen und mit Standardwerten angefangen (für D0 und SML).
Dabei habe ich immer "Serielle Daten werden nur gelesen" und "Serielles Gerät mit bidir. Komm" probiert.
Letztlich nochmal die mutmaßlich vollständige Konfiguration:
Auch die vielleicht unnötige SignOn-Nachricht habe ich nochmal weggelassen.
Immer das gleiche Ergebnis: "No or too long answer from Serial Device after last request."
Zum Schluss noch ein Hinweis: Es kommt immer mal wieder vor, dass iobroker recht unvermittelt meldet, dass eine "Langsame Verbindung erkannt" wurde. Vielleicht hat das ja doch eine konkrete Bewandnis. Allerdings finde ich dazu nichts weiter konkretes in den Logs.
-
RE: Lesekopf-probleme wegen udev-Bug
@thomas-braun
Entsprechend des Handbuches habe ich folgendes eingestellt:
Datenabfrageintervall: 30s
Datenübertragung: Serielle Daten werden nur gelesen
Daten-Protokoll: D0 (WakeUp, SignOn, Data)
Sprache der Datenpunktnamen: Deutsch
Serielles Gerät: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 (/dev/ttyUSB0)
Serielles Gerät: Baudrate: 300 baud
Serielles Gerät: Data-Bits: 7
Serielles Gerät: Stop-Bits: 1
Serielles Gerät: Parität: even
Wartezeit auf serielle Antwort: 2s
Einstellungen Datenprotokoll
D0: Anzahl WakeUp-Zeichen: 0
D0: Geräteadresse:
D0: Kommando SignOn-Nachricht: /?!
D0: Überschreiben des Modus: C
D0: Überschreiben der Baudrate-Änderung: 9600 baud
Verzögerung zwischen zwei SignOn-Nachrichten: 1000 ms
D0: Ersatz OBIS-Medium: 1: StromBei "Wartezeit auf serielle Antwort" habe ich auch 15, 30, 60 Sekunden probiert.
"Mit" und "ohne" "Baudrate-Änderung" ergeben keine Änderung.
Auch SAML habe ich probiert.Ein frisches Log sieht wie folgt aus:
2023-07-20 21:38:29.278 - info: host.rpi stopInstance system.adapter.smartmeter.0 (force=false, process=true) 2023-07-20 21:38:29.323 - info: smartmeter.0 (1896) Got terminate signal TERMINATE_YOURSELF 2023-07-20 21:38:29.372 - info: smartmeter.0 (1896) terminating 2023-07-20 21:38:29.381 - info: smartmeter.0 (1896) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-07-20 21:38:29.434 - info: host.rpi stopInstance system.adapter.smartmeter.0 send kill signal 2023-07-20 21:38:30.147 - info: host.rpi instance system.adapter.smartmeter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-07-20 21:38:32.577 - info: host.rpi instance system.adapter.smartmeter.0 started with pid 1914 2023-07-20 21:38:53.284 - info: smartmeter.0 (1914) starting. Version 3.3.4 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v16.20.1, js-controller: 4.0.24 2023-07-20 21:38:55.780 - info: smartmeter.0 (1914) Error: No or too long answer from Serial Device after last request. 2023-07-20 21:38:55.800 - warn: smartmeter.0 (1914) No or too long answer from Serial Device after last request. 2023-07-20 21:39:27.866 - info: smartmeter.0 (1914) Error: No or too long answer from Serial Device after last request. 2023-07-20 21:39:27.908 - warn: smartmeter.0 (1914) No or too long answer from Serial Device after last request. 2023-07-20 21:39:59.973 - info: smartmeter.0 (1914) Error: No or too long answer from Serial Device after last request. 2023-07-20 21:39:59.977 - warn: smartmeter.0 (1914) No or too long answer from Serial Device after last request. 2023-07-20 21:40:32.002 - info: smartmeter.0 (1914) Error: No or too long answer from Serial Device after last request. 2023-07-20 21:40:32.009 - warn: smartmeter.0 (1914) No or too long answer from Serial Device after last request.
MOD-EDIT: Code in code-tags gesetzt!
PS: Ist es eigentlich richtig, alles zum iobroker.smartmeter in diesen einen Thread zu schreiben? Es scheint so üblich zu sein...