elupus / hass_nibe

Home Assistant Nibe Uplink Integration
185 stars 54 forks source link

Authorize link is missing #52

Closed nolenjohan closed 5 years ago

nolenjohan commented 5 years ago

I had to re-install my Hass.io, when trying to add integration "Nibe Uplink" and after having entered "Identifier" and "Secret" I end up with this dialogue, not sure what to do? I have tried open another tab in browser and surfing to https://api.nibeuplink.com/ but no success.

screenshot 879

In the pic in \config\custom_components\nibe\docs\ I can see that the dialogue should contain a "Authorize" link:

nibe_authorize

elupus commented 5 years ago

Have you grabbed latest nibe uplink component?

nolenjohan commented 5 years ago

Yes, just an hour ago.

nolenjohan commented 5 years ago

I found this link:

https://api.nibeuplink.com/oauth/authorize?response_type=code&client_id=[CLIENT_ID]&scope=[SCOPES]&redirect_uri=[REDIRECT_URI]&state=[STATE]

Can't figure out what to replace [STATE] with? The other I have replaced with my data.

elupus commented 5 years ago

You can't . It's generated by the addon

nolenjohan commented 5 years ago

So why is the link missing? Error on my Hass.io or in the integration?

elupus commented 5 years ago

The image you mentioned is from an old version of the plug-in. Maybe you still have a link to the old dev branch?

Please remove and reclone.

Den mån 4 nov. 2019 16:19Johan Nolén notifications@github.com skrev:

I found this link:

https://api.nibeuplink.com/oauth/authorize?response_type=code&client_id=[CLIENT_ID]&scope=[SCOPES]&redirect_uri=[REDIRECT_URI]&state=[STATE]

Can't figure out what to replace [STATE] with? The other I have replaced with my data.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/elupus/hass_nibe/issues/52?email_source=notifications&email_token=AADV5IHTKDUQCLG7JMA7ZDLQSA4ORA5CNFSM4JIUZII2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC7TMEA#issuecomment-549402128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADV5IBGSYHDBPXCX4JTOTLQSA4ORANCNFSM4JIUZIIQ .

nolenjohan commented 5 years ago

That did the trick!

But, even though integration successful, I don't get any devices within that integration:

screenshot 880

I also get this notification:

screenshot 881

elupus commented 5 years ago

Check log

nolenjohan commented 5 years ago

Found the issue, deleted old files within: \config\deps\lib\python3.7\site-packages\

Restarted and now it works perfect!