NEWS
Modbus adapter
-
@homoran
Nochmal: der RTU zu ETH läuft schon ewig einwandfrei. Mit Docker, Unraid Unifi... An was hängst dich jetzt auf? Der Docker ist hier sicher NICHT das Problem -
@warp735 sagte in Modbus adapter:
An was hängst dich jetzt auf?
Das wir von dir alle Informationen zu deiner Installation erwarten !
Also bitte zurück zum Thema !
Siehe meinen Hinweis zu deiner Übersetzungseinstellung !
-
@glasfaser
Das "even" wars wohl... Mit Radzio bekomme ich Daten. Bei ioBroker noch nicht. <ich teste mal durch -
@warp735 sagte in Modbus adapter:
@glasfaser
Das "even" wars wohl...siehst Du ... mit den Info´s von dir kommt man weiter .
und deine Screenshot zu den Einstellungen haben dabei geholfen !Eingentlich habe ich mich ausgeklinkt
-
@warp735 sagte in Modbus adapter:
Das "even" wars wohl...
darum wollen wir immer alles sehen!
eine Nacherzählung
@warp735 sagte in Modbus adapter:
Nochmal: der RTU zu ETH läuft schon ewig einwandfrei.
kann immer Fehler enthalten
@warp735 sagte in Modbus adapter:
Bei ioBroker noch nicht
Deswegen warte ich ja immer noch auf das debug-log
-
@glasfaser
Super, vielen dank euch beiden. Die 20480 bringt bei mir nur 0, keine Ahnung warum. Die 20482 bringt die Spannung.Bombe. Vielen Dank
-
-
@warp735 sagte in Modbus adapter:
Hab gerade noch n anderes "Problem" Wäre super, wenn mir einer auf die Sprünge helfen könnte.
Hab nen Eastron Zähler gegen nen Wago Zähler getauscht. Aber die Adressen versteh ich nicht und bekomm auch leider keine Daten reinwas bedeutet denn das Sternchen bei 5000?
Die folgenden Register sind die Spannung L1-L3
kann es sein, dass 5000 nur bei einphasigen Zählern belegt ist (wie auch 500A). ich wüsste nicht was das noch für eine 4. Spannung sein sollte. -
Hier die Lösung
Der Screenshot von Ihm mit dem Modbus Register ist vom Hersteller WAGO
im Orginal wie er hat von KDK
@warp735 sagte in Modbus adapter:
Danke... tatsächlich überlesen. Was hast vorne eingestellt? Ich hab den KDK (Wago kauft nur zu) -
@glasfaser
Das stimmt so nicht... Hab die Anleitung heute von KDK gezogen (da hast die falsche) Ich hab den baugleichen zu Wago 4P pushAber deine Anleitung ergibt mehr Sinn
-
@warp735 sagte in Modbus adapter:
Aber deine Anleitung ergibt mehr Sinn
wieso?
@homoran sagte in Modbus adapter:
was bedeutet denn das Sternchen bei 5000?
da wird das selbe stehen
-
@homoran
das Sternchen wird nirgends aufgelöst -
Hi, ich scheine eine ähnlich aber nicht gleich gelagertes Problem zu haben.
Radzio hat etwas weitergeholfen, so kann ich immerhin sehen, das durchaus Daten gesendet werden
Weiter komme ich aber leider nicht.Bei mir ist die modbus Datenquelle eine ETA PU7 Pelletheizung.
Mit Radzio kann ich in der Adresse 1000+ oder auch 20482 dezimale Werte lesen, die skaliert auch zu denen in der Heizung angezeigten passen.
Im iobroker bekomme ich jedoch immer diese Fehlermeldung für die modbus Instanz.
Wenn ich Adresse 41000 nutze, verschwindet der Fehler, jedoch gibt die Heizung hier nichts brauchbares aus...
Im iobroker kommt nichts an, obwohl immerhin das Objekt angelegt wird:
Hier meine Adaptereinstellungen:
-
@canetlotw Mach mal den Haken bei "Aliases nutzen" raus, kontrolliere dann nochmal die Register und stelle das Loggen auf Debug.
Poste dann das Log als TEXT in Code Tag </>
-
Guten Abend zusammen,
ich habe mal 1-2 Fragen zum Modbus Adapter, welche hoffentlich in diesem Thread richtig aufgehoben sind.
Folgende Log habe ich einmal repräsentativ hier angefügt.
2023-09-21 17:50:13.223 - error: modbus.0 (1212) Can not set value: Attempt to access memory outside buffer bounds 2023-09-21 17:50:55.007 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 17:51:55.009 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 17:52:28.070 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 17:53:28.072 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 17:55:00.063 - info: host.iobroker instance system.adapter.dwd.0 started with pid 15872 2023-09-21 17:55:01.546 - info: dwd.0 (15872) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12 2023-09-21 17:55:02.457 - info: dwd.0 (15872) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-09-21 17:55:02.977 - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-09-21 17:55:18.079 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 17:56:18.081 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 17:56:58.083 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 17:57:58.086 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 17:58:58.084 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 17:59:58.086 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:00:00.058 - info: host.iobroker instance system.adapter.dwd.0 started with pid 16115 2023-09-21 18:00:03.212 - info: dwd.0 (16115) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12 2023-09-21 18:00:05.863 - info: dwd.0 (16115) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-09-21 18:00:06.387 - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-09-21 18:00:18.082 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 18:01:18.084 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:02:13.108 - error: modbus.0 (1212) Can not set value: Attempt to access memory outside buffer bounds 2023-09-21 18:02:35.021 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 18:02:54.448 - info: shelly.0 (5156) [MQTT] Device with client id "shellyplus1pm-a8032ab96370" connected! 2023-09-21 18:03:35.022 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:03:58.089 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 18:04:58.091 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:05:00.064 - info: host.iobroker instance system.adapter.dwd.0 started with pid 16372 2023-09-21 18:05:01.542 - info: dwd.0 (16372) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12 2023-09-21 18:05:02.768 - info: dwd.0 (16372) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-09-21 18:05:03.292 - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-09-21 18:05:33.516 - error: modbus.0 (1212) Can not set value: Attempt to access memory outside buffer bounds 2023-09-21 18:07:34.528 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 18:08:34.532 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:09:05.028 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 18:10:00.059 - info: host.iobroker instance system.adapter.dwd.0 started with pid 16631 2023-09-21 18:10:01.955 - info: dwd.0 (16631) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12 2023-09-21 18:10:03.758 - info: dwd.0 (16631) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-09-21 18:10:04.309 - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-09-21 18:10:05.030 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:10:48.091 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 18:11:48.093 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:12:05.040 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47 2023-09-21 18:12:23.562 - info: admin.0 (246) ==> Connected system.user.admin from ::ffff:192.168.1.119 2023-09-21 18:13:05.042 - info: modbus.0 (1212) Connected to slave 192.168.1.47 2023-09-21 18:13:38.096 - info: modbus.0 (1212) Disconnected from slave 192.168.1.47
2023-09-21 18:57:56.667 - debug: modbus.0 (18045) [DevID_120] Poll start --------------------- 2023-09-21 18:57:56.667 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:57:56.767 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 DONE 2023-09-21 18:57:56.767 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:57:56.870 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 DONE 2023-09-21 18:57:57.921 - debug: modbus.0 (18045) [DevID_1] Poll start --------------------- 2023-09-21 18:57:57.922 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 - 2 registers 2023-09-21 18:57:58.023 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 DONE 2023-09-21 18:57:58.024 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:57:58.126 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 DONE 2023-09-21 18:57:58.177 - debug: modbus.0 (18045) [DevID_110] Poll start --------------------- 2023-09-21 18:57:58.177 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:57:58.277 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 DONE 2023-09-21 18:57:58.278 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:57:58.380 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 DONE 2023-09-21 18:57:58.431 - debug: modbus.0 (18045) [DevID_116] Poll start --------------------- 2023-09-21 18:57:58.431 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:57:58.533 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 DONE 2023-09-21 18:57:58.534 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 - 4 registers 2023-09-21 18:57:58.636 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 DONE 2023-09-21 18:57:58.637 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:57:58.738 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 DONE 2023-09-21 18:57:58.739 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 - 2 registers 2023-09-21 18:57:58.840 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 DONE 2023-09-21 18:57:58.841 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 - 4 registers 2023-09-21 18:57:58.944 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 DONE 2023-09-21 18:57:58.994 - debug: modbus.0 (18045) [DevID_120] Poll start --------------------- 2023-09-21 18:57:58.994 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:57:59.096 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 DONE 2023-09-21 18:57:59.097 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:57:59.198 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 DONE 2023-09-21 18:58:00.248 - debug: modbus.0 (18045) [DevID_1] Poll start --------------------- 2023-09-21 18:58:00.248 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 - 2 registers 2023-09-21 18:58:00.351 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 DONE 2023-09-21 18:58:00.351 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:58:00.454 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 DONE 2023-09-21 18:58:00.504 - debug: modbus.0 (18045) [DevID_110] Poll start --------------------- 2023-09-21 18:58:00.505 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:58:00.607 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 DONE 2023-09-21 18:58:00.607 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:58:00.708 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 DONE 2023-09-21 18:58:00.758 - debug: modbus.0 (18045) [DevID_116] Poll start --------------------- 2023-09-21 18:58:00.758 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:58:00.861 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 DONE 2023-09-21 18:58:00.862 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 - 4 registers 2023-09-21 18:58:00.964 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 DONE 2023-09-21 18:58:00.964 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:58:01.067 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 DONE 2023-09-21 18:58:01.067 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 - 2 registers 2023-09-21 18:58:01.168 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 DONE 2023-09-21 18:58:01.168 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 - 4 registers 2023-09-21 18:58:01.271 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 DONE 2023-09-21 18:58:01.322 - debug: modbus.0 (18045) [DevID_120] Poll start --------------------- 2023-09-21 18:58:01.323 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:58:01.424 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 DONE 2023-09-21 18:58:01.425 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:58:01.527 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 DONE 2023-09-21 18:58:02.578 - debug: modbus.0 (18045) [DevID_1] Poll start --------------------- 2023-09-21 18:58:02.579 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 - 2 registers 2023-09-21 18:58:13.694 - debug: modbus.0 (18045) Socket closed with error 2023-09-21 18:58:13.694 - debug: modbus.0 (18045) Clearing timeout of the current request. 2023-09-21 18:58:13.694 - debug: modbus.0 (18045) Cleaning up request fifo. 2023-09-21 18:58:14.695 - debug: modbus.0 (18045) Closing client on purpose. 2023-09-21 18:58:14.696 - info: modbus.0 (18045) Disconnected from slave 192.168.1.47 2023-09-21 18:59:14.699 - info: modbus.0 (18045) Connected to slave 192.168.1.47 2023-09-21 18:59:14.700 - debug: modbus.0 (18045) [DevID_1] Poll start --------------------- 2023-09-21 18:59:14.700 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 - 2 registers 2023-09-21 18:59:14.802 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 DONE 2023-09-21 18:59:14.803 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:59:14.889 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 DONE 2023-09-21 18:59:14.940 - debug: modbus.0 (18045) [DevID_110] Poll start --------------------- 2023-09-21 18:59:14.940 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:59:15.019 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 DONE 2023-09-21 18:59:15.020 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:59:15.099 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 DONE 2023-09-21 18:59:15.150 - debug: modbus.0 (18045) [DevID_116] Poll start --------------------- 2023-09-21 18:59:15.150 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:59:15.229 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 DONE 2023-09-21 18:59:15.230 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 - 4 registers 2023-09-21 18:59:15.316 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 DONE 2023-09-21 18:59:15.316 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:59:15.400 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 DONE 2023-09-21 18:59:15.400 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 - 2 registers 2023-09-21 18:59:15.483 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 DONE 2023-09-21 18:59:15.483 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 - 4 registers 2023-09-21 18:59:15.566 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 DONE 2023-09-21 18:59:15.616 - debug: modbus.0 (18045) [DevID_120] Poll start --------------------- 2023-09-21 18:59:15.616 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:59:15.700 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 DONE 2023-09-21 18:59:15.700 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:59:15.780 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 DONE 2023-09-21 18:59:16.832 - debug: modbus.0 (18045) [DevID_1] Poll start --------------------- 2023-09-21 18:59:16.833 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 - 2 registers 2023-09-21 18:59:16.920 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 DONE 2023-09-21 18:59:16.920 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:59:17.010 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 DONE 2023-09-21 18:59:17.061 - debug: modbus.0 (18045) [DevID_110] Poll start --------------------- 2023-09-21 18:59:17.062 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:59:17.143 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 52 DONE 2023-09-21 18:59:17.143 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:59:17.223 - debug: modbus.0 (18045) [DevID_110/inputRegs] Poll address 72 DONE 2023-09-21 18:59:17.274 - debug: modbus.0 (18045) [DevID_116] Poll start --------------------- 2023-09-21 18:59:17.274 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:59:17.353 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 52 DONE 2023-09-21 18:59:17.354 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 - 4 registers 2023-09-21 18:59:17.436 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 72 DONE 2023-09-21 18:59:17.437 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:59:17.520 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 342 DONE 2023-09-21 18:59:17.521 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 - 2 registers 2023-09-21 18:59:17.603 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 396 DONE 2023-09-21 18:59:17.604 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 - 4 registers 2023-09-21 18:59:17.686 - debug: modbus.0 (18045) [DevID_116/inputRegs] Poll address 1280 DONE 2023-09-21 18:59:17.737 - debug: modbus.0 (18045) [DevID_120] Poll start --------------------- 2023-09-21 18:59:17.737 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 - 2 registers 2023-09-21 18:59:17.820 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 52 DONE 2023-09-21 18:59:17.821 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 - 2 registers 2023-09-21 18:59:17.900 - debug: modbus.0 (18045) [DevID_120/inputRegs] Poll address 72 DONE 2023-09-21 18:59:18.952 - debug: modbus.0 (18045) [DevID_1] Poll start --------------------- 2023-09-21 18:59:18.953 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 - 2 registers 2023-09-21 18:59:19.041 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 12 DONE 2023-09-21 18:59:19.041 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 - 2 registers 2023-09-21 18:59:19.131 - debug: modbus.0 (18045) [DevID_1/inputRegs] Poll address 342 DONE
Skript v.2023-06-20 *** BASE SYSTEM *** cat: /sys/devices/virtual/dmi/id/sys_vendor: No such file or directory Hardware Vendor : Kernel : x86_64 Userland : amd64 Docker : v8.1.0 Virtualization : Docker Kernel : x86_64 Userland : amd64 Systemuptime and Load: 19:07:15 up 5 days, 5:58, 0 users, load average: 1.73, 1.57, 1.45 CPU threads: 2 *** Time and Time Zones *** Thu Sep 21 17:07:15 UTC 2023 Thu Sep 21 19:07:15 CEST 2023 CEST +0200 Etc/UTC *** User and Groups *** root /root root *** X-Server-Setup *** X-Server: false Desktop: Terminal: *** MEMORY *** total used free shared buff/cache available Mem: 7.8G 3.9G 669M 253M 3.3G 3.1G Swap: 23G 1.1G 22G Total: 31G 5.0G 23G 7792 M total memory 3872 M used memory 3179 M active memory 2564 M inactive memory 669 M free memory 1380 M buffer memory 1870 M swap cache 23447 M total swap 1080 M used swap 22366 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on overlay overlay 2.6T 1.6T 1016G 62% / tmpfs tmpfs 64M 0 64M 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup shm tmpfs 64M 0 64M 0% /dev/shm /dev/mapper/cachedev1 ext4 2.6T 1.6T 1016G 62% /opt/iobroker tmpfs tmpfs 3.9G 0 3.9G 0% /proc/asound tmpfs tmpfs 3.9G 0 3.9G 0% /proc/acpi tmpfs tmpfs 3.9G 0 3.9G 0% /proc/scsi tmpfs tmpfs 3.9G 0 3.9G 0% /sys/firmware Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS /opt/iobroker /dev/mapper/cachedev1[/Docker/iobroker] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/resolv.conf /dev/mapper/cachedev1[/Container/container-station-data/lib/docker/containers/fc3f3c4c81fc4d371ff10ae519deeb41066e2e757561c9f538dca358839bd4af/resolv.conf] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/hostname /dev/mapper/cachedev1[/Container/container-station-data/lib/docker/containers/fc3f3c4c81fc4d371ff10ae519deeb41066e2e757561c9f538dca358839bd4af/hostname] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/hosts /dev/mapper/cachedev1[/Container/container-station-data/lib/docker/containers/fc3f3c4c81fc4d371ff10ae519deeb41066e2e757561c9f538dca358839bd4af/hosts] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user Files in neuralgic directories: /var: 33M /var/ 31M /var/lib 18M /var/lib/apt/lists 18M /var/lib/apt 13M /var/lib/dpkg /opt/iobroker/backups: 1005M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 616M /opt/iobroker/iobroker-data/ 415M /opt/iobroker/iobroker-data/files 132M /opt/iobroker/iobroker-data/files/javascript.admin 129M /opt/iobroker/iobroker-data/files/devices.admin/static 129M /opt/iobroker/iobroker-data/files/devices.admin The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.f95354b8.js.map 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 33M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.10538062.js.map 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.e564fb87.js.map *** NodeJS-Installation *** /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://deb.debian.org/debian bullseye/main amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: 0 *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl No configuration change needed. Multihost discovery server: disabled Discovery authentication: enabled Persistent activation: disabled Objects: jsonl on 127.0.0.1 States: jsonl on 127.0.0.1 Core adapters versions js-controller: 5.0.12 admin: 6.10.1 javascript: 7.1.4 Adapters from github: 1 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alias-manager.0 : alias-manager : iobroker - disabled + system.adapter.backitup.0 : backitup : iobroker - enabled system.adapter.cloud.0 : cloud : iobroker - disabled system.adapter.device-watcher.0 : device-watcher : iobroker - disabled system.adapter.devices.0 : devices : iobroker - disabled system.adapter.dwd.0 : dwd : iobroker - enabled system.adapter.energiefluss.0 : energiefluss : iobroker - disabled system.adapter.feiertage.0 : feiertage : iobroker - enabled system.adapter.ical.0 : ical : iobroker - disabled system.adapter.jarvis.0 : jarvis : iobroker - disabled system.adapter.javascript.0 : javascript : iobroker - disabled system.adapter.meross.0 : meross : iobroker - disabled + system.adapter.modbus.0 : modbus : iobroker - enabled + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.netatmo.0 : netatmo : iobroker - enabled + system.adapter.node-red.0 : node-red : iobroker - enabled, port: 1880, bind: 0.0.0.0 system.adapter.pushover.0 : pushover : iobroker - disabled system.adapter.pvforecast.0 : pvforecast : iobroker - disabled system.adapter.schoolfree.0 : schoolfree : iobroker - enabled + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.shuttercontrol.0 : shuttercontrol : iobroker - enabled system.adapter.snmp.0 : snmp : iobroker - disabled system.adapter.sonos.0 : sonos : iobroker - disabled + system.adapter.sourceanalytix.0 : sourceanalytix : iobroker - enabled system.adapter.telegram.0 : telegram : iobroker - disabled, port: 8443, bind: 0.0.0.0 + system.adapter.vw-connect.0 : vw-connect : iobroker - enabled system.adapter.web.0 : web : iobroker - disabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : iobroker - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.10.1 , installed 6.10.1 Adapter "alias-manager": 1.2.4 , installed 1.2.6 Adapter "backitup" : 2.8.1 , installed 2.8.1 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "device-watcher": 2.9.3 , installed 2.9.3 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "feiertage" : 1.1.0 , installed 1.1.4 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "jarvis" : 3.1.2 , installed 3.1.8 Adapter "javascript" : 7.1.4 , installed 7.1.4 Controller "js-controller": 5.0.12 , installed 5.0.12 Adapter "meross" : 1.15.1 , installed 1.15.1 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "netatmo" : 3.1.0 , installed 3.1.0 Adapter "node-red" : 4.0.3 , installed 4.0.3 Adapter "pushover" : 3.0.3 , installed 3.0.4 Adapter "pvforecast" : 2.7.1 , installed 2.7.1 Adapter "schoolfree" : 1.1.1 , installed 1.1.2 Adapter "shelly" : 6.4.1 , installed 6.4.1 Adapter "shuttercontrol": 1.6.2 , installed 1.6.2 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "snmp" : 2.4.11 , installed 2.4.11 Adapter "socketio" : 6.5.5 , installed 6.5.5 Adapter "sonos" : 2.3.1 , installed 2.3.1 Adapter "telegram" : 1.16.0 , installed 1.16.0 Adapter "terminal" : 1.0.0 , installed 1.0.0 Adapter "vw-connect" : 0.0.67 , installed 0.1.2 Adapter "web" : 6.1.2 , installed 6.1.2 Adapter "ws" : 2.5.5 , installed 2.5.5 Objects and States Please stand by - This may take a while Objects: 10622 States: 8871 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease Reading package lists... Pending Updates: 1 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 1000 82559291 - tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1000 56866846 - tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1000 25973221 - tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1000 25973205 - tcp 0 0 127.0.0.11:39891 0.0.0.0:* LISTEN 0 25586275 - tcp6 0 0 :::8081 :::* LISTEN 1000 25995518 - udp 0 0 127.0.0.11:41697 0.0.0.0:* 0 25586274 - *** Log File - Last 25 Lines *** 2023-09-15 00:37:02.337 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus1pm / shellyplus1pm-a8032ab94e10 / shellyplus1pm#a8032ab94e10#1) (false) 2023-09-15 00:37:03.121 - error: shelly.0 (506) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a876248" 2023-09-15 00:37:04.440 - info: shelly.0 (506) [MQTT] Device with client id "shellyplus2pm-5443b23e5f74" connected! 2023-09-15 00:37:05.005 - error: shelly.0 (506) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a8b94fc" 2023-09-15 00:37:05.005 - error: shelly.0 (506) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-7c87ce65d970" 2023-09-15 00:37:05.006 - error: shelly.0 (506) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a8bf730" 2023-09-15 00:37:05.006 - error: shelly.0 (506) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-a8032ab94e10" 2023-09-15 00:37:05.295 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-b8d61a863524 / shellyplus2pm#b8d61a863524#1) (false) 2023-09-15 00:37:05.587 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus1pm / shellyplus1pm-3c610579bd34 / shellyplus1pm#3c610579bd34#1) (false) 2023-09-15 00:37:06.868 - error: shelly.0 (506) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b8d61a863524" 2023-09-15 00:37:07.457 - error: shelly.0 (506) [MQTT] Unable to get mqttprefix of client with id "shellyplus1pm-3c610579bd34" 2023-09-15 00:37:07.722 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-4022d8da969c / shellyplus2pm#4022d8da969c#1) (false) 2023-09-15 00:37:07.785 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus1pm / shellyplus1pm-7c87ce65d794 / shellyplus1pm#7c87ce65d794#1) (false) 2023-09-15 00:37:11.460 - info: modbus.0 (411) Connected to slave 192.168.1.47 2023-09-15 00:37:12.224 - info: shelly.0 (506) [MQTT] Device with client id "shellyplus2pm-5443b23ecce4" connected! 2023-09-15 00:37:14.432 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-5443b23e5f74 / shellyplus2pm#5443b23e5f74#1) (false) 2023-09-15 00:37:22.217 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-5443b23ecce4 / shellyplus2pm#5443b23ecce4#1) (false) 2023-09-15 00:37:25.564 - info: shelly.0 (506) [MQTT] Device with client id "shellyplus2pm-5443b23fd3dc" connected! 2023-09-15 00:37:27.320 - info: modbus.0 (411) Disconnected from slave 192.168.1.47 2023-09-15 00:37:29.078 - info: shelly.0 (506) [MQTT] Device with client id "shellyplus1pm-a8032abc230c" connected! 2023-09-15 00:37:30.096 - info: shelly.0 (506) [MQTT] Device with client id "shellyplus2pm-5443b23e1a90" connected! 2023-09-15 00:37:35.564 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-5443b23fd3dc / shellyplus2pm#5443b23fd3dc#1) (false) 2023-09-15 00:37:36.407 - info: shelly.0 (506) [MQTT] Device with client id "shellyplus2pm-4022d8dbe474" connected! 2023-09-15 00:37:38.493 - info: shelly.0 (506) [MQTT] Device with client id "shellyplus1-441793a820f4" connected! 2023-09-15 00:37:38.853 - info: shelly.0 (506) [MQTT] Client Close: (shellyplus1pm / shellyplus1pm-a8032abc230c / shellyplus1pm#a8032abc230c#1) (false)
======================= SUMMARY ======================= v.2023-06-20 model name : Intel(R) Celeron(R) J4005 CPU @ 2.00GHz Kernel : x86_64 Userland : amd64 Docker : v8.1.0 Installation: Docker Kernel: x86_64 Userland: amd64 Timezone: Etc/UTC User-ID: 0 X-Server: false Pending OS-Updates: 1 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.8G 3.9G 808M 252M 3.1G 3.1G Swap: 23G 1.1G 22G Total: 31G 5.0G 23G Active iob-Instances: 11 Active repo(s): stable ioBroker Core: js-controller 5.0.12 admin 6.10.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.web.0 : web : iobroker - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 10622 States: 8871 Size of iob-Database: 25M /opt/iobroker/iobroker-data/objects.jsonl 3.0M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
Der Modbus Adapter in der Version 5.0.11 verbindet und trennt die VErbindung zu einem Protoss PE-11 Modbus-Ethernet Adapter mitz der statischen IP 192.168.1.47, an dem in SUmme 3 SDM72 Zähler hängen.
Weitere Register der Zähler lese ich direkt per NodeRed aus und schreibe Sie nach Aufbereitung in eine Influx2.0 DB.
Den Umweg über den ioB wähle ich bei den oben genannten Registern, da ich diese Verbräuche per SourceAnalytics Adapter verarbeitet und dann auch per NodeRed in die InfluxDB schreibe.
Meine Fragen lautet:
Ist dieses Connect / Disconnect VErhalten normal?Ich bekomme auch periodisch Fehlermeldungen (siehe Log). Wie kann ich dies in den Griff bekommen bzw. optimieren?
Folgende Register lese ich aus:
Folgende Apdater-Einstellungen habe ich aktuell am laufen:
Wenn Ihr noch weitere Informationen benötigt, teile ich diese gerne mit.
Danke für Eure Hilfe und Gruß
-
@schtallone sagte in Modbus adapter:
Ist dieses Connect / Disconnect VErhalten normal?
wenn du
@schtallone sagte in Modbus adapter:
Weitere Register der Zähler lese ich direkt per NodeRed aus
auf das selbe Interface zugreifst könnte ich mir das als Ursache vorstellen.
-
@homoran
Ich habe mal die Abfragen über NodeRed deaktiviert. Die Frquenz der Disconnects ist geringer geworden, aber nicht weg:2023-09-21 19:29:58.381 - info: modbus.0 (21734) starting. Version 5.0.11 in /opt/iobroker/node_modules/iobroker.modbus, node: v18.17.1, js-controller: 5.0.12 2023-09-21 19:29:59.582 - info: modbus.0 (21734) Connected to slave 192.168.1.47 2023-09-21 19:30:00.058 - info: host.iobroker instance system.adapter.dwd.0 started with pid 21749 2023-09-21 19:30:02.490 - info: dwd.0 (21749) starting. Version 2.8.5 in /opt/iobroker/node_modules/iobroker.dwd, node: v18.17.1, js-controller: 5.0.12 2023-09-21 19:30:05.734 - info: dwd.0 (21749) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-09-21 19:30:06.258 - info: host.iobroker instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-09-21 19:30:23.880 - info: modbus.0 (21734) Disconnected from slave 192.168.1.47 2023-09-21 19:31:23.882 - info: modbus.0 (21734) Connected to slave 192.168.1.47 2023-09-21 19:31:44.468 - info: modbus.0 (21734) Disconnected from slave 192.168.1.47 2023-09-21 19:32:09.510 - info: admin.0 (246) ==> Connected system.user.admin from ::ffff:192.168.1.119 2023-09-21 19:32:44.471 - info: modbus.0 (21734) Connected to slave 192.168.1.47 2023-09-21 19:33:04.531 - info: modbus.0 (21734) Disconnected from slave 192.168.1.47
-
@schtallone sagte in Modbus adapter:
2023-09-21 18:02:54.448 - info: shelly.0 (5156) [MQTT] Device with client id "shellyplus1pm-a8032ab96370" connected!
Schalte mal testweise die Shelly Instanz aus , danach startest du den Container neu .
Was ist dann , wenn der Shelly Adapter aus ist , mit den Meldungen !?
PS :
Seit 2 Wochen habe ich den Shelly Adapter installiert ( ink 3 Geräte ) , danach habe ich ein merkwürdiges phänomen beim Modbus Adapter festgestellt wie bei dir , nur sind bei mir 5 Instanzen betroffen , die gleich Meldung wie bei dir und beim anlernen einer Shelly bekomme ich ein App Timeout sogar .
Den Hintergrund bin ich selber noch am suchen . -
werde ich gleich mal testen und berichten.
Diese Fehlermeldung kommt aus sporadisch....
2023-09-21 19:36:55.244 - info: modbus.0 (21734) Connected to slave 192.168.1.47 2023-09-21 19:37:02.585 - error: modbus.0 (21734) Can not set value: Attempt to access memory outside buffer bounds 2023-09-21 19:37:24.243 - info: modbus.0 (21734) Disconnected from slave 192.168.1.47
-
Eventuell muß du den "Datenabfrageinterval" höher setzen von 1000 auf z.B 5000 ,
probiere es zusätzlich noch aus !