Hi Guys, I’m using this integration for a while through WiFi -but readings are inconsistent (some values are zeros). I was wondering, as my Inverter is 30meters away i installed AP station and have now inverter connected via LAN on 192.168.200.1 IP address, my normal network pule is 192.168.8.x, can i use second LAN card (TP-Link USB) and connect this network to HA? I have it installed on PROXMOX?
Got it working! I have to setup CPE Bridge on Mikrotik Router (mAP) required config it attached…as address in integration you have to use bottom address (in my case 192.168.8.55)
Yes, as @ligeza said it is “normal”. Efficiency of 655.35% is the read register with value 0xFFFF - It just means that the inverter is not working and efficiency is not calculated. The integration should probably just strip those values out… what you think @wlcrs ?
I’m not inclined to add such logic in the library. For me this is a bug on the inverter-side, not on the library side. I don’t want to create a precedent for having to support quirks like these, because this can get out of hand quickly, and I rather invest my time in other features like reading the optimizer data.
You can of course create template sensors yourself that fix the reading for your specific situation.
I have installed openwrt on the raspberry, I connect to the device through LAN connection from my desktop (I have disabled the master wifi on openwrt) and homeassistant get the information through LAN too. As you can see the brigde is between Wifi cliente and LAN interface. If you don’t have possibility to connect with LAN and need to use the master wifi, I think it could be poissible but increase a little more the configuration dificulty. I don’t understand very well your question about save and update configuration. I click on “save” after modified the configuration on every screen, and I saved a backup file of the router configuration after succesfully finalize the whole configuration of the reouter.
To connect your Homeassistant integration to the sun2000L you need to put into the integration as host the IP (LAN IP) of the openwrt router and the port according your configuration for port forwarding in openwrt router.
Hi all!
I am a new user on this forum…So please dont be ungry because i can not read this long forum
So I have a Huawei Solar 8ktl-m1 inverter and it is connecting to the net via ethernet.
The droid app and the huawei website is working and i can monitor the datas.
But!
I can not read the datas with HA I configured the inverter and i set the modbus to rs485 but i can not connect ot iverter.
Plase help me! I can ping the inverter but i can not read the datas just only in the app.
what is my mistake ?
how can i set the inverter ? please give me informaton step by step …
just only in the settings! I can login into the inverter setup.
I read somewhere that i can read the datas only just one app… It is true?
thank you very much to everybody
What firmware version do you have in smart dongle? For me the best is 123 because it has opened port for LAN. In newer firmware you have to set permission in inverter settings to connect to smart dongle. With lan cable you should set slave=1 and port 502 (with newest firmware you can try 6607 and sometimes slave may be a higher number, probably it is written somewhere in the inverter settings ).
Only one connection is possible to smart dongle to read data, but app on phone is not connected directly to inverter but read statistics from internet. So with right firmware and correct settings it should work.
Now looks like the firmware version of my dongle i:V100R001C00SPC119
Than is it not good for me?
Now here is night… So tomorrow moorning i will try to update te dongle.
Can i do it in the setup of the inverte? With android app?
Thx
Regards
Moorning
So I can not see the dongle update in the inverter setup…
The modbus is enable ( unrestricted) and now?
Now looks like i do something wrong.
I put information in to configuration yaml
Nothing
I see the sensor but no information
Please help me…
Thx
modbus:
name: Solar
type: tcp
host: 192.168.1.195
port: 502
name: RS485
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/ttyUSB0
stopbits: 1
delay: 5
timeout: 3
You doing it wrong. You can’t use two different integration to connect to smart dongle because it is only one connection possible at the time. As I said before you have to add in config slave=1 (or sometimes it could be other number ).
I suggest you to delete all this config you posted and use this integration:
On this site you have manual how to install it. Try port 502 and slave=1
I did it many times
here is te resault:
2022-03-13 07:31:42 ERROR (SyncWorker_0) [pymodbus.client.sync] Connection to (192.168.1.195, 502) failed: [Errno 111] Connection refused
2022-03-13 07:31:46 ERROR (MainThread) [homeassistant.components.sensor] The huawei_solar platform for the sensor integration does not support platform setup. Please remove it from your config.
If you use the Inverter AP, make sure nothing else (eg APP Phone) is connected to it
To update dongle with the APP, you need to connect to the Dongle AP directly with the phone.
When you unplug the Dongle from the Inverter (usb) and plug it back in (after 1 min), it will broadcast its SSID for a while. Connect to it with the APP (scan QR-code or manually select) and update.
Thx… No if i connect directly to Inverter there is open port 6607 fine…
But i can not connect with dongle… I enabled in the inverte but nothing.
If i go into the dongle setup i can not see the new firmware
Option A is the preferred/most stable one…
So forget about connecting to the dongle and make HA accessible to both your Home Network and Inverter AP…problem solved (and preferred one)