NEWS
Test Adapter sun2000 v0.1.x - Huawei Wechselrichter
-
@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
-
@bolliy
Vielen Dank. Klappt bisher einwandfreiIch bleibe - auch wenn es Updates gint - einfach auf dieser Version oder?
-
@edde das freut mich sehr, dass wir für deine enpal-box eine Lösung gefunden haben.
Du bleibst bis zur Veröffentlichung der nächsten Beta auf der Entwickler-Version. Das kann aber noch dauern, da ich die v0.7.1 in das offizielle stable Repository bringen will. In der Zwischenzeit kann ich aber kein neues Beta rausbringen, da sich der Prozess sonst immer weiter nach hinter verschiebt.Ich brauche aber vorher noch etwas von dir. Und zwar alle error Zeilen aus deinem Log. Die sehen so etwa aus:
error: sun2000.2 (15954) ModbusTCP server (socketError) Error: read ECONNRESET
Aber bitte nicht dein ganzes Log posten, sonst platzt der Server irgendwann! Kannst die Zeilen erstmal in notepad kopieren und dann gekürzt hier posten.
Ich möchte das Abfangen des Fehlers noch etwas justieren...
LG Stephan
-
@edde dann habe ich noch eine Frage. Wie viele sun2000 Instanzen hast du eigentlich laufen? Ich sehe mind. 3!
-
@bolliy
Ich werde mich gerne in den nächsten Tagen um die logs kümmern.Ich habe auf dem Raspberry eine Instanz laufen und dann auf einem Proxmox System einen weiteren iObroker der den Proxy Server abfragt.
Falls die fortlaufenden Nummern der Instanzen meinst: Ich habe zu Beginn eine funktionierende Instanz gehabt die ich nicht angerührt habe, höchstens pausiert, wenn ich mit den weiteren Instanzen experimentiert habe was klappt und was nicht, damit ich in der Hauptinstanz nicht ständig alles ändern musste.
Nun konnte ich alles auf die beiden erwähnten Instanzen reduzieren. -
Ich wurde schon mehrmals auf die Bereitstellung von Statistik-Daten angesprochen. Nun ist der sun2000 Adapter hauptsächlich für das Auslesen bzw. Schreiben von Registerdaten zuständig. Darüber hinaus gibt bereits ioBroker Adapter, die auf das Aufbereiten von Statitiken spezialisiert sind.
So habe ich mal versucht mit dem iobroker Adapter ioBroker.statistics und ioBroker.sourceanalytix die Daten aus dem sun2000 Adapter aufzubereiten.
Den ioBroker.sourceanalytix Adapter gibt es allerdings nur im Beta Repository.
Mit beiden Adaptern ist es super einfach Tages-, Monats- und Jahres-Werte zu bestimmen. Wobei der ioBroker.statistics sich eher auf Zählwerte von Strom oder Gas konzentriert. Um z.B. über den Hausverbrauchswerte aufzubereiten, muss das Zählwerksun2000.0.collected.consumptionSum
bemüht werden. Über den Delta-Verbrauch im Objekt-Tabstatistics.0.temp.sumDelta.sun2000.0.collected.consumptionSum
gelangt man dann an die gewünschten Werte .
Also bedient euch dem einen oder anderen Adapter um umfangreiche Statistiken zu erstellen!
Sie sind recht einfach in der Handhabung und gut an die eigenen Bedürfnisse anzupassen.Und dann schaut euch auch gleich den ioBroker.energiefluss-erweitert Adapter an - der ist einfach richtig gut! Über ein html-iFrame kann der in jede Visualisierung eingebunden werden.
Links:
Video zu sourceanalytix https://www.youtube.com/watch?v=qvEubf-3jR4&t=147sLG Stephan
-
@bolliy said in Test Adapter sun2000 v0.1.x - Huawei Wechselrichter:
Den ioBroker.sourceanalytix Adapter gibt es nur im Beta Repository – was mich etwas verwundert, da dieser früher als stable geführt wurde.
Kannst du dazu einen Datumsbereich nennen? Zumindest seit 06/2023 war der Adapter nicht im stable. Ich kann gerne frühere GIT Versionen scannen - aber dazu müsste ich wissen, wann der Adapter (halbwegs) sicher im Stable war.
-
@mcm57 spätestens ab 17.2.2021 ist der adapater aus dem stable verschwunden. Siehe hier https://www.verdrahtet.info/2020/08/07/kostenanalyse-mit-sourceanalytix/
Das Video https://www.youtube.com/watch?v=qvEubf-3jR4&t=147s ist vom 07.08.2020.
LG Stephan
-
@bolliy said in Test Adapter sun2000 v0.1.x - Huawei Wechselrichter:
@mcm57 spätestens ab 17.2.2021 ist der adapater aus dem stable verschwunden. Siehe hier https://www.verdrahtet.info/2020/08/07/kostenanalyse-mit-sourceanalytix/
Das Video https://www.youtube.com/watch?v=qvEubf-3jR4&t=147s ist vom 07.08.2020.
LG Stephan
Bei timestamp 0:26-0:28 wird gesagt dass der Adapter "derzeit noch im Beta Status ist". Er hat es wohl nie ins stable geschafft und wird auch schon einige Zeit nicht mehr aktiv gepflegt.
-
@mcm57 ok - die stable Anmerkung lösche ich wieder.
-
@bolliy
Egal - wollt nur klären ob was im Repo passiert ist. Kann ja sein, dass beim Editieren was gelöscht bzw überschrieben wurde.