homebridge-google-nest-sdm
homebridge-google-nest-sdm copied to clipboard
Implement Custom UI to Facilitate Refresh Token Generation
Using the Homebridge Custom Plugin UI library, implements a custom config UI that makes it easier to generate refresh tokens.
The new UI requires that the user input a client ID, client secret, SDM project ID, & PubSub subscription. Once these values are present, the user can click the Initiate Google Login
button, which will open the Google OAuth URL in a new tab.
Once the user completes the login flow, they can copy the resulting google.com
link into the Auth URL
text box. A refresh token will then be automatically generated and populated into the config.
Addresses #16
Wow, this is amazing! I’m afraid I’m out of the country for a week or two so I’ll review it as soon as I get back. I really appreciate your contribution making no mistake.
When I open the settings screen on an already configured system I just see this:
When I open the settings screen on an already configured system I just see this:
![]()
I'm having a hard time reproducing this issue. I just tested the upgrade path on my mac's homebridge server, and my raspberry pi's, both displayed the custom UI successfully.
Do you see an error toast, or a console log?
Hi @jvartanian, I'm so sorry this hasn't been merged yet. I've been extremely busy with work and life. I haven't forgotten, I promise I'll get to it.