wez / govee2mqtt

Govee2MQTT: Connect Govee lights and devices to Home Assistant
MIT License
458 stars 30 forks source link

Can't get the login to work? #239

Open Suzaru opened 3 months ago

Suzaru commented 3 months ago

Govee Device SKU

Light Bulbs

Govee2MQTT Version

2024.07.13-82ddc6e9

Describe the issue

Hey,

sorry if this is a dumb question, but I just can't get the login to work. I am logged into the app, where I can see all the lights. Yet with the same login credentials, the app won't work. Any idea? Is there a website I have to sign up? I couldn't find anything in the FAQs etc. Help would be much appreicated. Thank you for your work <3

Cheers

Startup Diagnostics

[2024-07-14T17:16:27 INFO govee::commands::serve] Starting service. version 2024.07.13-82ddc6e9 [2024-07-14T17:16:27 INFO govee::commands::serve] Querying platform API for device list [2024-07-14T17:16:27 INFO govee::commands::serve] Querying undocumented API for device + room list Error: request https://app2.govee.com/account/rest/account/v1/login status 200: OK: parsing https://app2.govee.com/account/rest/account/v1/login response: Failed with status 451 Unavailable For Legal Reasons Unavailable For Legal Reasons: Request to https://app2.govee.com/account/rest/account/v1/login failed with code 451 Unavailable For Legal Reasons This email hasn't been registered yet.. Full response: {"status":451,"message":"This email hasn't been registered yet."}

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

No response

wez commented 3 months ago

I cannot help with this; the error message is being returned from govee.

Suzaru commented 3 months ago

I cannot help with this; the error message is being returned from govee.

Hey, thank you for your answer. So using the credentials of the app is the correct way? and my account is just unable to use it? Your instructions are a little unclear what credentials to use. The Apps? The stores? Sorry :(

Suzaru commented 3 months ago

Alright, I found a solution after all.

This comment was bang on!

For anyone encountering this issue: do not fill in your email and password. Just fill in the API key and leave the rest blank. That way it works. Since probably others will encounter this, I would recommend putting that into the FAQs too :)

Thank you and /closed