Hallo,
sorry muss jetzt doch mal nachfragen, da ich irgendwie nicht weiter komme.
Habe einen AS1440 Zähler von elster und einen USB Schreib lesekopf von Weidmann.
Leider bekomme ich in iobroker keine Werte angezeigt, es wird nur "No or too long answer from Serial Device after last request." angezeigt.
Wo könnte das Problem liegen?
Es werden scheinbar auch Werte vom Zähler gelesen.
Ich hoffe jemand kann mir weiterhelfen.
Viele Grüße
René
Anbei die Ausgaben:
Der cat Befehl liefert folgende Werte:
root@raspberrypi:/home/pi# cat /dev/ttyUSB1 | od -tx1
0000000 03 7f 0a 30 08 53 42 1e 67 02 08 05 4b 00 7e 0a
0000020 24 24 00 1a 70 1a 60 02 43 00 32 35 43 1a 00 0c
0000040 0a 20 22 0a 30 08 1a 34 00 13 04 7e 0a 24 28 23
0000060 00 7e 1a 02 42 1a 20 0a 00 3a 68 1a 20 0c 03 10
0000100 0a 00 2a 0a 30 0c 0b 38 43 1a 00 44 0a 04 28 1a
0000120 00 02 1a 00 0c 16 5a 68 0a 20 2a 43 0b 0a 30 08
0000140 02 46 1a 34 2c 2b 1e 75 4b 38 7e 0a 24 20 5b 0c
0000160 0b 71 16 66 1a 02 02 1b 38 43 1a 20 00 0a 00 2a
0000200 00 1a 50 05 0c 42 43 00 1a 34 20 13 04 7e 0a 24
0000220 28 43 04 7e 1a 20 02 32 00 1a 20 0c 0a 30 22 0a
0000240 30 08 1b 38 43 7f 32 08 36 18 02 4c 16 1a 68 0a
0000260 24 28 03 10 1a 00 02 1a 02 28 02 7f 02 0a 20 2a
0000300 42 22 02 69 0a 00 08 1a 30 00 0a 24 28 00 3a 68
0000320 1a 00 46 03 10 0b 38 43 1a 20 28 4b 18 7e 0a 20
0000340 2a 5b 0e 5a 62 0a 30 08 1a 34 20 03 04 7e 0a 24
Wenn ich den Smartmeter Adapter auf debug setze erhalte ich folgendes im Log:
smartmeter.0	2018-12-18 17:48:41.898	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:41.869	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~\u001a\u0000,\u0002(\n " -> null
smartmeter.0	2018-12-18 17:48:41.869	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:41.867	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:41.852	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~\u001a\u0000,\u0002(\n" -> null
smartmeter.0	2018-12-18 17:48:41.851	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:41.844	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.981	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~\u001a\u0000,\u0002(" -> null
smartmeter.0	2018-12-18 17:48:40.981	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.979	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.949	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~\u001a\u0000,\u0002" -> null
smartmeter.0	2018-12-18 17:48:40.949	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.948	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.808	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~\u001a\u0000," -> null
smartmeter.0	2018-12-18 17:48:40.808	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.805	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.792	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~\u001a\u0000" -> null
smartmeter.0	2018-12-18 17:48:40.792	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.790	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.741	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~\u001a" -> null
smartmeter.0	2018-12-18 17:48:40.740	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.738	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.332	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004~" -> null
smartmeter.0	2018-12-18 17:48:40.331	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.330	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.319	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003\u0004" -> null
smartmeter.0	2018-12-18 17:48:40.319	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.319	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.319	debug	SET MESSAGE TIMEOUT TIMER2: 120000
smartmeter.0	2018-12-18 17:48:40.317	debug	DONE SEND 0
smartmeter.0	2018-12-18 17:48:40.267	debug	MATCH-RESULT SIGNON: "+?!\r\n\u0003" -> null
smartmeter.0	2018-12-18 17:48:40.266	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.262	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.189	debug	MATCH-RESULT SIGNON: "+?!\r\n" -> null
smartmeter.0	2018-12-18 17:48:40.189	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.186	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.123	debug	MATCH-RESULT SIGNON: "+?!\r" -> null
smartmeter.0	2018-12-18 17:48:40.123	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.123	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.090	debug	MATCH-RESULT SIGNON: "+?!" -> null
smartmeter.0	2018-12-18 17:48:40.090	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.090	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.058	debug	MATCH-RESULT SIGNON: "+?" -> null
smartmeter.0	2018-12-18 17:48:40.058	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.058	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:40.054	debug	DONE SEND 1
smartmeter.0	2018-12-18 17:48:40.020	debug	MATCH-RESULT SIGNON: "+" -> null
smartmeter.0	2018-12-18 17:48:40.020	debug	CURRENT PROCESS STEP 2 IN CHECKMESSAGE
smartmeter.0	2018-12-18 17:48:40.020	debug	NEW DATA
smartmeter.0	2018-12-18 17:48:39.971	debug	TO SEND 1: /?!
smartmeter.0	2018-12-18 17:48:39.971	debug	CURRENT PROCESS STEP 1 IN GETNEXTMESSAGE
smartmeter.0	2018-12-18 17:48:39.971	debug	TO SEND 2:
smartmeter.0	2018-12-18 17:48:39.971	debug	CURRENT PROCESS STEP 0 IN GETNEXTMESSAGE
smartmeter.0	2018-12-18 17:48:39.971	debug	INITIAL MESSAGES TO SEND: 2
smartmeter.0	2018-12-18 17:48:39.947	debug	SERIALPORT RESET BAUDRATE TO 300
smartmeter.0	2018-12-18 17:48:39.947	debug	SERIALPORT OPEN
smartmeter.0	2018-12-18 17:48:39.947	debug	CREATE SERIALPORT: 300 7 1 even
smartmeter.0	2018-12-18 17:48:39.947	debug	SmartmeterObis options: {"debug":2,"protocol":"D0Protocol","transport":"SerialRequestResponseTransport","requestInterval":"300","anotherQueryDelay":"1000","transportSerialPort":"/dev/ttyUSB1","transpo
smartmeter.0	2018-12-18 17:48:39.946	info	starting. Version 1.2.2 in /opt/iobroker/node_modules/iobroker.smartmeter, node: v6.14.1
Einstellungen:
Dateianhang
4154_unbenannt.png