Closed pbabilas closed 2 years ago
have you tried this? https://github.com/ksheumaker/homeassistant-apsystems_ecur/discussions/55 Also take a look at you ECU-R, does it have the Sunspec logo on the back? If so, you'll have ECU-R-Pro firmware installed. We're still looking for a solution to support that one as well. Because we do not own a ECU-R-Pro this is somewhat difficult to solve.
If you own an ECU-R-Pro try this procedure: https://community.home-assistant.io/t/apsystems-aps-ecu-r-local-inverters-data-pull/260835/514
No there is no sunspec logo. I've just connected to device via its hotspot and i'm sure that ip is correct, port via hot spot is open and working but through router and its lan port its full closed ip :( any idea how to open this port ?
Great! You've got a standard ECU-R. The temporary hotspot is only used to setup the ECU using the ECUapp or ECUmanager app (it wil stop functioning after about 15 minutes). With one of these apps you should be able to configure the ECU to connect to your in home WiFi network. If you've done that, you should be able to see the ECU in your router and assign a fixed IP-address to it using the MAC address. When you've done that, use that IP-address to configure the integration. If you're unsure try it first with the Packet Sender software to see if you get any response. Once set up it works without any problem.
I understand that. I've got configured all. My ip is set https://share.merce.com/files/YcCxRhXzzv.png and online. but ports are closed :(
(☸ |prod:kids51015) b-code@bcode-XPS ~/workspace/amba/ratelimit main nmap 192.168.1.100 Starting Nmap 7.80 ( https://nmap.org ) at 2022-03-09 17:13 CET Nmap scan report for 192.168.1.100 Host is up (0.0022s latency). All 1000 scanned ports on 192.168.1.100 are closed
Maybe it's becouse I've got model with zigbee?
No, Zigbee is not the issue - the ECU communication with inverters is zigbee (in mesh network if you've got multiple inverters). You only scanned the first 1000 ports? The apps use port 8899 to communicate with the ECU-R. Try: nmap 192.168.1.100 -p 8899 Result should be: 8899/tcp open ospf-lite (followed by MAC address). In order to let it all work you'll need the ECU to be connected by WiFi and use that address. Port 8899 is not open when using the wired (ethernet) connected ECU.
tried also port:
(☸ |prod:partnertele) b-code@bcode-XPS ~/workspace/amba/ratelimit main nc -zv 192.168.1.100 8899 nc: connect to 192.168.1.100 port 8899 (tcp) failed: Connection refused
:(
Does Packet Sender work for you or are you on MAC?
Tried it already, no luck :(
https://share.merce.com/files/fIwDgz6avZ.png
PS. Restarted router so there is now ip from dhcp ;]
And using ubuntu 21.10.
So your ECU now got 192.168.1.150 due to DHCP instead of 192.168.1.100 - it's weird you're not able to connect. Not even with Packet Sender. I wonder if there's something in your network preventing a connection, are you able to ping the ECU? Did you allready powercycle the ECU? What is your firmware version (visible when using the ECUapp). I'm able to connect:
ping is fine:
PING 192.168.1.150 (192.168.1.150) 56(84) bytes of data.
64 bytes from 192.168.1.150: icmp_seq=1 ttl=255 time=3.87 ms
64 bytes from 192.168.1.150: icmp_seq=2 ttl=255 time=1.60 ms
64 bytes from 192.168.1.150: icmp_seq=3 ttl=255 time=3.70 ms
64 bytes from 192.168.1.150: icmp_seq=4 ttl=255 time=1.38 ms
64 bytes from 192.168.1.150: icmp_seq=5 ttl=255 time=0.996 ms
^C
--- 192.168.1.150 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 0.996/2.306/3.865/1.219 ms
(☸ |prod:partnertele) b-code@bcode-XPS ~/workspace/amba/ratelimit main nc -zv 192.168.1.150 8899
nc: connect to 192.168.1.150 port 8899 (tcp) failed: Connection refused
What do u mean "powercycle the ECI?"
Hmm I cant find that workspace on my app. All i've got is:
You have firmware 1.2.20 also (like I have). The IP 192.168.1.150 is bound to your LAN (ethernet/cabled) connection. Using this connection is not possible, port 8899 is not open on the ethernet NIC. What is the WiFi IP-address on the ECU? Configure and use that. The GUI you are showing is the ECUapp, I was showing the GUI from the EMA Manager (also available for your mobile).
Gr8 its working now!, thans a lot. Wlan has other mc address so other ip was given. Need to scan all ips and find one with 8899 port open. Now it working. Thanks again! ;]
No problem, glad I could help. Please mark the post as answered so this issue can be closed.
I recently received my AP ecu-r (2160...) and have the same connection error. It's only attached to the Internet using ethernet. I have to add the device to my WiFi network as well and use the WiFi IP address to connect to it?
Am I correct?
Yes correct, wireless only will do as well. But keep in mind that both interfaces each use a different IP-address. So make sure you enter the correct one in the integration's settings.
Yes correct, wireless only will do as well. But keep in mind that both interfaces each use a different IP-address. So make sure you enter the correct one in the integration's settings.
Ok, thank you. I have to wait for some info from my supplier, before I can login with the app, etc. I will wait for that info and connect the AP to my WiFi network.
As in topic can't connect to my ap ecu-r:
https://share.merce.com/files/XgQpEtm1oo.png
Sunno what means the err msg.