I did it on WR740N. I am not sure about your network knowledge but I think you may find my blog helpful anyway as I described some tricks:
https://skyboo.net/2021/07/how-to-connect-to-sun2000-from-dd-wrt/
Ah, sorry I did not see that you are not using the huawei_solar-integration from wlcrs⊠If you are using some other integration, then I do not know what information you can get.
I did it with Freshtomato running on Asus 68U which is working awesome, but I need that router somewhere else in the house. Wireless Client | Page 3 | LinksysInfo.org
Now trying to replicate @wlcrs with OpenWRT on Netgear 4300V2. No success so far.
can ping from OpenWrt but same isnât true for HA.
edited all the files as mentioned in wlcrs github Connecting to the inverter · wlcrs/huawei_solar Wiki · GitHub but still no ping from HA to inverter
my static route.
I used this method of connecting to the inverter, by following that blog-post. It is working great (I have an ASUS RT-AC66U). It may be worth trying if you have trouble with other ways of doing the connection.
Are there any possibilities to read the data from old huawei sun2000-28KTL?
No wifi, no dongle only RS485 connector?
adding these rules, (192.168.1.24 is my openwrt router address. ) via ssh on openwrt router did the trick, but something is strange. @wlcrs integration is working with this, but not the ping. Strange. At least I am getting the data which is important
iptables -I PREROUTING -t nat -p tcp -d 192.168.1.24 --dport 6607 -j DNAT --to-destination 192.168.200.1:6607
iptables -I POSTROUTING -t nat -d 192.168.200.1 -p tcp --dport 6607 -j MASQUERADE
You can not ping 192.168.200.1 from HA when using this solution to the networking. The router is âonlyâ forwarding the port 6607 to the correct place. To your LAN, 192.168.200.1 does not really exist. You use your routers ip-address to communicate, so the only thing you can ping is that (192.168.1.24 in your case). But this is as expected so everything seems to work.
I fixed it, there was a typo in the router IP, fixed that and added these rules to the custom rules in Openwrt. Rock-solid connection due to this router being near to the Huwaei inverter.
thank you, i would if i knew what to add in it, i don t have a house energy consumed sensor i could add so i would need to derive it from the other energy sensors i have. i will have a go at the advanced example there, but i m worried about the resets that those counters might have
do you have zero-export/ huwaei power meter?
go with the Openwrt route.
-
simple flash OpenWrt.
-
Connect 2.4Ghz radio to Inverter AP.
-
add the rules mentioned in @wlcrs github page
Connecting to the inverter · wlcrs/huawei_solar Wiki · GitHub using Winscp WinSCP :: Official Site :: Download -
Set a static IP on your Main router (it can be your ISP provided router/modem) Gateway IP is the IP of my OpenWrt router.
-
Portforward on your Openwrt
-
Boom it will start working.
Hello everyone, since 6 month, Iâm trying to install this integration (huaweil solar of wlcrs).
So I decided to start from scratch, clean install of HA.
Iâve installed hacsâŠ, connect my raspberry wifi to the internal ap (through DHCP), installed hacks depository and then following the next steps
-
Connect Home Assistant to the WiFi Access Point of your Huawei inverter (first with DHCP activated and then selection of internal wifi inverter + password).
-
Install this integration with HACS
-
Restart HA
-
Start the configuration flow with Host as 192.168.200.1 and the port at 6607 (because of my version of what I understood)
But still not working⊠any idea ?
I really dont understand because i start from scratchâŠ
I have a SUN2000-4KTL-L1 without battery and its version is :
V200R001C00SPC117
and Home Assistant Core 2022.6.7
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.2
Thanks a lot for anyone able to give my a peace of help⊠really Iâm desesperated
try another port? why your wlan0 is 192.168.199.2? instead of 192.168.200.2?
My routerâs client IP is 192.168.200.2 and inverter IP is 192.168.200.1
Hi, actually i have no idea, i just connect home assistant wifi to the inverter, this provide me automåtically this IP⊠just following the procedure. How can i change it? And which port should i use?
I see in the feed only the 6607âŠ
try 192.168.199.1 as host
can you ping 192.168.200.1 or 192.168.199.1 from the terminal?
Edit you can also try asking in HA official discord channel Discord.
It is easier and quicker to reply there
Yes, in the terminal I can ping the 192.168.199.1 but not the usual one (192.168.200.1)