ksheumaker / homeassistant-apsystems_ecur

Home Assistant custom component for local querying of APSystems ECU-R Solar System
Apache License 2.0
166 stars 42 forks source link

ECU-C questions #161

Closed supertin closed 1 year ago

supertin commented 1 year ago

We have a ECU-C connected by wifi. Port 8899 is open and appears to be responsive, but it disconnects immediately upon issuing the system info command (APS1100160001END). Our ECU ID begins with 21500000 - is that what other ECU-C units have, or have we got a weird one? Firmware version is C1.2.6SAA

Anyway, I tried another command for "realtime data" (which I found on another github project) using the ECU ID given in the web interface, and I got a seemingly proper response (though I'm not sure it contains actual data). Another command that required a date gave a blank line as a response, which makes me think I messed up the command :rofl:

Is there any chance of making this work with our unit without running cables, or am I doomed to having to use scrapers and such?

Edit: I tried using Packet Sender instead of netcat, and I got a correct response from the system info command... The readable ASCII parts appear to match up with what the web interface says. HA integration still just says it can't find the ECU though.

supertin commented 1 year ago

Apparently I had some routing issues that got in my way. HA is on a NAS behind another router and missed a static route). Tried again today after resolving that, and it found everything. I'll open a new issue if I have further questions.