-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X1 Mini V34 not discovered + code version mismatch in pip package? #111
Comments
@jaykijay - is your PR #89 possibly helpful to this problem? It looks like you set it up for 69, 100, or 200 Data elements; mine returns 100 (I thought more, but mis-counted). I see that the code in the master branch allows only 69 or 200. |
This PR #110 is for speeding up the discovery process. It is indeed taking longer than necessary |
@jefft4 if you follow the instructions here, we can look at adding your inverter. We require a direct copy of the data returned from the inverter. https://github.com/squishykid/solax/wiki/Adding-Support-for-Your-Inverter |
It's http://<LAN_IP>/optType=ReadRealTimeData&pwd=SVBH99XXXX I have it working in a Node Red flow - I had to resort to that as I need to aggregate two inverters to get a system view. This is the part of my NR code that identifies the key data elements, in case it helps:
` |
I couldn't get the HA SolaX integration to load reliably, so tried some tests by calling the solax functions directly from Python using the test code from the front page of this repo.
I have two inverters for it to discover:
Both are accessed using their local SSIDs via nginx reverse proxies presenting them on port 80. The proxy logs show the expected mixture of POSTs with query strings and POSTs with form data as the code tries to discover different inverter types. Both my inverters expect form data.
I remove all the other inverters from the list in discovery.py, leaving just X1miniV34, it still times out without finding my inverter. I've checked the API response with curl and it shows "type": 4, which is the discovery test for the X1miniV34 type. Counting the entries in the proxy logs, it looks like the X1miniV34 discovery tries both query string and form data POSTs, so it should work.
Looking at the full requirements in x1_mini_v34.py:
All of that looks like it fits the requirements.
What else should I check to find out why it's not discovering the X1miniV34?
Additional note: I just spotted that inverter.py in my installation is very different from the version in the git repo. pip says that the version of solax is 0.3.0, though. That would mean that the code I'm running might not be doing what I think based on reading the code in github. Why would the file differ if the version is correct?
The text was updated successfully, but these errors were encountered: