@wendy2702
Der USB Stick unterstützt leider kein Windows 10.
@klassisch said in Einbindung Stromzähler über RS485 Modbus:
@ining sagte in Einbindung Stromzähler über RS485 Modbus:
Kabel A an A B an B,
Hat leider auch kein Ergebnis gebracht
@wendy2702
Der USB Stick unterstützt leider kein Windows 10.
@klassisch said in Einbindung Stromzähler über RS485 Modbus:
@ining sagte in Einbindung Stromzähler über RS485 Modbus:
Kabel A an A B an B,
Hat leider auch kein Ergebnis gebracht
@wendy2702
mit Float und Poll lässt sich die Länge nicht editieren (bleibt fix 29.
Als Double kann ich den Wert auf 4 stellen mit dem gleichen Ergebnis im Log.
@wendy2702 Baudrate wird angezeigt 9600
4 habe ich auf Poll umgestellt die Länge steht aber immer noch auf 2.
2022-02-13 12:50:05.321 - error: modbus.2 (24677) Wrong CRC for frame: 113,1,99,177,171,0,27,27,27,27,26,0,153,241,27,27,27,27,1,1,1,1,118,7,0,39,5,76,189,219,98,0,98,0,114,99,1,1,118,1,1,7,0,39,6,178,63,73,11,6,69,77,72,1,4,197,109,202,229,1,1,99,184,183,0,118,7,0,39,5,76,189,220,98,0,98,0,114,99,7,1,119,1,11,6,69,77,72,1,4,197,109,202,229,7,1,0,98,10,255,255,114,98,1
2022-02-13 12:50:05.330 - error: modbus.2 (24677) Wrong CRC for frame: 101,6,178,246,218,118,119,7
2022-02-13 12:50:05.337 - error: modbus.2 (24677) Error response: 82
2022-02-13 12:50:05.342 - error: modbus.2 (24677) Wrong CRC for frame: 1,1,1,4,69,77
2022-02-13 12:50:05.473 - error: modbus.2 (24677) Wrong CRC for frame: 72,1,119,7,1,0,0,0,9,255,1,1,1,1,11,6,69,77,72,1,4,197,109,202,229,1,119,7,1,0,2,8,0,255,100,0,0,162,1,98,30,82,255,86,0,11,220,14,196,1,119,7,1,0,2,8,1,255,1,1,98,30,82,255,86,0,11,220,14,197,1,119,7,1,0,16,7,0,255,1,1,98,27,82,255,85,255,255,114,165,1,119,7,129,129,199,130,5,255,1,114,98,1,101,6,178,246,218,1,1,131,2,161,201,201,244,236,154,107,194,147,73,69,228
2022-02-13 12:50:05.480 - error: modbus.2 (24677) unknown function code: 0x22, 0xfd
2022-02-13 12:50:05.486 - error: modbus.2 (24677) unknown function code: 0x56, 0x40
2022-02-13 12:50:05.493 - error: modbus.2 (24677) Error response: 51
2022-02-13 12:50:05.498 - error: modbus.2 (24677) unknown function code: 0x47, 0x98
2022-02-13 12:50:05.505 - error: modbus.2 (24677) Error response: 45
2022-02-13 12:50:05.511 - error: modbus.2 (24677) unknown function code: 0x59, 0x23
2022-02-13 12:50:05.518 - error: modbus.2 (24677) unknown function code: 0x63, 0xeb
2022-02-13 12:50:05.524 - error: modbus.2 (24677) unknown function code: 0x0, 0x27
2022-02-13 12:50:05.529 - error: modbus.2 (24677) unknown function code: 0x62, 0x0
2022-02-13 12:50:05.536 - error: modbus.2 (24677) Wrong CRC for frame: 99,2,1,113,1,99
2022-02-13 12:50:05.542 - error: modbus.2 (24677) unknown function code: 0x5e, 0x0
2022-02-13 12:50:05.550 - error: modbus.2 (24677) unknown function code: 0x1a, 0x0
2022-02-13 12:50:06.598 - error: modbus.2 (24677) unknown function code: 0x1b, 0x1b
2022-02-13 12:50:06.726 - error: modbus.2 (24677) Wrong CRC for frame: 1,1,118,7,0,39,5,76,189,225,98,0,98,0,114,99,1,1,118,1,1,7,0,39,6,178,63,75,11,6,69,77,72,1,4,197,109,202,229,1,1,99,114,213,0,118,7,0,39,5,76,189,226,98,0,98,0,114,99,7,1,119,1,11,6,69,77,72,1,4,197,109,202,229,7,1,0,98,10,255,255,114,98,1,101,6,178,246,220,118,119,7,129,129,199,130,3,255,1,1,1,1,4,69,77,72,1,119,7,1,0,0,0,9,255,1,1,1,1,11,6,69,77
2022-02-13 12:50:06.734 - error: modbus.2 (24677) Wrong CRC for frame: 72,1,4,197,109,202,229,1,119
2022-02-13 12:50:06.741 - error: modbus.2 (24677) Wrong CRC for frame: 7,1,0,2,8
2022-02-13 12:50:06.748 - error: modbus.2 (24677) unknown function code: 0x64, 0x0
2022-02-13 12:50:06.754 - error: modbus.2 (24677) unknown function code: 0x1e, 0x52
2022-02-13 12:50:06.761 - error: modbus.2 (24677) Error response: e
2022-02-13 12:50:06.766 - error: modbus.2 (24677) Wrong CRC for frame: 7,1,0,2,8
2022-02-13 12:50:06.772 - error: modbus.2 (24677) Wrong CRC for frame: 255,1,1,98,30,82
2022-02-13 12:50:06.779 - error: modbus.2 (24677) unknown function code: 0x56, 0x0
2022-02-13 12:50:06.910 - error: modbus.2 (24677) Wrong CRC for frame: 210,1,119,7,1,0,16,7,0,255,1,1,98,27,82,255,85,255,255,114,165,1,119,7,129,129,199,130,5,255,1,114,98,1,101,6,178,246,220,1,1,131,2,161,201,201,244,236,154,107,194,147,73,69,228,134,123,10,34,253,142,77,252,201,86,64,144,75,5,229,233,81,108,40,215,213,71,152,149,196,189,86,203,69,248,248,198,42,89,35,68,1,1,1,99,129,186,0,118,7,0,39,5,76,189,229,98,0,98,0,114,99,2,1,113,1,99,129,218,0,27,27,27,27
2022-02-13 12:50:08.002 - error: modbus.2 (24677) unknown function code: 0xb, 0x1b
2022-02-13 12:50:08.009 - error: modbus.2 (24677) Wrong CRC for frame: 27,1,1,1,1,118
2022-02-13 12:50:08.013 - error: modbus.2 (24677) unknown function code: 0x0, 0x27
2022-02-13 12:50:08.021 - error: modbus.2 (24677) unknown function code: 0x62, 0x0
2022-02-13 12:50:08.028 - error: modbus.2 (24677) Wrong CRC for frame: 99,1,1,118,1,1
2022-02-13 12:50:08.033 - error: modbus.2 (24677) unknown function code: 0x0, 0x27
2022-02-13 12:50:08.040 - error: modbus.2 (24677) unknown function code: 0xb, 0x6
2022-02-13 12:50:08.252 - error: modbus.2 (24677) Wrong CRC for frame: 1,4,197,109,202,229,1,1,99,66,224,0,118,7,0,39,5,76,189,232,98,0,98,0,114,99,7,1,119,1,11,6,69,77,72,1,4,197,109,202,229,7,1,0,98,10,255,255,114,98,1,101,6,178,246,221,118,119,7,129,129,199,130,3,255,1,1,1,1,4,69,77,72,1,119,7,1,0,0,0,9,255,1,1,1,1,11,6,69,77,72,1,4,197,109,202,229,1,119,7,1,0,2,8,0,255,100,0,0,162,1,98,30,82,255,86,0,11,220,14,224,1,119,7,1,0,2,8,1,255,1,1,98,30,82,255,86,0,11,220,14,225,1,119,7,1,0,16,7,0,255,1,1,98,27,82,255,85,255,255,114,120,1,119,7,129,129,199,130,5,255,1,114,98,1,101,6,178,246,221,1,1,131,2,161,201,201,244,236,154,107,194,147,73,69,228,134,123,10,34,253,142
@wendy2702
Weil am Zähler die 001 angezeigt wird:
@wendy2702
Die 2 kam wohl versehentlich rein.
2022-02-11 19:45:32.353 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:33.410 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:34.465 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:35.520 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:36.574 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:37.628 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:38.683 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:39.735 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:40.787 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:41.840 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:42.893 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:43.946 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:44.999 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:46.051 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:47.105 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:48.158 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:49.211 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:50.264 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:51.317 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:52.371 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:53.424 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:54.476 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:55.529 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:56.583 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:57.637 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:58.690 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:45:59.741 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:00.796 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:01.848 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:02.902 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:03.955 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:05.009 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:06.061 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:07.116 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:08.168 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:09.221 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:10.274 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:11.328 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:12.381 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:13.435 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:14.488 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:15.541 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:16.594 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:17.648 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:18.701 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:19.753 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:20.805 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:21.858 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:22.910 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:23.963 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:25.015 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:25.946 - info: modbus.2 (11060) Verify [{"path":"/dev/ttyAMA0"},{"manufacturer":"Silicon Labs","serialNumber":"0c9e8217ae89eb11b3503cc07d11dc1e","pnpId":"usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_0c9e8217ae89eb11b3503cc07d11dc1e-if00-port0","vendorId":"10c4","productId":"ea60","path":"/dev/ttyUSB0"},{"manufacturer":"Silicon Labs","serialNumber":"cc33a4e0ae89eb119b453dc07d11dc1e","pnpId":"usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_cc33a4e0ae89eb119b453dc07d11dc1e-if00-port0","vendorId":"10c4","productId":"ea60","path":"/dev/ttyUSB1"},{"manufacturer":"1a86","pnpId":"usb-1a86_USB2.0-Ser_-if00-port0","vendorId":"1a86","productId":"7523","path":"/dev/ttyUSB2"}]
2022-02-11 19:46:25.952 - info: modbus.2 (11060) Check /dev/ttyAMA0 : true
2022-02-11 19:46:25.953 - info: modbus.2 (11060) Check /dev/ttyUSB0 : true
2022-02-11 19:46:25.954 - info: modbus.2 (11060) Check /dev/ttyUSB1 : true
2022-02-11 19:46:25.954 - info: modbus.2 (11060) Check /dev/ttyUSB2 : true
2022-02-11 19:46:25.955 - info: modbus.2 (11060) List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0"},{"path":"/dev/ttyUSB1"},{"path":"/dev/ttyUSB2"}]
2022-02-11 19:46:25.956 - debug: modbus.2 (11060) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2
2022-02-11 19:46:26.069 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:27.120 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:28.173 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:29.224 - debug: modbus.2 (11060) [DevID_1] Poll start ---------------------
2022-02-11 19:46:29.358 - info: host.raspberrypi stopInstance system.adapter.modbus.2 (force=false, process=true)
2022-02-11 19:46:29.381 - info: modbus.2 (11060) Got terminate signal TERMINATE_YOURSELF
2022-02-11 19:46:29.382 - info: host.raspberrypi stopInstance system.adapter.modbus.2 send kill signal
2022-02-11 19:46:29.387 - info: modbus.2 (11060) terminating
2022-02-11 19:46:29.390 - debug: modbus.2 (11060) Plugin sentry destroyed
2022-02-11 19:46:29.392 - info: modbus.2 (11060) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2022-02-11 19:46:29.398 - debug: modbus.2 (11060) Cleaning up request fifo.
2022-02-11 19:46:29.996 - info: host.raspberrypi instance system.adapter.modbus.2 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2022-02-11 19:46:32.543 - info: host.raspberrypi instance system.adapter.modbus.2 started with pid 11426
2022-02-11 19:46:34.306 - debug: modbus.2 (11426) Redis Objects: Use Redis connection: 127.0.0.1:9001
2022-02-11 19:46:34.504 - debug: modbus.2 (11426) Objects client ready ... initialize now
2022-02-11 19:46:34.523 - debug: modbus.2 (11426) Objects create System PubSub Client
2022-02-11 19:46:34.525 - debug: modbus.2 (11426) Objects create User PubSub Client
2022-02-11 19:46:34.527 - debug: modbus.2 (11426) Objects client initialize lua scripts
2022-02-11 19:46:34.550 - debug: modbus.2 (11426) Objects connected to redis: 127.0.0.1:9001
2022-02-11 19:46:34.565 - debug: modbus.2 (11426) objectDB connected
2022-02-11 19:46:34.570 - debug: modbus.2 (11426) Redis States: Use Redis connection: 127.0.0.1:9000
2022-02-11 19:46:34.584 - debug: modbus.2 (11426) States create System PubSub Client
2022-02-11 19:46:34.586 - debug: modbus.2 (11426) States create User PubSub Client
2022-02-11 19:46:34.600 - debug: modbus.2 (11426) States connected to redis: 127.0.0.1:9000
2022-02-11 19:46:34.601 - debug: modbus.2 (11426) statesDB connected
2022-02-11 19:46:34.856 - debug: modbus.2 (11426) Plugin sentry Initialize Plugin (enabled=true)
2022-02-11 19:46:35.349 - info: modbus.2 (11426) starting. Version 3.4.14 in /opt/iobroker/node_modules/iobroker.modbus, node: v12.22.10, js-controller: 3.3.22
2022-02-11 19:46:35.554 - debug: modbus.2 (11426) Initialize Objects for disInputs: []
2022-02-11 19:46:35.555 - debug: modbus.2 (11426) Initialize Objects for coils: []
2022-02-11 19:46:35.556 - debug: modbus.2 (11426) Initialize Objects for inputRegs: []
2022-02-11 19:46:35.557 - debug: modbus.2 (11426) Initialize Objects for holdingRegs: [{"_address":"4","name":"","description":"","unit":"","type":"floatle","len":2,"factor":1,"offset":0,"formula":"","role":"level","room":"","poll":"","wp":"","cw":"","isScale":"","deviceId":1,"address":4,"id":"holdingRegisters.4"}]
2022-02-11 19:46:35.558 - debug: modbus.2 (11426) Add holdingRegisters.4: {"_id":"holdingRegisters.4","type":"state","common":{"name":"","role":"level","type":"number","read":false,"write":true,"def":0,"unit":""},"native":{"regType":"holdingRegs","address":4,"deviceId":1,"type":"floatle","len":2,"offset":0,"factor":1,"poll":""}}
2022-02-11 19:46:35.948 - debug: modbus.2 (11426) connect to serial /dev/ttyUSB2 with 9600
2022-02-11 19:46:35.963 - info: modbus.2 (11426) Connected to slave
2022-02-11 19:46:35.965 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:37.021 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:38.075 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:39.127 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:40.180 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:41.232 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:42.285 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:43.338 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:44.390 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:45.441 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:46.495 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:47.549 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:48.602 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:49.654 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:50.707 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:51.759 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:52.812 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:53.865 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:54.917 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:55.971 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:57.024 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:58.076 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:46:59.129 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:00.184 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:01.238 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:02.291 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:03.343 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:04.397 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:05.449 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:06.382 - info: modbus.2 (11426) Verify [{"path":"/dev/ttyAMA0"},{"manufacturer":"Silicon Labs","serialNumber":"0c9e8217ae89eb11b3503cc07d11dc1e","pnpId":"usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_0c9e8217ae89eb11b3503cc07d11dc1e-if00-port0","vendorId":"10c4","productId":"ea60","path":"/dev/ttyUSB0"},{"manufacturer":"Silicon Labs","serialNumber":"cc33a4e0ae89eb119b453dc07d11dc1e","pnpId":"usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_cc33a4e0ae89eb119b453dc07d11dc1e-if00-port0","vendorId":"10c4","productId":"ea60","path":"/dev/ttyUSB1"},{"manufacturer":"1a86","pnpId":"usb-1a86_USB2.0-Ser_-if00-port0","vendorId":"1a86","productId":"7523","path":"/dev/ttyUSB2"}]
2022-02-11 19:47:06.388 - info: modbus.2 (11426) Check /dev/ttyAMA0 : true
2022-02-11 19:47:06.389 - info: modbus.2 (11426) Check /dev/ttyUSB0 : true
2022-02-11 19:47:06.390 - info: modbus.2 (11426) Check /dev/ttyUSB1 : true
2022-02-11 19:47:06.390 - info: modbus.2 (11426) Check /dev/ttyUSB2 : true
2022-02-11 19:47:06.391 - info: modbus.2 (11426) List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0"},{"path":"/dev/ttyUSB1"},{"path":"/dev/ttyUSB2"}]
2022-02-11 19:47:06.393 - debug: modbus.2 (11426) sendTo "listUart" to system.adapter.admin.0 from system.adapter.modbus.2
2022-02-11 19:47:06.502 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:07.553 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:08.606 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:09.659 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:10.712 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:11.765 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:12.817 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:13.870 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:14.922 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:15.975 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:17.028 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:18.082 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:19.134 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:20.186 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:21.240 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:22.293 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:23.346 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:24.401 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:25.453 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:26.506 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:27.557 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:28.609 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:29.662 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:30.715 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:31.769 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:32.822 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:33.875 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
2022-02-11 19:47:34.926 - debug: modbus.2 (11426) [DevID_1] Poll start ---------------------
@wendy2702
Ja genau. Durch die Holding Registers bin ich davon ausgegangen, dass der Bereich 40001-49999 ist.
4 alleine liefert auch keinen Wert zurück.
@wendy2702
Connection Wert bleibt auf true.
Der eigentliche Wert ist 0 und wechselt zwischen orange/grün
@wendy2702 said in Einbindung Stromzähler über RS485 Modbus:
/opt/iobroker/log/
Ich habe mal 40004 float genommen:
Status steht nun auf Connection true.
Log:
2022-02-11 18:06:02.950 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:04.004 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:05.057 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:06.112 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:07.167 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:08.221 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:09.274 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:10.326 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:11.380 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:12.442 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:13.494 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:14.548 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:15.600 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:16.653 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:17.705 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:18.757 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:19.810 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:20.863 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
2022-02-11 18:06:21.917 - debug: modbus.2 (18298) [DevID_2] Poll start ---------------------
@wendy2702
Type habe ich noch keinen angegeben. Werte sind nur unter Input registers hinterlegt.
Verkabelung sind ca. 1 Meter, 2 adriges Kabel A an A B an B, ohne Widerstände, Stick wird aus meiner Sicht erkannt da er unter /dev/tty erscheint.
Log:
Meine andere Modbusinstanz (Wärmpepumpe) über TCP funktioniert.
Ich scheitere gerade meinen Stromzähler per RS485 einzubinden.
Stromzähler ist folgender:
DRT428M-2 der per RS485 mit meinem PI kommuniziert.
Am PI steckt ein QITA USB RS485 Konverter.
Ein paar Tipps habe ich schon aus folgendem Thread:
https://forum.iobroker.net/topic/52284/modbus-über-usb-rs485/30
Der Konverter wird erkannt. In der Modbus Instanz habe ich folgende Einstellungen:
Die Registerbeschreibung des Stromzähler ist in nachfolgender PDF enthalten (ab S. 12):
https://stromzähler.eu/media/pdf/1f/d7/ae/DRT428M-Serie_manual-register.pdf
Unter Inputregister 30002 müsste ich also einen Wert erhalten.
Ich erhalte jedoch immer einen Timeout.