Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Authentication method changed #4

Open
androwis opened this issue May 3, 2021 · 5 comments
Open

Authentication method changed #4

androwis opened this issue May 3, 2021 · 5 comments

Comments

@androwis
Copy link

androwis commented May 3, 2021

It looks like Govee has changed the way you login and I’m unable to get an api token. Is this still working for you? I cannot get this plugin to work on my end now

@schwaggy
Copy link

schwaggy commented May 5, 2021

Same here. Their site is very different now and there's no token to be found. Hopefully @JeremyDunn can work some magic and get these sensors recognized by Homebridge again!
[5/5/2021, 11:14:08 AM] [HomebridgeGoveeWaterDetectors] Could not retrieve device list. Check your API token.

@bwp91
Copy link

bwp91 commented May 7, 2021

I don’t think any process has changed, i think you just need to get a new api token.

i have just installed this plugin and managed to successfully get a device list (i don’t have any leak sensors but with some tweaking my led light strip was retrieved)

@androwis
Copy link
Author

androwis commented May 7, 2021

@bwp91

I don’t think any process has changed, i think you just need to get a new api token.

i have just installed this plugin and managed to successfully get a device list (i don’t have any leak sensors but with some tweaking my led light strip was retrieved)

I am able to get an API Key easily, but can you detail how you're getting an API Token?

@bwp91
Copy link

bwp91 commented May 8, 2021

If you're happy putting your govee email/password into a website like https://reqbin.com, you can

  • In the URL put https://community-api.govee.com/os/v1/login
  • Change the GET to POST
  • Underneath click on 'Content' and use this:
      {
        "email": "govee-email",
        "password": "govee-password"
      }
  • Click 'Send'

In the right hand box you should see something like:

{
    "message": "Login successful",
    "status": 200,
    "data": {
        "token": "THIS-IS-THE-TOKEN-YOU-NEED",
        "headerUrl": "%%%",
        "nickName": "%%%",
        "id": 000,
        "expiredAt": 000,
        "email": "%%%"
    }
}

@androwis
Copy link
Author

androwis commented May 9, 2021

This is great, I was able to CURL the values. If anyone has the bandwidth to automate the re-authentication for this app, I think this would be super valuable for everyone using this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants