Finally got it to work. Connected to Huawei 10KTL-M1 using Raspberry pi’s builtin wifi.
Supervisor
System
click change next to IP address
select Wlan0
Select wifi and scan for access points.
Connect to SUN2000-xxxxx (xxxxx being your Inverters’ serial number) password is “Changeme” if it wasn’t changed
add the following code to configuration.yaml file.
restart HA.
It will add a new sensor name " sensor.sun2000_10ktl_m1" or whichever the model of your inverter is.
follow @Emilv2 and @ligeza 's advice for further queries. because I don’t know next steps at this stage. @iz3man thanks for rpi4 advice. temporary solution but a solution non the less.
I have made it work.
My scenario is not the common one. I have not my HA instance running in a RPI. It is on a Intel miniPC away from the inverter.
So, I have used an old TPLink router with wifi to route and masquerade the traffic between the internal inverter AP to my local network.
I have followed this tutorial that I got from this thread: https://skyboo.net/2021/07/how-to-connect-to-sun2000-from-dd-wrt/
I had some trouble adapting it to my settings, but I finally got it.
I have just started with Emil’s custom component. But I still have not made anything with the sensor values.
My plan is to make some automations based on the consumption and generation.
Also, I would like to use the new “Energy” feature in HA, but on my first attempt, I could not see the sensor in the config wizard. The HA docs state that Modbus should be valid, but I would like to support Emil’s work.
The wifi don’t show up in the rpi4 anymore … it’s located 2 meters from the inverter .
It don’t connect to it by WiFi …
I have now it connected by Lan and now get someone already connected
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.9/site-packages/huawei_solar/huawei_solar.py:311
First occurred: August 28, 2021, 2:42:23 PM (1 occurrences)
Last logged: August 28, 2021, 2:42:23 PM
could not read register value, is an other device already connected?
I can ping the LAN ip with good reslut but still get the error message
**I Now managed to get into the inverter and changed the inverter wifi password and then it poped up in RPI4 again … so i am now connected **
Logger: homeassistant.config
Source: config.py:445
First occurred: 2:12:44 PM (1 occurrences)
Last logged: 2:12:44 PM
Invalid config for [template]: [total_yield] is an invalid option for [template]. Check: template->total_yield. (See /config/configuration.yaml, line 30).
Hi all,
I have configured and have access to the sensor created by Emil’s custom component and I created sensor templates for many attributes as @yousaf465 do.
But I could not use any of them for the new Energy feature in HA.
Anyone has been able to use that way?