marvincaspar / ioBroker.sunnyportal

Fetch the current data from Sunny Portal
MIT License
2 stars 10 forks source link

Login failed, no redirect to Dashboard #6

Open heikokainz opened 4 years ago

heikokainz commented 4 years ago

Since 07.05.2020 the above error is showing in the log. The login in the sunny portal is not working anymore. Before it was working exact with this login. Was reported by several people in the forum. `

  sunnyportal.0 2020-05-07 19:42:24.695 error (27884) Error: Login Failed, no redirect to Dashboard
  sunnyportal.0 2020-05-07 19:42:24.693 warn (27884) Login Failed, no redirect to Dashboard

` Perhaps within the sunny portal something changed.

Thanks

Heiko

juettra commented 4 years ago

I have the same problem since 2 days ...

Thanks Ralf

ecomworld commented 4 years ago

Last succesful update: 2020-05-07T09:06:33. Could you investigate?

Thanks, ecomworld

dmasur commented 4 years ago

Same for me

Sunny Portal goes to edit UserProfile Page instead of dashboard.

httpResponse.headers: {'cache-control':'no-cache','pragma':'no-cache','content-type':'text/html; charset=utf-8','expires':'-1','server':'Microsoft-IIS/10.0','x-aspnet-version':'4.0.30319','set-cookie':['.SunnyPortalFormsLogin=; expires=Mon, 11-Oct-1999 22:00:00 GMT; path=/; HttpOnly'],'date':'Sat, 09 May 2020 12:27:57 GMT','connection':'close','content-length':'30997'}

Hamudulu commented 4 years ago

Same message in the log like already posted above. Thanks for fixing.

ecomworld commented 4 years ago

Dmasur has a fix in his fork. Maybe it is worth a look. https://github.com/dmasur/ioBroker.sunnyportal/commit/e8f43ecc8237dec7290e25ebd40f20b92f1f0f40

dmasur commented 4 years ago

Dmasur has a fix in his fork. Maybe it is worth a look. dmasur@e8f43ec

I didn't test it successfully. Just played around.

marvincaspar commented 4 years ago

I have a local fix for login but now I get an unauthorized error while fetching the data.

Thomaskassel commented 4 years ago

I have the same Problem since a week.

nyler84 commented 4 years ago

I have the same Problem...

(8228) Error: Login Failed, no redirect to Dashboard (8228) Login Failed, no redirect to Dashboard

wsaal commented 4 years ago

Same problem. Adapter version 0.1.5 sunnyportal.0 | 2020-05-30 15:48:31.905 | error | (8610) Error: Login Failed, no redirect to Dashboard sunnyportal.0 | 2020-05-30 15:48:31.904 | warn | (8610) Login Failed, no redirect to Dashboard

I hope you can fix it. Thanks.

stsch83 commented 4 years ago

ich habe das gleiche problem

anwelti commented 4 years ago

Gleiches Problem bei mir.

pclars commented 4 years ago

bitte um behebung des Problems

Andreas0010 commented 4 years ago

Hallo, gibt es eine Chance dieses Problem zu beheben?

fasihi01 commented 4 years ago

Hallo,

ich bin zu SBFspot via mqtt gewechselt, die Daten direkt am Inverter abzugreifen macht mehr Sinn in meinen Augen, sofern es nur um produzierten/eingespeisten Strom geht. Offensichtlich wollen die Bereiber von Sunnyportal nicht, dass man dort die Daten abschnorchelt (irgendwie verständlich bei einem kommerziellen Produkt).

SBFspot: https://github.com/SBFspot/SBFspot

Am 28.06.2020 um 18:59 schrieb Andreas0010 notifications@github.com:  Hallo, gibt es eine Chance dieses Problem zu beheben?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

fhoner commented 4 years ago

+1

p3pp0 commented 4 years ago

bitte um Fix

ecomworld commented 4 years ago

I have found the following page which contains recommendation data, not yet a perfect match, but maybe helpful. For the future I would like to see this data also included. https://www.sunnyportal.com/HoMan/Forecast/LoadRecommendationData

ThoSt81 commented 4 years ago

+1

ThoSt81 commented 4 years ago

Wenn man eingeloggt ist, dann kommt man über https://sunnyportal.com/homemanager?t=1600958611921 (wobei "t" = der aktuelle timestamp ist) an die Daten. Wenn ich den Code richtig lese sind das die Daten die der Adapter erwartet. Evtl muss der adapter halt selbst den redirect nach dem Anmelden machen.

marvincaspar commented 4 years ago

Hi @ThoSt81 I'm currently no longer using ioBroker but if you create a PR, I can merge it.

ThoSt81 commented 4 years ago

Well, I am not a developer, so I dont feel like I can really fix it; just poke around :/

GermanBluefox commented 4 years ago

Hi @ThoSt81 I'm currently no longer using ioBroker but if you create a PR, I can merge it.

Can you accept, that community will develop it (moving to other org ?)

marvincaspar commented 4 years ago

Sure, it has the MIT license.

FabianEKS commented 3 years ago

I have the same problem.

SMA also rolled out "SMA 360"-App. Could that be a chance to simplify the problem by switching to "SMA 360" instead of "sunnyportal" or do they use the same way to access the values?

@GermanBluefox : is it already under development by other org? How to access a new version?