Thanks waltervl, i tried it, but not helped.
.......
Huawei SUN2000 Inverters
Moderator: leecollings
-
- Posts: 4
- Joined: Thursday 06 March 2025 6:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Contact:
-
- Posts: 4
- Joined: Thursday 06 March 2025 6:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Contact:
Re: Huawei SUN2000 Inverters
Thanks waltervl, i tried it, but not helped.
......
......
-
- Posts: 4
- Joined: Thursday 06 March 2025 6:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Contact:
Re: Huawei SUN2000 Inverters
Thanks for answer waltervl, i tried it, but not fixed the problem. After that I upgraded the OS to Bullseye, Python but not helped. I deleted the plugin and downloaded again, butnot helped.
2025-03-06 10:35:19.772 Status: Domoticz V2024.4 (c)2012-2024 GizMoCuz
2025-03-06 10:35:19.773 Status: Build Hash: 731719420, Date: 2024-01-30 09:16:34
2025-03-06 10:35:19.773 Status: Startup Path: /home/pi/domoticz/
2025-03-06 10:35:19.865 Status: PluginSystem: Started, Python version '3.9.2', 2 plugin definitions loaded.
2025-03-06 10:35:19.866 Status: : Using 1-Wire support (kernel W1 module)...
2025-03-06 10:35:19.871 Status: WebServer(HTTP) started on address: :: with port 8080
2025-03-06 10:35:19.878 Status: WebServer(SSL) started on address: :: with port 443
2025-03-06 10:35:19.880 Status: TCPServer: shared server started...
2025-03-06 10:35:19.880 Status: RxQueue: queue worker started...
2025-03-06 10:35:19.781 Error: Default admin password has NOT been changed! Change it asap!
2025-03-06 10:35:21.886 Huawei Inverter Plugin: Worker thread started.
2025-03-06 10:35:21.885 Status: RPI-sensors: System: ODroid/Raspberry
2025-03-06 10:35:21.885 Status: RPI-sensors: Hardware Monitor: Started (OStype Linux)
2025-03-06 10:35:21.886 Status: Huawei Inverter Plugin: Entering work loop.
2025-03-06 10:35:21.886 Status: Huawei Inverter Plugin: Started.
2025-03-06 10:35:21.886 Status: NotificationSystem: thread started...
2025-03-06 10:35:21.886 Status: EventSystem: reset all events...
2025-03-06 10:35:21.887 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Sonoff RF Bridge.lua
2025-03-06 10:35:21.888 Status: EventSystem: reset all device statuses...
2025-03-06 10:35:21.885 Error: temp1: 1Wire: Device not yet supported in Kernel mode (Please report!) ID:00-340000000000, family: 00
2025-03-06 10:35:21.886 Error: temp1: 1Wire: Device not yet supported in Kernel mode (Please report!) ID:00-b40000000000, family: 00
2025-03-06 10:35:22.120 Status: Python EventSystem: Initializing event module.
2025-03-06 10:35:22.120 Status: EventSystem: Started
2025-03-06 10:35:22.121 Status: EventSystem: Queue thread started...
2025-03-06 10:35:22.292 Status: PluginSystem: 1 plugins started.
2025-03-06 10:35:22.890 Status: MQTT Client Gateway with LAN interface: Connecting to localhost:1883
2025-03-06 10:35:22.421 Error: Huawei Inverter Plugin: (Domoticz-Huawei-Inverter) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-plugin-for-Huawei-SUN2000-Inverter/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: Traceback (most recent call last):
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/home/pi/domoticz/plugins/Domoticz-plugin-for-Huawei-SUN2000-Inverter/plugin.py", line 26, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: from huawei_solar import HuaweiSolarBridge
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/__init__.py", line 6, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: from .bridge import HuaweiSolarBridge # noqa
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/bridge.py", line 16, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: from .huawei_solar import DEFAULT_BAUDRATE, DEFAULT_SLAVE, DEFAULT_TCP_PORT, AsyncHuaweiSolar, Result
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/huawei_solar.py", line 75, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: class AsyncHuaweiSolar:
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/huawei_solar.py", line 78, in AsyncHuaweiSolar
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: _reconnect_task: asyncio.Task | None = None
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
2025-03-06 10:35:19.772 Status: Domoticz V2024.4 (c)2012-2024 GizMoCuz
2025-03-06 10:35:19.773 Status: Build Hash: 731719420, Date: 2024-01-30 09:16:34
2025-03-06 10:35:19.773 Status: Startup Path: /home/pi/domoticz/
2025-03-06 10:35:19.865 Status: PluginSystem: Started, Python version '3.9.2', 2 plugin definitions loaded.
2025-03-06 10:35:19.866 Status: : Using 1-Wire support (kernel W1 module)...
2025-03-06 10:35:19.871 Status: WebServer(HTTP) started on address: :: with port 8080
2025-03-06 10:35:19.878 Status: WebServer(SSL) started on address: :: with port 443
2025-03-06 10:35:19.880 Status: TCPServer: shared server started...
2025-03-06 10:35:19.880 Status: RxQueue: queue worker started...
2025-03-06 10:35:19.781 Error: Default admin password has NOT been changed! Change it asap!
2025-03-06 10:35:21.886 Huawei Inverter Plugin: Worker thread started.
2025-03-06 10:35:21.885 Status: RPI-sensors: System: ODroid/Raspberry
2025-03-06 10:35:21.885 Status: RPI-sensors: Hardware Monitor: Started (OStype Linux)
2025-03-06 10:35:21.886 Status: Huawei Inverter Plugin: Entering work loop.
2025-03-06 10:35:21.886 Status: Huawei Inverter Plugin: Started.
2025-03-06 10:35:21.886 Status: NotificationSystem: thread started...
2025-03-06 10:35:21.886 Status: EventSystem: reset all events...
2025-03-06 10:35:21.887 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Sonoff RF Bridge.lua
2025-03-06 10:35:21.888 Status: EventSystem: reset all device statuses...
2025-03-06 10:35:21.885 Error: temp1: 1Wire: Device not yet supported in Kernel mode (Please report!) ID:00-340000000000, family: 00
2025-03-06 10:35:21.886 Error: temp1: 1Wire: Device not yet supported in Kernel mode (Please report!) ID:00-b40000000000, family: 00
2025-03-06 10:35:22.120 Status: Python EventSystem: Initializing event module.
2025-03-06 10:35:22.120 Status: EventSystem: Started
2025-03-06 10:35:22.121 Status: EventSystem: Queue thread started...
2025-03-06 10:35:22.292 Status: PluginSystem: 1 plugins started.
2025-03-06 10:35:22.890 Status: MQTT Client Gateway with LAN interface: Connecting to localhost:1883
2025-03-06 10:35:22.421 Error: Huawei Inverter Plugin: (Domoticz-Huawei-Inverter) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-plugin-for-Huawei-SUN2000-Inverter/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: Traceback (most recent call last):
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/home/pi/domoticz/plugins/Domoticz-plugin-for-Huawei-SUN2000-Inverter/plugin.py", line 26, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: from huawei_solar import HuaweiSolarBridge
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/__init__.py", line 6, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: from .bridge import HuaweiSolarBridge # noqa
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/bridge.py", line 16, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: from .huawei_solar import DEFAULT_BAUDRATE, DEFAULT_SLAVE, DEFAULT_TCP_PORT, AsyncHuaweiSolar, Result
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/huawei_solar.py", line 75, in <module>
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: class AsyncHuaweiSolar:
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: File "/usr/local/lib/python3.9/dist-packages/huawei_solar/huawei_solar.py", line 78, in AsyncHuaweiSolar
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: _reconnect_task: asyncio.Task | None = None
2025-03-06 10:35:22.423 Error: Huawei Inverter Plugin: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
-
- Posts: 35
- Joined: Tuesday 02 October 2018 15:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Huawei SUN2000 Inverters
For who is interested I have a python plugin for the Huawei 2000 interter (=Zonneplan). It creates these devices as you can see in the picture.
In my case I have Protoss PW11H connected to the interter (wifi to modbus). Domoticz talks via ModbusTCP to the inverter.
In my case I have Protoss PW11H connected to the interter (wifi to modbus). Domoticz talks via ModbusTCP to the inverter.
- Attachments
-
- Huawei.png (81.07 KiB) Viewed 664 times
-
- Posts: 15
- Joined: Friday 16 April 2021 13:58
- Target OS: Linux
- Domoticz version:
- Location: BE
- Contact:
Re: Huawei SUN2000 Inverters
Thank you for your script, maybe I'll install it. I already integrated my Huawei SUN2000 inverter with Domoticz via Nodred.
My aim is now to dynamically adjust its output power based on electricity prices. Specifically, during periods of negative prices, I wish to limit the inverter's production to match my self-consumption when adding additional consumers (e.g., EV, electric boiler, ...) is not feasible.
Currently, I have implemented parameter readings such as power and voltage using Node-RED via Modbus TCP/IP. However, I have noticed that the refresh rate is quite slow. I am considering establishing a connection via RS485, as I have an unused Ethernet cable between my Linux server and the Huawei inverter.
According to the Huawei Modbus Interface Definitions, register 40120 can be utilized to set active power deration.
Has anyone successfully implemented writing to this register (or any other register) via Domoticz/Nodered? Additionally, has anyone experienced improved performance using RS485 compared to TCP/IP for this purpose?
Thank you in advance for your advice.
My aim is now to dynamically adjust its output power based on electricity prices. Specifically, during periods of negative prices, I wish to limit the inverter's production to match my self-consumption when adding additional consumers (e.g., EV, electric boiler, ...) is not feasible.
Currently, I have implemented parameter readings such as power and voltage using Node-RED via Modbus TCP/IP. However, I have noticed that the refresh rate is quite slow. I am considering establishing a connection via RS485, as I have an unused Ethernet cable between my Linux server and the Huawei inverter.
According to the Huawei Modbus Interface Definitions, register 40120 can be utilized to set active power deration.
Has anyone successfully implemented writing to this register (or any other register) via Domoticz/Nodered? Additionally, has anyone experienced improved performance using RS485 compared to TCP/IP for this purpose?
Thank you in advance for your advice.
Re: Huawei SUN2000 Inverters
I'd love to try your python plugin, is it this one: https://github.com/JWGracht/Domoticz-Huawei-Inverter ? I'm particularly interested in the P1 smart meter as I'm actually trying to populate one "manually"enboer wrote: ↑Thursday 27 March 2025 13:42 For who is interested I have a python plugin for the Huawei 2000 interter (=Zonneplan). It creates these devices as you can see in the picture.
In my case I have Protoss PW11H connected to the interter (wifi to modbus). Domoticz talks via ModbusTCP to the inverter.
Last edited by niawag on Wednesday 14 May 2025 16:44, edited 1 time in total.
-
- Posts: 35
- Joined: Tuesday 02 October 2018 15:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Huawei SUN2000 Inverters
I send you a PM
Who is online
Users browsing this forum: Bing [Bot] and 1 guest