Skip to content
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

No inverters found #277

Closed
bartgabriels opened this issue Apr 15, 2023 · 25 comments · Fixed by #286
Closed

No inverters found #277

bartgabriels opened this issue Apr 15, 2023 · 25 comments · Fixed by #286
Assignees
Labels
bug Something isn't working

Comments

@bartgabriels
Copy link

I just migrated from m.ginlong.com to SolisCloud. Migration went well, API Access requested (within 10 minutes approved) but integration with HA is not working.

Logger: custom_components.solis.soliscloud_api
Source: custom_components/solis/soliscloud_api.py:211
Integration: Solis Inverter (documentation, issues)
First occurred: 08:27:12 (2 occurrences)
Last logged: 08:27:46

No inverters found

2023-04-15 08:55:15.270 DEBUG (MainThread) [custom_components.solis.ginlong_api] Fetching data for serial: 000370017107302
2023-04-15 08:55:16.265 DEBUG (MainThread) [custom_components.solis.service] Scheduling next update in 0:02:23.774206, at 2023-04-15 06:57:40.039427+00:00
2023-04-15 08:55:33.882 DEBUG (MainThread) [custom_components.solis.soliscloud_api] workarounds: {'correct_daily_on_grid_energy_enabled': False, 'use_energy_today_from_plant': False}
2023-04-15 08:55:34.313 WARNING (MainThread) [custom_components.solis.soliscloud_api] No inverters found

Screenshots
If applicable, add screenshots to help explain your problem.

@bartgabriels bartgabriels added the bug Something isn't working label Apr 15, 2023
@michaelsargent
Copy link

I did the same last month. You can keep using the ginlong (old portal) for HA. I updated my password in the new soliscloud.com portal and it still updates a month after. So I can use the old app on my iphone or the new soliscloud app.

@bartgabriels
Copy link
Author

bartgabriels commented Apr 16, 2023 via email

@michaelsargent
Copy link

Damn, so I have to find a solution too. Mind you, they may not support it, but I am hoping that it keeps running though. I'll make a copy of my HA instance and swap over to soliscloud and see what happens. What version of solis-sensor are you on? Can you log on to soliscloud.com portal through a browser? Did you update the portal_domain and portal_plant_id?

@hultenvp
Copy link
Owner

Hi @bartgabriels , @michaelsargent

Please follow the wiki: https://github.com/hultenvp/solis-sensor/wiki/Soliscloud-issues#testing-issues
And let me know the results here.

Pretty sure it is (again) a backend issue.

My workload currently unfortunately doesn't allow me to be so active on GitHub, so expect a delay in my response.

@curry684
Copy link

Mental note: Solis portal mentions https://www.soliscloud.com:13333/ as the API URL. If you copy/paste this into HA integration including trailing slash it gives the No inverters found error. Removing the trailing slash made it work for me right away.

Disclaimer: didn't double check, it may have been API flukes on their end, but maintainer can check this easier than me.

@bartgabriels
Copy link
Author

bartgabriels commented Apr 18, 2023 via email

@neox387
Copy link

neox387 commented Apr 19, 2023

Mental note: Solis portal mentions https://www.soliscloud.com:13333/ as the API URL. If you copy/paste this into HA integration including trailing slash it gives the No inverters found error. Removing the trailing slash made it work for me right away.

Disclaimer: didn't double check, it may have been API flukes on their end, but maintainer can check this easier than me.

thanks also copy pasted works without /

@Blokkert
Copy link

Mental note: Solis portal mentions https://www.soliscloud.com:13333/ as the API URL. If you copy/paste this into HA integration including trailing slash it gives the No inverters found error. Removing the trailing slash made it work for me right away.

Disclaimer: didn't double check, it may have been API flukes on their end, but maintainer can check this easier than me.

this is not working for me :(

@hultenvp
Copy link
Owner

Try the test script @Blokkert

@dpgh947
Copy link

dpgh947 commented Apr 21, 2023

I converted to soliscloud a few days ago and it has been working fine, but today I have been getting loads of "no inverters found" errors logged, over 100 today. In between it is still working fine. I wonder if lots of people have been prompted (like I was) to convert from ginlong to soliscloud by the recent email saying that the "old" ginlong interface is being withdrawn, and the new soliscloud can't cope with the increasing load?

@LucidityCrash
Copy link
Contributor

LucidityCrash commented Apr 23, 2023

I've been seening this and tried running the test code just now ... looks like the inverterslist api endpoint is returning a 502 a lot of the time.

@dpgh947
Copy link

dpgh947 commented Apr 25, 2023

I've tried the test code (I downloaded the whole zip file) and I get loads of (for example)

Failed with: API returned an error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://www.soliscloud.com:13333/v1/api/stationAll'), error code: None, response None

I can't get a good response out of it at all.

I am getting hundreds of "no inverters found" logged per day now, it seems that MOST requests fail but every now and then it gets through, because the entities in HA do seem to be getting updated mostly every 10-20 minutes. This seemed to start for me around 7:20am on Saturday. It had been fine before that (I only converted to soliscloud a few days before Saturday)

@viking2010
Copy link

I opened a discussion on the API issues here: #280

I think many of these messages are related to the problems Solis have had since Sunday with their API. I have got a ticket logged with them about it, but from past conversations, they know that their API support is crap.

@HamsenBender
Copy link

Have been trying to switch to SolisCloud for some weeks now, but I always see the same error in the log:
"No inverters found"

Any ideas?

@dpgh947
Copy link

dpgh947 commented Apr 27, 2023

Well the constant "no inverters found" errors in my logs stopped at 06:39 this morning (over 2 hours ago now), and the test script is also working every time now, the first time I have seen it work. I think (hope) they have fixed it.

@viking2010
Copy link

I can confirm the above @dpgh947. Solis seem to have fixed their API issues now. Hopefully that will fix all these issues people have had with getting setup.

@HamsenBender
Copy link

Indeed, the test script is now working while it was still failing all steps yesterday.
I still get the same error however in HA when setting up the integration, "Cannot login with provided URL and credentials" and "no inverters found" in the logfile

@LucidityCrash
Copy link
Contributor

LucidityCrash commented Apr 27, 2023

That would suggest you've not got things configured correctly ... I'm going to assume that since the test script works you have the username, key, secret, and plant ID correct ... exactly what URL have you entered ? It pretty much HAS to be exactly :
https://www.soliscloud.com:13333

Note NO trailing /
and select the soliscloud radio button

@HamsenBender
Copy link

Pretty sure I used the correct settings, since the test script was working.
But I think I finally found the cause, I noticed in the Soliscloud portal, the plant ID was empty.
(The ID in grey on top, after the plant name)
I changed the plant name to something new, and after that an ID was generated for the plant.
Few minutes after that, I am now able to add the integration.
And after adding the integration, it mentions the ID which was previously empty.
So I'm pretty sure the issue was related to the Plant not having an ID

@nheetesonne
Copy link

Pretty sure I used the correct settings, since the test script was working.
But I think I finally found the cause, I noticed in the Soliscloud portal, the plant ID was empty.
(The ID in grey on top, after the plant name)
I changed the plant name to something new, and after that an ID was generated for the plant.
Few minutes after that, I am now able to add the integration.
And after adding the integration, it mentions the ID which was previously empty.
So I'm pretty sure the issue was related to the Plant not having an ID

The plant id in the overview page (https://soliscloud.com/#/station/stationdetail_1?id=xxxxxxxxxxx) was empty for me too.
After changing the name of the installation (Choose "change information" on the top right of the overview page) a plantid was generated. After that the intergration worked immediately. The error I got before was "no inverters found"

@dpgh947
Copy link

dpgh947 commented Apr 27, 2023

I have had 6 errors logged through today, as opposed to several hundred per day at its worst, so massively improved, but still a slight intermittent problem, although not noticeable unless you look for it.

@curry684
Copy link

For the record the official SolisCloud app is also frequently showing HTTP 503 and other errors. Their service is currently hardly stable and it's unlikely that one can make a really stable integration with it yet.

@bartgabriels
Copy link
Author

bartgabriels commented Apr 30, 2023 via email

@atryda22
Copy link

That would suggest you've not got things configured correctly ... I'm going to assume that since the test script works you have the username, key, secret, and plant ID correct ... exactly what URL have you entered ? It pretty much HAS to be exactly : https://www.soliscloud.com:13333

Note NO trailing / and select the soliscloud radio button

I had the same problem with unnecessary / after port number
I think some info in the manual would be useful.
I was also not sure which field to enter what value because they are not described and the order is different in the manual.
In my experience, the order is as follows:

  • our ID (some suggest that it may be the ID of the inverter)
  • secret
  • key id
  • station id

Regards

@brewmark27
Copy link

Pretty sure I used the correct settings, since the test script was working.
But I think I finally found the cause, I noticed in the Soliscloud portal, the plant ID was empty.
(The ID in grey on top, after the plant name)
I changed the plant name to something new, and after that an ID was generated for the plant.
Few minutes after that, I am now able to add the integration.
And after adding the integration, it mentions the ID which was previously empty.
So I'm pretty sure the issue was related to the Plant not having an ID

The plant id in the overview page (https://soliscloud.com/#/station/stationdetail_1?id=xxxxxxxxxxx) was empty for me too. After changing the name of the installation (Choose "change information" on the top right of the overview page) a plantid was generated. After that the intergration worked immediately. The error I got before was "no inverters found"

Same for me, this fixed the issue for me.

@hultenvp hultenvp self-assigned this May 26, 2023
@hultenvp hultenvp linked a pull request May 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.