GoSungrow icon indicating copy to clipboard operation
GoSungrow copied to clipboard

EU server login

Open rikardkjell opened this issue 2 years ago • 9 comments

[07:32:40] INFO: Login to iSolarCloud using gateway https://portaleu.isolarcloud.com/ ... Error: API httpResponse is 405 Method Not Allowed

Above responce in log when trying to use the add-on. Is the host-adress correct for EU server login ?

rikardkjell avatar Aug 17 '23 07:08 rikardkjell

https://gateway.isolarcloud.eu is the correct one...

ottovdv avatar Aug 17 '23 17:08 ottovdv

Phew. Thanx a lot. Worked like a charm. 😁 ...for a while... I think... now this responce: [05:10:11] INFO: Login to iSolarCloud using gateway https://gateway.isolarcloud.eu/ Error: API httpResponse is 404 Not Found

Loosing the last "/" in the adress made it work... Now it is playing nicely

rikardkjell avatar Aug 17 '23 18:08 rikardkjell

added pull request for updated README

draoZA avatar Sep 01 '23 12:09 draoZA

Thanks to @ottovdv's answer, I moved from "Error: API httpResponse is 405 Method Not Allowed" to "Error: appkey is incorrect 'er_invalid_appkey'" ... I did not change the default appkey provided with the addon ... is there a different appkey for the EU gateway?

skydado avatar Dec 10 '23 10:12 skydado

See https://github.com/MickMake/GoSungrow/issues/101

ottovdv avatar Dec 10 '23 10:12 ottovdv

You can read the full background to this problem at #101.

If you just want the fix, see this gist - the link takes you to the part of the gist that summarises what to do for Home Assistant.

If your need is more general (ie you want to use GoSungrow outside of Home Assistant) then start at the top of the gist and follow the instructions for recompiling.

If you have any more trouble with this specific issue (er_invalid_appkey or an error saying the content needs to be encrypted) then please add it to #101. In other words, it is not specific to the EU server.

Paraphraser avatar Dec 10 '23 10:12 Paraphraser

I've gone through the gist and discussions as much as I can and am wondering why this patch is not included in the actual project ? Is it a license issue? Does the owner not want to incorporate an API key in the code?

xpufx avatar Mar 12 '24 12:03 xpufx

See the last paragraph here. That's all pure speculation. Nobody knows. The totality of #101, this issue, and other issues, plus the gist, is the best we can do in the absence of actually hearing from the owner.

Paraphraser avatar Mar 12 '24 12:03 Paraphraser

See the last paragraph here. That's all pure speculation. Nobody knows. The totality of #101, this issue, and other issues, plus the gist, is the best we can do in the absence of actually hearing from the owner.

So we CAN actually do this: https://gist.github.com/Paraphraser/cad3b0aa6428c58ee87bc835ac12ed37?permalink_comment_id=4983908#gistcomment-4983908

xpufx avatar Mar 12 '24 12:03 xpufx