there is no text in the configuration window
I have tried every combination of port, slave id and elevated permissions or not.
there is no text in the configuration window
I have tried every combination of port, slave id and elevated permissions or not.
Hi Jakob, Iâm not the master of the group,it is strange that you donât see the âelevate permissionâ. But unfortunately I canât help more on this.
Anyway, I think that if all should work, you should be able to ping the proper port from any device in the network.Then before be crazy with HA if I was you I would try to test the IP and port from another device.
I hope that someone more expert than me will help youâŚ
Hi, Thanks for answering anyway.
If you mean that I should be able to type in the IP in my browser and get some basic webpage hosted by my inverter⌠then nothing shows up. Not at 192.168.x.x, nor at any of the ports 502 or 6607.
I will give as much info here as possible, maybe someone with a keen eye spots the issue:
Home Assistant 2023.5.4
Supervisor 2023.04.1
Operating System 10.2
Frontend 20230503.3 - latestcopied all the GIT files into a directory: custom_components>huawei_solar
local IP adres is fixed in the router. and this is the IP Iâm trying to connect to. I also tried 192.168.200.1 for some reason.
inverter version: V100r001c00spc153
MBUS (DC) version: V100r001c00SPC300 (I believe this is the dongle)
Modbus TCP = enabled and unrestrictedSDongleA-05 and HUAWEI INVERTER 3-PHASE 4KW M1 SUN2000
I have tried every combination possible in the configuration window of the integration.
Interesting fact: in the browser (chrome) version of HASS I donât have any text in the config window, only fillable fields (see previous post). On the app, there is text. (edit: ok, now there is text in the window)
No input results in an established connection.
Ping via command prompt.
In windows press the windows key + R, in the âRunâ box type cmd
and press enter. Type in the black window (the command prompt) ping 192.168.x.x
entering the correct IP address of the ineverter, and press enter.
If your reply is something like Reply from 192.168.x.x: bytes=32 time=1ms TTL=64
then you have correctly set up the network.
If it is Reply from 192.168.x.x: Destination host unreachable.
or anything else than bytes=xx time=Yms TTL=Z then you have a network issue you have to fix before continuing.
If you get a reply, then you can probe if the port is open using telnet
. To use telnet you have to install/activate it in the Windows Features
.
Once you have telnet activated, turn back to the black command prompt and type telnet 192.168.x.x 502
or telnet 192.168.x.x 6607
depending what port youâre probing, and paste here the results.
NOTE: if you already have communication set up on one of those ports, youâll get a Connect failed
.
a) FE-Dongle, which is connected via cable to my internet router (FritzBox)
- using DHCP and part of my homenetwork (e.g. **192.168.168.1** )
- used for FusionSolar only
=> matches to your Network A
Network A- Local network client: obtained with the dongle, and it is used for FusionSolar usage. Inverter IP: 192.168.1.XXX. To have on this network the sensor status via ModbusTCP on the port 6607 of the dongle you need to activate it in the inverterâs setting, but you need Installer access.
Inverter WLAN Network used for installation/maintenance via FusionSolar App:
Network B- Installer network: AP with SSID: âSUN2000-HVXXXXXXXXâ. Inverter IP: 192.168.200.1
Used for installer purpose, and as default it communicate sensor status via Modbus TCP
This will end into the following:
b) SUN2000-6KTL is connected via WLAN also to my internet router
- using DHCP and part of my homenetwork (e.g. **192.168.168.2** )
- used for HA only by the usage of Modbus TCP
For me there is no need to use additional bridges, routers or other magic staff âŚ
I was network professional in my first life => keep is easy, keep it simple!!!
The only thing is to reset inverter installer password - See Integration Solar inverter huawei 2000L - #2615 by heinemannj
But then you have the additional benefit to check/correct all the settings your installer have not properly modified during initial setup âŚ
Anyone else seen disconnects on the latest version of this integration? When I say âdisconnectsâ, basically I can still ping the inverter but the inverter and devices connected to it (battery and power meter) both show as unavailable.
me
only after a reboot will connect again
Yes, same here, a restart of HA seems to resolve it, though a âreloadâ of the integration doesnât.
I have two inverters and itâs only the primary inverter that seems to have problems.
Iâm having it today, right after supervisor update to 2023.06.1. Restart/reboot doesnât help.
edit: restart somehow worked now
Hi everyone,
since like 1-2 weeks Iâm having problems regarding the powerflows using power flow plus card as well as tesla style solar power card.
I just donât get whats wrong with itâŚ
Has been working great before, but now both of them showing wrong values.
power flow plus:
the picture shows 0 for house consumption, if i click the entitiy, i can see there is actually load.
I also think the battery, as well as the grid values are inverted.
tesla style:
been trying to use this one instead, was working fine, but now in the evening since there is no more power production the values are also totally wrong (changing from negative values to high values every second), definitive wrongâŚ
Huawei Integration values all seem to be rightâŚ
Iâve been using exactly the manuals from the wiki:
I just donât get it⌠Really would appreciate your help, thank you in advance
anyone having issues after Core 2023.06 upgrade?
meâŚ
after this latest updates, its always loosing wifi connection to the inverter (Iâm using a chuwi herobox with RJ45 for network, and wifi just for the inverter)
iâve already checked that this issue is due to the loss of âwifi connectionâ to the inverter⌠mainly the IP Address (I have it static!!)
this is getting worse and worseâŚ
now is loosing connection many times per day
hardware reboots after reboots after reboots, just to get the data
Update: the pc have a Qualcomm Atheros QCA9377 Wireless Network Adapter
Hi guys,
It seems that something has been removed/updated starting with 2023.6.1. Any idea how can I address this issue, the integration is no longer working?
This error originated from a custom integration.
Logger: homeassistant.loader
Source: custom_components/huawei_solar/sensor.py:26
Integration: huawei_solar (documentation)
First occurred: 10:26:57 AM (3 occurrences)
Last logged: 10:40:00 AM
Unexpected exception importing platform custom_components.huawei_solar.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/huawei_solar/sensor.py", line 26, in <module>
from huawei_solar import AsyncHuaweiSolar, ConnectionException, ReadException
File "/usr/local/lib/python3.11/site-packages/huawei_solar/__init__.py", line 6, in <module>
from .huawei_solar import * # noqa: F401 F403
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 15, in <module>
from pymodbus.client.asynchronous.async_io import init_tcp_client
File "/usr/local/lib/python3.11/site-packages/pymodbus/client/asynchronous/async_io/__init__.py", line 228, in <module>
class ReconnectingAsyncioModbusTcpClient(object):
File "/usr/local/lib/python3.11/site-packages/pymodbus/client/asynchronous/async_io/__init__.py", line 262, in ReconnectingAsyncioModbusTcpClient
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
LE: It seems that asyncio.coroutine decorator has been removed since Python 3.11
Hi Bogdan,
I have the exact same issue after upgrading to 2023.6.1
Had to revert back to 2023.5.X release.
I hope wlcrs can update the components in the near future, as I rely on it heavily for charging battery and car.
Regards
I am on 2023.6.1 and doesnt seem like I have the same issues?
no unfortunately⌠I would keep searching for a solution, but Iâve no spare time right now
Hi all,
while trying to get the Huawei Solar Integration running Iâm stuck and canât get it running.
Iâm able to connect to the inverter. With a simple python script using the huawei_solar package I do get data from the inverter. All from the docker host, a linux server.
Trying the same lines of code from inside the HA docker container after installing the huawei_solar python module itâs also working. This is the code Iâm using:
import asyncio
from huawei_solar import HuaweiSolarBridge
async def get_response():
bridge = await HuaweiSolarBridge.create(host="10.0.0.1", port=502,slave_id=1)
print(await bridge.update())
asyncio.run(get_response())
Still canât get the integration running
Tried to set debug, but no debug from the integration is written to the logs.
All I get is this:
2023-06-18 22:04:49.221 INFO (SyncWorker_8) [homeassistant.util.package] Attempting install of huawei-solar==2.2.7b5
2023-06-18 22:05:48.194 INFO (MainThread) [huawei_solar.huawei_solar] Waiting for connection ...
Any help on this is appreciated
.HA_VERSION 2023.6.2
I found a solution for at least my problem.
Changing manifest.json to ârequirementsâ: [âhuawei-solar==2.2.6â], the integration was able to install huawei-solar and I am able to use it.
2023-06-19 14:07:49.451 INFO (SyncWorker_7) [homeassistant.util.package] Attempting install of huawei-solar==2.2.6 2023-06-19 14:08:41.027 INFO (MainThread) [custom_components.huawei_solar.config_flow] Successfully connected to inverter SUN2000-10KTL-M1SUN2000-12 with SN BT22C12345678
2.2.7b5 is pre-release and maybe HA isnât installing it as requested