For the house power consumption, I do: house power consumption = inverter active power - power meter active power
But for some reason this gives a very noisy approximation.
For example, in the graph below, the sun came through the clouds between 5:30 and 5:45, so the inverter power increases significantly. However no extra device was turned on inside the house, so the house power consumption (blue line, calculated using the above formula) should have been an almost straight horizontal line (which it clearly isnāt).
Found it, luckily I kept the box left by the installer.
Just completed the connection and deleted/added my inverter again in HA.
All seems to be working fine, thanks for all your work!
Hello and thanks for a fantastic integration!
Iām currently using it with the dongle config and calling services through a flow in Node Red.
I have a problem with the service forcible_charge_soc, it times out and so the charging is not initiated.
Itās working fine with the services stop_forcible_charge and forcible_charge_soc. Any ideas what the issue can be? Attaching log from HA
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/huawei_solar/services.py:139
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: September 6, 2022, 23:00:03 (1 occurrences)
Last logged: September 6, 2022, 23:00:03
[547714910768]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 199, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/config/custom_components/huawei_solar/services.py", line 139, in forcible_charge_soc
await bridge.set(rn.STORAGE_FORCIBLE_CHARGE_DISCHARGE_SETTING_MODE, 1)
File "/usr/local/lib/python3.10/site-packages/huawei_solar/bridge.py", line 359, in set
return await self.client.set(name, value, slave=self.slave_id)
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 496, in set
response = await self.write_registers(
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 520, in write_registers
response = await self._client.protocol.write_registers(
File "/usr/local/lib/python3.10/site-packages/pymodbus/client/asynchronous/async_io/__init__.py", line 35, in execute
resp = await asyncio.wait_for(req, timeout=self._timeout)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
Hey, I need help with upgrading the FW on my sun2000l-17ktl
I have the āInstallerā account password but how do I connect to the inverter from my laptop? I can use the Energy dashboard with āInstallerā account so I know it works. I have a user account (was given to me by the installer of the inverter) to fusionsolar and I have also registerd an installer account on another e-mail address but I cant add my inverter that account.
Do I need to disable my connection to HA when adding the inverter or how? Someone have a stupid simple guide on how to do this?
After reading this complete topic, (itās pretty long). Currently iām accessing Inverter through internal WAN (192.168.200.1) with RPI in bridge mode. Also I can connect my test devices through this WLAN and connect to MODBUS to try some queries with qModMaster to check the values. Butā¦, only device ID0 works. Problem is that ID0 is not allowed in my configā¦ only 1-255.
I got SUN2000-4.6KTL-L1 Firmware: V200R001C00 and SW: V200R001C00SPC124, all up to date. Modbus is allowed, start from 1 unrestricted.
Hey Geert and thanks for the reply. I do have the Installer password, Iām using it to connect to the inverter from my homeassistant hub.
But I cant login to the inverter? How do I do that? I can connect to the inverters wireless accespoint with my laptop but after that, what do I do? I have tried with the fusionsolar app but it wount work?
I wonder if someone can help me. Iāve had the integration running flawlessly for several months now, but when my installers installed the Huawei system they changed the installer password to something which theyāre now reluctant to give me (since they say theyāve used on all of their installed systemsā¦despite me telling them that was bad practice).
Itās not been an issue so far because itās been summer here, but now as autumn comes and we want to command the battery to charge from the grid during off-peak times I apparently need the installer password to do that with the integration.
however I donāt know whether this resets anything other than the installer password and network settings? Iād hate it to reset my entire solar kit and have to get them out again to reset it all. I can deal with the IP addressing as thatās something I do as a job, but Iād not know any solar parameters if it gets to that. Can anyone tell me whether thatās the case?
Hello, in that case you can use the integration without to use a WLAN bridge to connect to the inverter wifi 192.168.200.1 adress?
Why it is mentionned nowhere ?