New test version 2.0.0:
- Use new Blink oAuth authorization.
The app now uses the new Blink oAuth2 authorization.
Please “repair” the “Blink Account” device to authenticate. Then all should work as usual (I hope
).
Some technical details:
- The real oAuth2 login is not possible because we don’t have a valid client ID and Blink does not allow the HomeyCloud oAuth URLs to be used.
The app is using the login and token refresh URLs instead to pass the login information (user, password). That’s the same logic, BlinkPY is using. - Blink returns an oAuth2 session (access and refresh token) that can be used to authenticate further webservice calls.
- The app doesn’t store the account password. It only stores username and oAuth tokens. So all is as safe as possible like other oAuth2 apps.
In case of outdated refresh token (don’t know how long it’s valid), a re-login is needed in repair view. That’s the same logic as for all other oAuth apps. - The app uses the Homey ID as device ID. That means you will get a Blink eMail about a “new device” after you logged in from your Homey.
Just try the new version and report issues in this thread.
It’s a test version. If there are no issues the next days, I will publish it as live version.
@TobyTobsen @Andrew_Whiteley @MarcoRuiter @gautel @Polyrhythm27 @Fabian_Bueler @Fabian123 @Davide_Zamo
FYI