NEWS
Test Adapter sun2000 v0.1.x - Huawei Wechselrichter
-
@bolliy said in Test Adapter sun2000 v0.1.x - Huawei Wechselrichter:
Danke damit wäre die Frage schon beantwortet. D.h. der SmartLogger wäre hier das stabilere System und was du jetzt schon unterstützt. Das wollte ich wissen Danke.
-
@bolliy Bis jetzt läuft es super, sodass ich nicht weiter mit nodered arbeiten muss. Mein Setup: 2 WR ohne Speicher.
Generell die Frage an euch. Für Überschusspower, welchen Wert nehmt ihr zugrunde in Differenz zum Hausverbrauch?
ActivePower, InputPower oder InputPowerWithLoss? -
-
@bolliy Breaking News
Wie bereits hier angekündigt unterstüzt der sun2000 Adapter nur noch node.js 18.x und höher! Zeitgleich wurde die Abhängigkeitet zum ioBroker host js-controller auf 5.x oder höher angehoben.
Deshalb gibt es jetzt einen Versionssprung auf v0.7.0 für den Adapter. Es wurden darüber hinaus keine Funktionsänderungen eingebracht.
Die Installation sollte besser über das Beta Repository erfolgen. So kann ich gezielter über Änderungen bzw. Paketabhängikeiten des sun2000 Adapters informieren. Ersatzweise kann die Installtion auch über npm erfolgen.
Sofern keine Fehler in der neuen Version von euch aufgedeckt werden, erfolgt eine Aufnahme ins stable Repository. (per pull request)
-
Guten Morgen.
Ich habe mich nun mit einem Raspberry parallel an die Enpalbox gehängt. Der Raspberry ist mir seinem internen LAN Anschluss an meinem Heimnetzwerk und ein iObroker darüber auch erreichbar. Gleichzeitig hängt ein USB zu LAN Adapter an dem Enpal Gezumpel.
Ich verstehe nun den Modbus Server nicht ganz. Standard ist die Adresse 0.0.0.0. Ich hatte nun folgende Vermutung:
Die Enpalbox spricht unveränderbar die WR Adresse 10.217.222.176 an. Ich hätte jetzt vermutet, dass man im SUN2000 Adapter nun diese Adresse als Modbus Proxy einträgt statt der 0.0.0.0 und dem WR eine andere IP Adresse zuweist, die wiederum im Adapter eingetragen wird?Probeweise habe ich die 0.0.0.0 gelassen, aber ich denke es kommt zum Konflikt, weil der Adapter UND die Enpal Box sich an der 10.217.222.176 anmelden wollen?
-
@edde der Adapter ist ein modbus-proxy (Stellvertreter des WRs) für die Enpal box.
Die Adresse unter dem Reiter modbus proxy ist die Netzwerk-Adresse an dem der modbus-proxy lauscht. 0.0.0.0 bedeutet an allen Netzwerkdevices des Raspberry.
Die Idee war, dass die enpal-box die Daten beim modbus-proxy des Adapters abholt. Der Adapter wiederum ist verbunden mit dem WR. Entweder über den SDongle oder über die WiFi-Schnittstelle des WRs.enpal-box --> Adapter (modbus-proxy) --> WR
oder ohne modbus-proxy direkt auf den WR (aber nicht über den SDongle)
(Könnte aber zu Timeouts Fehlern kommen, da es zu einem gleichzeitigem Zugriff auf die modbus-Schnittstelle kommt.)enpal-box ---------> WR (SDongle)
Raspi(Adapter) ----Wifi-----> WR (Wifi)Lg Stephan
-
@edde konkret müsstest du dich in das dedizierte Netzwerk vom der enpal-box --> WR "einschnüffeln". Im WR ist sicherlich eine feste IP-Adtresse für den SDongle hinterlegt.
Vielleicht ist an deinem raspberry pi noch eine freier Netzwerkanschluss. Diesen kannst du mit dem dedizierte Netzwerk (Netzwerk an dem der WR angschlossen ist) verbinden. Wenn du Glück hast, ist in der enpal-box ein DHCP Server verbaut. Dann bekommt du auto. an dem Interface eine ip zugewiesen.Auf der Linux console:
#sudo ip address sh
Falls du keine Adressenvergabe für das Device siehst, kannst du einfach eine Adresse für die Netzwerkarte ausdenken und manuell vergeben. Sollte natürlich eine ip Adresse aus selben Netzwerksegment wie von dem Netz (enpal-box --> WR) sein.
https://edv-loesungen.info/blog/78-setzen-einer-statischen-ip-adresse-unter-linux-debianDann kannst du mit arp-scan das Netz scannen und die arb-Tabelle auslesen.
#sudo apt-get install arp-scan #sudo arp-scan <WR-Ip-Adresse>/24
Dann wirst du sicher neben dem WR noch die enpal-box sehen
Nun kannst entweder die WR-Adresse in enpal-box ändern -oder-
du legst deinen WR auf eine neue ungenutzte ip in dem Netzwerksegment und den Raspi auf die alte ip des WR. Nun wirkt der Raspi wie ein Man-in-the-Middle. Die enpal-box weiss natürlich nichts von dem Umzug des WRs.Jetzt noch die ip im Adapter auf die neue WR ip setzen und ...
Ggf. wird aber die enpal-box dich mit Fehlemeldungen konfrontieren, da der modbus-proxy Schreibversuche der enpal-box nicht erlaubt (modbus error 5).
Nun kannst du aber über das 2te Netzwerkkarte auf den WR zugreifen. Dein Raspi bleibt aber über die 1te Netzwerkarte im lokalen NW erreichbar.
Stephan
-
@bolliy
Genau so wollte ich es probieren und habe mir bereits einen USB-Lan Adapter besorgt und mich zwischen gehängt. Sobald es die Zeit zulässt werde ich es probieren. Deine Ausführungen haben nochmal wertvolle Hinweise geliefert und mich vor allem bestärkt dass die Laienhaften Überlegungen klappen sollten.Ist eigentlich jemandem bekannt inwieweit die Enpal Box überhaupt etwas schreibt?
Habt ihr schonmal versucht in der Enpal Box die Config zu ändern? Scheinbar überschreibt die Bix meine IP Änderung immer -
Ich habe eine kleine Umfrage (7 Fragen) mit google Forms zur Nutzung des sun2000 Adapters erstellt.
https://forms.gle/WHx7j6xU8Mna7biS6
Die Daten werden vertraulich und anonym erhoben und nicht an Dritte weitergegeben!Ich erhoffe mir einen Überblck über das Nutzungsverhalten und eure Wünsche bezüglich der Weiterentwicklung des ioBroker sun2000 Adapters zu erhalten.
Ich freue mich auf eure Mitwirkung!
-
@bolliy
Sehr schöne Idee mit der Umfrage, natürlich habe ich schon fleißig teilgenommen.Ich stehe aktuell wieder vor dem nächsten Problem.
Der Raspberry hängt mit mit dem USB Adapter im Netz der Enpal Box und bekam die IP 10.217.222.240.
Der WR hat die IP 10.217.222.176 per DHCP.Wenn ich die IP in Wechselrichter auf static setze und ändere, scheint die Enpal Box aktiv nach dem WR zu suchen und ändert in ihrer config automatisch die Zieladresse auf die manuell veränderte IP des WRs.
Setze ich die IP in der config selber auf die des Raspberrys (.240) geht es eine Weile gut, bis auf einmal wieder die IP des WR (.176) eingetragen ist.
Egal wie, ich schaffe es so also nicht mich mit dem iObroker als einziger an den Modbus zu hängen und die Enpal Box auf den Proxy Server zu zwingen, sodass es wohl zu den gezeigten Fehlern kommt.
Hat jemand das ganze schonmal mit der Enpal Box probiert? Gibt es noch eine andere Stellschraube als die von mir gezeigte config Seite?
-
@edde sagte
Setze ich die IP in der config selber auf die des Raspberrys (.240) geht es eine Weile gut, bis auf einmal wieder die IP des WR (.176) eingetragen ist.
Du kannst die erweiterte Protokollierung des modbus-proxy aktivieren. Dann erfolgt jede Minute im Log eine Information über die angefragten Register im json Format. Du wartest solange bis die enpal box merkt, dass es sich nicht um die „echte“ Wallbox handelt. Dann schickst du mir das json als code <> .
Vielleicht können wir die enpal-box mit den richtigen Antworten austricksen.Lg Stephan
-
v0.7.1: Nur ein bugfix
Die Installation erfolgt über npm oder morgen über das Beta Repository.Changelog:
0.7.1 (2024-04-09)
• inverter model name too many characters #73LG Stephan
-
Zu der Umfrage
https://forms.gle/WHx7j6xU8Mna7biS6
wurde der Wunsch geäußert die Daten von dem sun2000 Adapter auf eine andere Instance bzw. ioBroker zu transferieren.Über den modbus-proxy kann der Adapter gespiegelt werden. Einfach im neuen Adapter die ip/port des zu spiegelnden Adapters (hier mit aktiviertem modbus-proxy) eingeben. Allerdings mit der Einschränkung, dass auf der gespiegelten Instanz keine Register geschrieben werden können.
Stephan
-
Die Verbindung zwischen zwei Instanzen klappt auf diesem Weg übrigens super.
Wo finde ich die json Datei?
Oder meinst du sowas:{"errno":102,"address":32066,"info":"inverter status","inverter":0,"modbusID":1,"tc":1712681848247,"lastread":1712681514918,"message":"Not all data can be read! Please inspect the sun2000 log.","modbus":{"timeout":10000,"delay":391,"connectDelay":9774,"modbusAdjust":false,"min":0,"max":6000,"stat":{"successSumCounter":1064,"errorSumCounter":104,"modbuscode_4":50,"ETIMEDOUT":51,"modbuscode_6":3},"adjust":{"successLevel":0,"successCounter":2,"errorCounter":0,"lastLength":2,"SuccessDelay":0,"ErrorDelay":0}}}
-
@edde nein - sieht so aus:
Modbus tcp server: {"stat":{"#WaitForConnected-address_37765-value_2-unidId_1":6,"#WaitForConnected-address_32080-value_2-unidId_1":5,"#WaitForConnected-address_32064-value_2-unidId_1":5,"#WaitForConnected-address_37113-value_2-unidId_1":4,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":9,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":8,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":8,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":9,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":2,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":2,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":2,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":4,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":2,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":2,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":4,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":2,"getMultipleHoldingRegisters-address_47415-value_4-unidId_1":2,"getMultipleHoldingRegisters-address_37411-value_1-unidId_100":2,"getMultipleHoldingRegisters-address_37498-value_20-unidId_100":4}}
-
@bolliy
In diesem Zeitraum gab es wohl wieder undefinierte Wechsel in der Enpal Box. Mal auf den WR und mal auf den Modbus Server.2024-04-10 04:34:42.813 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32064, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:34:42.820 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:34:52.601 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:34:59.053 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:34:59.055 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:35:06.397 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37765, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:35:06.403 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:35:16.185 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:35:28.338 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:35:28.345 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:35:38.128 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:35:59.055 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:35:59.057 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:35:59.658 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37765, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:36:00.018 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:36:09.796 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:36:27.944 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32089, Len: 1, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:36:27.945 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:36:37.724 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:36:59.058 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:37:15.614 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37113, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:37:17.731 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:37:27.510 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:37:30.561 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37765, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:37:30.563 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:37:40.343 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:37:48.080 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:37:48.081 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:37:57.861 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:37:59.059 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:38:00.952 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:38:00.954 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:38:10.734 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:38:20.140 - error: sun2000.2 (15954) Error: read ECONNRESET 2024-04-10 04:38:20.142 - info: sun2000.2 (15954) ModbusTCP server closed 2024-04-10 04:38:28.813 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32089, Len: 1, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:38:29.467 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:38:39.246 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:38:59.061 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:38:59.063 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:38:59.071 - info: sun2000.2 (15954) ModbusTCP listening on modbus://0.0.0.0:502 2024-04-10 04:38:59.073 - info: sun2000.2 (15954) ModbusTCP server closed 2024-04-10 04:38:59.075 - info: sun2000.2 (15954) ModbusTCP server initialized 2024-04-10 04:39:02.056 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 47081, Len: 18, modbusID: 1] with: Timed out 2024-04-10 04:39:02.059 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:39:11.838 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:39:24.183 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37765, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:39:24.191 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:39:33.972 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:39:47.154 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32064, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:39:47.182 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:39:56.964 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:39:59.063 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:39:59.065 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:40:01.668 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37765, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:40:01.669 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:40:11.450 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:40:21.610 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32064, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:40:21.616 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:40:31.401 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:40:50.874 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32064, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:40:50.875 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:40:59.065 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:40:59.068 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:41:00.655 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:41:09.947 - error: sun2000.2 (15954) Error: read ECONNRESET 2024-04-10 04:41:09.950 - info: sun2000.2 (15954) ModbusTCP server closed 2024-04-10 04:41:32.038 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37765, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:41:32.039 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:41:41.824 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:41:52.448 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37113, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:41:52.719 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:41:59.069 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:41:59.073 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:41:59.085 - info: sun2000.2 (15954) ModbusTCP listening on modbus://0.0.0.0:502 2024-04-10 04:41:59.087 - info: sun2000.2 (15954) ModbusTCP server closed 2024-04-10 04:41:59.089 - info: sun2000.2 (15954) ModbusTCP server initialized 2024-04-10 04:42:02.500 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:42:12.660 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:42:12.667 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:42:22.449 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:42:37.103 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37113, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:42:37.111 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:42:46.893 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:42:59.069 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:42:59.072 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:42:59.389 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 37765, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:42:59.404 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:43:09.184 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:43:09.905 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:43:09.914 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:43:19.695 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:43:44.599 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:43:44.605 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:43:54.389 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:43:59.076 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:43:59.078 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:44:00.143 - error: sun2000.2 (15954) Error: read ECONNRESET 2024-04-10 04:44:00.145 - info: sun2000.2 (15954) ModbusTCP server closed 2024-04-10 04:44:06.864 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32064, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:44:06.865 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:44:16.646 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:44:25.926 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32064, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:44:25.928 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:44:35.708 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:44:59.075 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:44:59.078 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:44:59.086 - info: sun2000.2 (15954) ModbusTCP listening on modbus://0.0.0.0:502 2024-04-10 04:44:59.088 - info: sun2000.2 (15954) ModbusTCP server closed 2024-04-10 04:44:59.090 - info: sun2000.2 (15954) ModbusTCP server initialized 2024-04-10 04:45:02.238 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:45:02.244 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:45:12.027 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:45:22.187 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:45:22.197 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:45:31.978 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:45:56.025 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out 2024-04-10 04:45:56.031 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:45:59.076 - warn: sun2000.2 (15954) Not all data can be read! Please inspect the sun2000 log. 2024-04-10 04:45:59.078 - info: sun2000.2 (15954) Modbus tcp server: {"stat":{"#WaitForConnected-address_32089-value_1-unidId_1":4,"#getMultipleHoldingRegisters-address_32089-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_32080-value_2-unidId_1":5577,"getMultipleHoldingRegisters-address_37765-value_2-unidId_1":5548,"getMultipleHoldingRegisters-address_32064-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37113-value_2-unidId_1":5547,"getMultipleHoldingRegisters-address_37000-value_50-unidId_1":456,"#getMultipleHoldingRegisters-address_47081-value_18-unidId_1":1,"getMultipleHoldingRegisters-address_32000-value_11-unidId_1":456,"#getMultipleHoldingRegisters-address_32016-value_4-unidId_1":2,"#getMultipleHoldingRegisters-address_32066-value_50-unidId_1":1,"#getMultipleHoldingRegisters-address_37100-value_38-unidId_1":7,"#getMultipleHoldingRegisters-address_37758-value_30-unidId_1":5,"getMultipleHoldingRegisters-address_32089-value_1-unidId_1":458,"getMultipleHoldingRegisters-address_47081-value_18-unidId_1":455,"getMultipleHoldingRegisters-address_32066-value_50-unidId_1":454,"getMultipleHoldingRegisters-address_32016-value_4-unidId_1":815,"getMultipleHoldingRegisters-address_37100-value_38-unidId_1":811,"getMultipleHoldingRegisters-address_37758-value_30-unidId_1":450,"getMultipleHoldingRegisters-address_30000-value_71-unidId_1":1,"getMultipleHoldingRegisters-address_30000-value_83-unidId_1":1,"getMultipleHoldingRegisters-address_37052-value_10-unidId_1":1,"getMultipleHoldingRegisters-address_32016-value_48-unidId_1":1,"getMultipleHoldingRegisters-address_47000-value_1-unidId_1":1,"getMultipleHoldingRegisters-address_37200-value_3-unidId_1":1,"getMultipleHoldingRegisters-address_37700-value_10-unidId_1":1,"#WaitForConnected-address_32080-value_2-unidId_1":30,"#WaitForConnected-address_37765-value_2-unidId_1":3}} 2024-04-10 04:46:05.813 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502 2024-04-10 04:46:06.650 - warn: sun2000.2 (15954) Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) 2024-04-10 04:46:06.656 - info: sun2000.2 (15954) Open Connection... 2024-04-10 04:46:16.435 - info: sun2000.2 (15954) Connected Modbus TCP to 10.217.222.176:502
-
@edde sagte in Test Adapter sun2000 v0.1.x - Huawei Wechselrichter:
error: sun2000.2 (15954) Error: read ECONNRESET
Der Fehler "ECONNRESET" deuten auf ein Netzwerk Problem hin. Vielleicht ist das Wifi nicht stabil. Danach wird der modbus-proxy im Adapter beendet. Das wird der Grund sein, warum die enpal-box nach dem "richtigen" Wechselrichter sucht. Da dieser per dhcp seine ip bekommt ist der Wechsel der ip adresse für die enpal-box nicht besonders ungewöhnlich.
Ich werde für dich eine Entwickler-Version bauen. Dort wird bei einem ECONNRESET Fehler der proxy nicht beendet!
Ansonsten fragt die enpal-box nur Daten vom proxy ab, die der Adapter auch vom WR liest. Ein Schreibzugriff habe ich im Log nicht gesehen. Also sonst alles roger.
Ich gebe dir nochmal gesondert Bescheid wie du die Entwicker-Version von dem Adapter installierst...LG Stephan
-
@bolliy
Super, ich bedanke mich ganz herzlich.Tolle Arbeit muss ich sagen. Es macht richtig Spaß mit diesem Adapter und alles soviel angenehner besser als das Auslesen mit Node Red und Fusionsolar API usw.
Nachtrag und rein aus Neugierde weil es an sich ja klappt: was bedeuten diese Lesefehler?
sun2000.2 2024-04-10 19:21:27.377 warn Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out sun2000.2 2024-04-10 19:20:44.937 info Connected Modbus TCP to 10.217.222.176:502 sun2000.2 2024-04-10 19:20:34.049 info Open Connection... sun2000.2 2024-04-10 19:20:34.047 warn Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Timed out sun2000.2 2024-04-10 19:19:40.416 info Connected Modbus TCP to 10.217.222.176:502 sun2000.2 2024-04-10 19:19:30.531 info Open Connection... sun2000.2 2024-04-10 19:19:30.518 warn Error while reading from 10.217.222.176 [Reg: 32080, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal error) sun2000.2 2024-04-10 19:19:15.562 info Connected Modbus TCP to 10.217.222.176:502 sun2000.2 2024-04-10 19:19:05.679 info Open Connection... sun2000.2 2024-04-10 19:19:05.674 warn Error while reading from 10.217.222.176 [Reg: 37113, Len: 2, modbusID: 1] with: Modbus exception 4: Slave device failure (device reports internal e
-
@edde danke für deine Blumen
Es deutet eigentlich auf einen konkurierrenden Zugriff auf den WR hin. Entweder die enpal-box oder ein anderes Gerät wie z.B. eine Wallbox, ein Heizstab usw.Stephan
-
@Edde Diese Entwickler-Version ist nur für Edde vorgesehen!
Die Installation erfolgt über den Expertenmodus. Danach auf die „Krakenkatze“ klicken und dann die benutzerdefinierte Url
https://github.com/bolliy/ioBroker.sun2000/tarball/dev
eingeben und die Installation starten.
Nach der Installation muss die Instanz manuell neu gestartet werden!
Was habe ich geändert:
- modbus-proxy wird bei Fehler ECONNRESET nicht beendet.
- modbus-proxy wird erst nach 2 Minuten Daten bereit stellen. (vorher war es 1 Minute)
Es darf nur ein Client auf den WR zugreifen. Der Huawei WR ist nicht multi-client fähig! Es hagelt sonst timeouts.
Stephan