NEWS
Modbus adapter
-
@klassisch,
danke für deine ausführliche Antwort, auf die ich leider erst jetzt antworten kann.
Ich habe meine Zählerhauptverteilung umgebaut, um einen zusätzlichen Zähler für meine Wärmepumpe einzubauen. Da ich schon 2 Erzeugungsanlagen (BHKW und PV), beide mit Eigenstromnutzung und Einspeisung betreibe, musste ich noch einen EHZ-Platz umbauen.
In diesem Umbau habe ich noch weitere Hutschienenzähler ausgetauscht und jetzt sind 6 Stck. Eastron in den Bus aufgenommen.
Die 6 Zähler sind alle im Zählerschrank installiert und ich habe die Cat7-Kabel nach oben aus dem Schrank in einen Patchverteiler geführt und von da geht ein Buskabel (ca. 10m) zu PiSlave. Die Widerstände werde ich morgen anpassen, im Zählerschrank wollte ich allerdings nicht von Zähler zu Zähler verdrahten, deshalb habe ich die Kabel aus dem Schrank nach oben rausgeführt.
Ja, der Multihost-Betrieb war schon eine Baustelle, die mich immer wieder zu einer Neuinstallation gebracht hat, weil nichts mehr ging. Ich habe die Anleitung von Buanet (Synology, Docker, Mcvalan über Portainer) umgesetzt und nach dem gefühlten 20. Anlauf, einen funktionierenden Multihostbetrieb eingerichtet und konnte mein Homematic-System, testweise steuern.
Die Vis ist noch eine weitere Hürde, mit der ich mich auch noch beschäftige, allerdings habe ich eine funktionierende AIO-Remote-Neo-App, mit dem ich mein IP-Wired-Bus und Funksystem steure.
Ob ich auf den Multihostbetrieb verzichten kann, habe ich noch keine Aktien drin, ich möchte noch Wärmemengenzähler integrieren und seit Mittwoch laufen auch 8 Stck. DS18B20 Temperatursensoren über den Pi.
Der Pi ist im Heizungskeller installiert, wo ich zuerst über D1 Minis und W-LAN, Stromzähler und die Temperatursensoren angeschlossen hatte, was allerdings nicht zuverlässig lief.
Leider bin ich mit meinen 63 Jahren nicht so Fit am Computer, deshalb eine klassische Antwort, ohne passende Bezugseinblendungen.
Viele Baustellen noch, aber danke für die Hinweise und Links!
Gruß stoni -
Moin Freunde des ModBuses,
ich scheitere gerade an der Einbringung von Bender Messgeräten.
Der Aufbau:
Differenzstrommessgerät (via BMS) --> CP907 (Sammelstelle für alles was BMS oder ModBusTCP spricht und unsere Datentankstelle) --> ioBroker.Das Bender CP907 sammelt alle Werte via sämtlicher Protokolle ein und wir wollen diese dort zentral abholen. Alle ModBusTCP Geräte sind bereits erfolgreich in einer Instanz angeschlossen.
Vom Hersteller bekam ich die folgende Übersicht für z.B. den Differenzstromwert in A.
Leider bekomme ich es nicht in den Modbus Adapter rein:
Bekomme dann im Log:
Habe es auch mal Adresse: 626 probiert, dann bekam ich:
Interessanterweise bekomme ich wenn ich den Typ (Hersteller schreibt Float) ändere wenigstens mal Werte durch, aber nicht die Richtigen.
Was verstehe ich hier nicht, bzw. mache ich offensichtlich falsch?
Gruss
-
@fliegema Kenne das Gerät leider nicht, aber die Adresse müsset 626 sein, nicht 1, der Rest sieht imho eigentlich korrekt aus. Vielleicht mal die UnitID als Slave ID eingeben?
Ansonsten bitte mal die Allgemeinen Einstellungen mal posten...Edit:
Sehe gerade: Function Code 0x04 sind nicht die Holding Register, sondern die Eingangsregister... -
@joergh said in Modbus adapter:
UnitID als Slave ID eingebe
Danke Dir! Es klappt. Eingangsregister und Slave ID 10 mit Adresse 626!
Ihr seit die Besten! -
@fliegema Gern geschehen!
-
@fliegema Zeig doch für die Nachwelt mal einen Screenshot mit deiner funktionierenden Konfig.
-
-
@fliegema Ist ja nicht für mich. Habe die HW nicht.
Hast du mehrere Geräte IDs unter der IP Adresse laufen?
-
@wendy2702, jup unter einer IP kann ich mehrere Geräte abfragen.
-
Hallo
Ich habe den Adapter schon sehr lange laufen. Und er funktioniert eigentlich wunderbar.
Aber plötzlich habe ich immer diese Meldungen und der Adapter verliert kurzzeitig die Verbindung.
An was könnte das liegen? Habe nichts an dem Adapter bzw. des SMA WR verändert.modbus.0 2023-05-26 14:55:53.304 warn On error: {"code":"ERR_STREAM_WRITE_AFTER_END"} modbus.s 2023-05-26 14:55:53.304 error Client in error state. modbus.0 2023-05-26 14:55:53.303 error Socket Error modbus.0 2023-05-26 14:55:53.065 warn Poll error count: 6 code: "App Timeout" modbus.0 2023-05-26 14:55:41.814 warn Poll error count: 5 code: "App Timeout" modbus. 2023-05-26 14:55:30.563 warn Poll error count: 4 code: "App Timeout" modbus.0 2023-05-26 14:55:19.311 warn Poll error count: 3 code: "App Timeout" modbus.0 2023-05-26 14:55:08.058 warn
-
@nwh sagte in Modbus adapter:
"App Timeout"
An was könnte das liegen? Habe nichts an dem Adapter bzw. des SMA WR verändert.
Starte mal alles neu , WR , ioBroker ...usw .
-
@glasfaser
Servus, habe ich alles gemacht, aber anscheinend liegt das Problem wo anders.Diese Fehler kommen dauernd.
modbus.0 2023-05-30 19:32:36.047 error Client in error state. modbus.0 2023-05-30 19:32:36.046 error Socket Error modbus.0 2023-05-30 19:31:28.924 error Client in error state. modbus.0 2023-05-30 19:31:28.923 error Socket Error modbus.0 2023-05-30 19:30:20.709 error Client in error state. modbus.0 2023-05-30 19:30:20.709 error Socket Error modbus.0 2023-05-30 19:28:06.371 error Client in error state. modbus.0 2023-05-30 19:28:06.371 error Socket Error modbus.0 2023-05-30 19:26:00.658 error Reconnect did not help, restart adapter modbus.0 2023-05-30 19:24:55.590 error Client in error state. modbus.0 2023-05-30 19:24:55.590 error Socket Error
-
@nwh sagte in Modbus adapter:
aber anscheinend liegt das Problem wo anders.
eventuell einen ( weiteren ) anderen Clint angeschlossen ... WB oder Smartmeter oder .
Versuche nur SMA und ioBroker ( Modbus abfrage )
"App Timeout"
sieht eher aus , als würde die Verbindung auch abgelehnt werden .
-
@glasfaser sagte in Modbus adapter:
@nwh sagte in Modbus adapter:
aber anscheinend liegt das Problem wo anders.
eventuell einen ( weiteren ) anderen Clint angeschlossen ... WB oder Smartmeter oder .
Nein habe ich nicht nur einen Modusbus
Versuche nur SMA und ioBroker ( Modbus abfrage )
"App Timeout"
Das heißt ich soll alle anderne Adapter stoppen?
sieht eher aus , als würde die Verbindung auch abgelehnt werden .
Keine Ahnung ob das so ist, kann man das noch anders herausfinden?
-
@nwh sagte in Modbus adapter:
Das heißt ich soll alle anderne Adapter stoppen?
Ich habe nichts von Adapter ( ioBroker abschalten ) geschrieben , nur das andere Teilnehmer deine SMA abfragen ... eventuell stören !?
-
@glasfaser
Sorry falsch verstanden.
Es greift kein weiterer Teilnehmer auf den SMA zu. -
Versuche :
Stelle in der Modbus Instanz , die Logstufe von Info auf DEBUG ... dann kann man mehr im ioBroker Log dazu sehen !
-
@glasfaser
Ein Auszugmodbus.0 2023-05-30 20:09:39.876 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:09:38.666 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:09:38.666 debug [DevID_3/inputRegs/30775] Calculation result = 0, type = number modbus.0 2023-05-30 20:09:38.665 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:09:38.665 debug [DevID_3/inputRegs/30775] Input Value = 0 modbus.0 2023-05-30 20:09:38.665 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:09:37.752 warn Poll error count: 4 code: "App Timeout" modbus.0 2023-05-30 20:09:36.867 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:09:36.866 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:09:35.806 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:09:35.806 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:09:32.551 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:09:32.551 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:09:28.722 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:09:26.767 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:09:26.767 debug [DevID_3/inputRegs/30775] Calculation result = 0, type = number modbus.0 2023-05-30 20:09:26.767 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:09:26.766 debug [DevID_3/inputRegs/30775] Input Value = 0 modbus.0 2023-05-30 20:09:26.766 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:09:26.499 warn Poll error count: 3 code: "App Timeout" modbus.0 2023-05-30 20:09:24.663 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:09:24.662 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:09:22.703 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:09:22.702 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:09:21.299 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:09:21.298 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:09:15.326 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:09:15.247 warn Poll error count: 2 code: "App Timeout" modbus.0 2023-05-30 20:09:13.669 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:09:13.668 debug [DevID_3/inputRegs/30775] Calculation result = 0, type = number modbus.0 2023-05-30 20:09:13.668 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:09:13.668 debug [DevID_3/inputRegs/30775] Input Value = 0 modbus.0 2023-05-30 20:09:13.667 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:09:12.767 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:09:12.766 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:09:10.667 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:09:10.666 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:09:10.047 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:09:10.047 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:09:04.056 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:09:03.995 warn Poll error count: 1 code: "App Timeout" modbus.0 2023-05-30 20:09:03.152 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:09:03.152 debug [DevID_3/inputRegs/30775] Calculation result = 18, type = number modbus.0 2023-05-30 20:09:03.152 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:09:03.151 debug [DevID_3/inputRegs/30775] Input Value = 18 modbus.0 2023-05-30 20:09:03.151 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:09:01.802 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:09:01.801 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:08:59.543 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:08:59.542 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:08:58.794 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:08:58.793 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:08:52.742 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:08:52.300 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:08:52.299 debug [DevID_3/inputRegs/30775] Calculation result = 18, type = number modbus.0 2023-05-30 20:08:52.299 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:08:52.298 debug [DevID_3/inputRegs/30775] Input Value = 18 modbus.0 2023-05-30 20:08:52.298 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:08:49.898 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:08:49.896 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:08:48.987 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:08:48.986 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:08:47.917 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:08:47.917 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:08:47.916 info Connected to slave 192.168.100.19 modbus.0 2023-05-30 20:07:49.106 debug Closing client on purpose. modbus.0 2023-05-30 20:07:48.107 debug Cleaning up request fifo. modbus.0 2023-05-30 20:07:48.107 debug Clearing timeout of the current request. modbus.0 2023-05-30 20:07:48.106 debug Socket closed with error modbus.0 2023-05-30 20:07:48.106 warn On error: {"code":"ERR_STREAM_WRITE_AFTER_END"} modbus.0 2023-05-30 20:07:48.106 error Client in error state. modbus.0 2023-05-30 20:07:48.105 error Socket Error modbus.0 2023-05-30 20:07:48.103 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:07:48.102 debug [DevID_3/inputRegs/30775] Calculation result = 18, type = number modbus.0 2023-05-30 20:07:48.102 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:07:48.102 debug [DevID_3/inputRegs/30775] Input Value = 18 modbus.0 2023-05-30 20:07:48.101 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:07:47.911 info Disconnected from slave 192.168.100.19 modbus.0 2023-05-30 20:07:47.910 debug Closing client on purpose. modbus.0 2023-05-30 20:07:47.860 warn Poll error count: 6 code: "App Timeout" modbus.0 2023-05-30 20:07:45.693 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:07:45.692 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:07:43.737 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:07:43.736 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:07:42.659 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:07:42.659 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:07:39.530 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:07:37.730 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:07:37.727 debug [DevID_3/inputRegs/30775] Calculation result = 17, type = number modbus.0 2023-05-30 20:07:37.727 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:07:37.727 debug [DevID_3/inputRegs/30775] Input Value = 17 modbus.0 2023-05-30 20:07:37.727 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:07:36.607 warn Poll error count: 5 code: "App Timeout" modbus.0 2023-05-30 20:07:35.927 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:07:35.927 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:07:32.463 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:07:32.462 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:07:31.407 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:07:31.407 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:07:30.816 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:07:28.563 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:07:28.563 debug [DevID_3/inputRegs/30775] Calculation result = 18, type = number modbus.0 2023-05-30 20:07:28.562 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:07:28.562 debug [DevID_3/inputRegs/30775] Input Value = 18 modbus.0 2023-05-30 20:07:28.562 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:07:25.356 warn Poll error count: 4 code: "App Timeout" modbus.0 2023-05-30 20:07:24.652 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:07:24.651 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:07:23.732 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:07:23.731 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:07:20.155 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:07:20.154 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:07:16.657 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:07:14.249 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:07:14.248 debug [DevID_3/inputRegs/30775] Calculation result = 18, type = number modbus.0 2023-05-30 20:07:14.248 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:07:14.248 debug [DevID_3/inputRegs/30775] Input Value = 18 modbus.0 2023-05-30 20:07:14.247 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:07:14.103 warn Poll error count: 3 code: "App Timeout" modbus.0 2023-05-30 20:07:12.282 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:07:12.281 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:07:11.363 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:07:11.363 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:07:08.903 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:07:08.903 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:07:04.012 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:07:02.852 warn Poll error count: 2 code: "App Timeout" modbus.0 2023-05-30 20:07:02.505 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:07:02.504 debug [DevID_3/inputRegs/30775] Calculation result = 18, type = number modbus.0 2023-05-30 20:07:02.503 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:07:02.503 debug [DevID_3/inputRegs/30775] Input Value = 18 modbus.0 2023-05-30 20:07:02.503 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:07:00.402 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:07:00.401 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:06:57.827 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:06:57.826 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:06:57.651 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:06:57.651 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:06:55.418 debug [DevID_3/inputRegs] Poll address 30953 DONE modbus.0 2023-05-30 20:06:53.031 debug [DevID_3/inputRegs] Poll address 30953 - 2 registers modbus.0 2023-05-30 20:06:53.029 debug [DevID_3/inputRegs/30775] Calculation result = 18, type = number modbus.0 2023-05-30 20:06:53.028 debug [DevID_3/inputRegs/30775] Formula = x = (x<0) ? 0:x modbus.0 2023-05-30 20:06:53.028 debug [DevID_3/inputRegs/30775] Input Value = 18 modbus.0 2023-05-30 20:06:53.027 debug [DevID_3/inputRegs] Poll address 30775 DONE modbus.0 2023-05-30 20:06:51.599 warn Poll error count: 1 code: "App Timeout" modbus.0 2023-05-30 20:06:50.029 debug [DevID_3/inputRegs] Poll address 30775 - 8 registers modbus.0 2023-05-30 20:06:50.027 debug [DevID_3/inputRegs] Poll address 30513 DONE modbus.0 2023-05-30 20:06:48.519 debug [DevID_3/inputRegs] Poll address 30513 - 26 registers modbus.0 2023-05-30 20:06:48.517 debug [DevID_3/inputRegs] Poll address 30201 DONE modbus.0 2023-05-30 20:06:46.399 debug [DevID_3/inputRegs] Poll address 30201 - 4 registers modbus.0 2023-05-30 20:06:46.399 debug Initialization of scale factors done! modbus.0 2023-05-30 20:06:46.398 debug [DevID_3] Poll start --------------------- modbus.0 2023-05-30 20:06:46.397 info Connected to slave 192.168.100.19 modbus.0 2023-05-30 20:06:45.116 debug Initialize Objects for holdingRegs: [] modbus.0 2023-05-30 20:06:45.115 debug Add inputRegisters.30953_Temperatur: {"_id":"inputRegisters.30953_Temperatur","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"C"},"native":{"regType":"inputRegs","address":30953,"deviceId":3,"type":"int32be","len":2,"offset":0,"factor":0.1}} modbus.0 2023-05-30 20:06:45.115 debug Add inputRegisters.30781_Power_L3: {"_id":"inputRegisters.30781_Power_L3","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"W"},"native":{"regType":"inputRegs","address":30781,"deviceId":3,"type":"int32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.115 debug Add inputRegisters.30779_Power_L2: {"_id":"inputRegisters.30779_Power_L2","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"W"},"native":{"regType":"inputRegs","address":30779,"deviceId":3,"type":"int32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.114 debug Add inputRegisters.30777_Power_L1: {"_id":"inputRegisters.30777_Power_L1","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"W"},"native":{"regType":"inputRegs","address":30777,"deviceId":3,"type":"int32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.114 debug Add inputRegisters.30775_Power: {"_id":"inputRegisters.30775_Power","type":"state","common":{"name":"Aktuelle Leistung","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"W"},"native":{"regType":"inputRegs","address":30775,"deviceId":3,"type":"int32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.114 debug Add inputRegisters.30537_Tagesertrag: {"_id":"inputRegisters.30537_Tagesertrag","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"kWh"},"native":{"regType":"inputRegs","address":30537,"deviceId":3,"type":"uint32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.113 debug Add inputRegisters.30535_Tagesertag: {"_id":"inputRegisters.30535_Tagesertag","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"Wh"},"native":{"regType":"inputRegs","address":30535,"deviceId":3,"type":"uint32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.113 debug Add inputRegisters.30533_Gesamtertrag: {"_id":"inputRegisters.30533_Gesamtertrag","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"Mh"},"native":{"regType":"inputRegs","address":30533,"deviceId":3,"type":"uint32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.113 debug Add inputRegisters.30525_Feed_In_Time: {"_id":"inputRegisters.30525_Feed_In_Time","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"s"},"native":{"regType":"inputRegs","address":30525,"deviceId":3,"type":"uint64be","len":4,"offset":0,"factor":0.1}} modbus.0 2023-05-30 20:06:45.112 debug Add inputRegisters.30521_Operating_Time: {"_id":"inputRegisters.30521_Operating_Time","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"s"},"native":{"regType":"inputRegs","address":30521,"deviceId":3,"type":"uint64be","len":4,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.112 debug Add inputRegisters.30517_Tagesertag: {"_id":"inputRegisters.30517_Tagesertag","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"Wh"},"native":{"regType":"inputRegs","address":30517,"deviceId":3,"type":"uint64be","len":4,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.112 debug Add inputRegisters.30513_SMA_Leistung: {"_id":"inputRegisters.30513_SMA_Leistung","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"kWh"},"native":{"regType":"inputRegs","address":30513,"deviceId":3,"type":"uint64be","len":4,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.111 debug Add inputRegisters.30203_Leistung: {"_id":"inputRegisters.30203_Leistung","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":"W"},"native":{"regType":"inputRegs","address":30203,"deviceId":3,"type":"uint32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.111 debug Add inputRegisters.30201_Status: {"_id":"inputRegisters.30201_Status","type":"state","common":{"name":"","role":"value","type":"number","read":true,"write":false,"def":0,"unit":""},"native":{"regType":"inputRegs","address":30201,"deviceId":3,"type":"uint32be","len":2,"offset":0,"factor":1}} modbus.0 2023-05-30 20:06:45.111 debug Initialize Objects for inputRegs: [{"_address":30201,"name":"Status","description":"","unit":"","type":"uint32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","address":30201,"deviceId":3,"id":"inputRegisters.30201_Status"},{"_address":30203,"name":"Leistung","description":"","unit":"W","type":"uint32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","address":30203,"deviceId":3,"id":"inputRegisters.30203_Leistung"},{"_address":30513,"name":"SMA Leistung","description":"","unit":"kWh","type":"uint64be","len":4,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30513,"id":"inputRegisters.30513_SMA_Leistung"},{"_address":30517,"name":"Tagesertag","description":"","unit":"Wh","type":"uint64be","len":4,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30517,"id":"inputRegisters.30517_Tagesertag"},{"_address":30521,"name":"Operating Time","description":"","unit":"s","type":"uint64be","len":4,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30521,"id":"inputRegisters.30521_Operating_Time"},{"_address":30525,"name":"Feed In Time","description":"","unit":"s","type":"uint64be","len":4,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30525,"id":"inputRegisters.30525_Feed_In_Time"},{"_address":30533,"name":"Gesamtertrag","description":"","unit":"Mh","type":"uint32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30533,"id":"inputRegisters.30533_Gesamtertrag"},{"_address":30535,"name":"Tagesertag","description":"","unit":"Wh","type":"uint32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30535,"id":"inputRegisters.30535_Tagesertag"},{"_address":30537,"name":"Tagesertrag","description":"","unit":"kWh","type":"uint32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30537,"id":"inputRegisters.30537_Tagesertrag"},{"_address":30775,"name":"Power","description":"Aktuelle Leistung","unit":"W","type":"int32be","len":2,"factor":1,"offset":0,"formula":"x = (x<0) ? 0:x","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30775,"id":"inputRegisters.30775_Power"},{"_address":30777,"name":"Power L1","description":"","unit":"W","type":"int32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30777,"id":"inputRegisters.30777_Power_L1"},{"_address":30779,"name":"Power L2","description":"","unit":"W","type":"int32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30779,"id":"inputRegisters.30779_Power_L2"},{"_address":30781,"name":"Power L3","description":"","unit":"W","type":"int32be","len":2,"factor":1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30781,"id":"inputRegisters.30781_Power_L3"},{"_address":30953,"name":"Temperatur","description":"","unit":"C","type":"int32be","len":2,"factor":0.1,"offset":0,"formula":"","role":"value","room":"","cw":"","isScale":"","deviceId":3,"address":30953,"id":"inputRegisters.30953_Temperatur"}] modbus.0 2023-05-30 20:06:45.110 debug Initialize Objects for coils: [] modbus.0 2023-05-30 20:06:45.109 debug Initialize Objects for disInputs: [] modbus.0 2023-05-30 20:06:44.925 info starting. Version 5.0.11 in /opt/iobroker/node_modules/iobroker.modbus, node: v18.16.0, js-controller: 4.0.24 modbus.0 2023-05-30 20:06:44.830 info Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system modbus.0 2023-05-30 20:06:44.825 debug Plugin sentry Initialize Plugin (enabled=true) modbus.0 2023-05-30 20:06:44.628 debug States connected to redis: 0.0.0.0:9000 modbus.0 2023-05-30 20:06:44.531 debug States create User PubSub Client modbus.0 2023-05-30 20:06:44.530 debug States create System PubSub Client modbus.0 2023-05-30 20:06:44.503 debug Redis States: Use Redis connection: 0.0.0.0:9000 modbus.0 2023-05-30 20:06:44.454 debug Objects connected to redis: 0.0.0.0:9001 modbus.0 2023-05-30 20:06:44.448 debug Objects client initialize lua script modbus.0 2023-05-30 20:06:44.350 debug Objects create User PubSub Client modbus.0 2023-05-30 20:06:44.349 debug Objects create System PubSub Client modbus.0 2023-05-30 20:06:44.348 debug Objects client ready ... initialize now modbus.0 2023-05-30 20:06:44.293 debug Redis Objects: Use Redis connection: 0.0.0.0:9001 modbus.0 2023-05-30 20:06:40.119 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reaso modbus.0 2023-05-30 20:06:40.119 debug Plugin sentry destroyed modbus.0 2023-05-30 20:06:40.118 info terminating ```
-
Teste :
eine neue Modbus Instanz erstellen und nur ein Register eintragen / abfragen , was ist dann !?
-
@glasfaser
Mache ich dann morgen, heute ist der SMA schon aus. Kein Licht mehr.