Govee integration

Hi,

I have the same issue here:

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/govee/__init__.py:67
Integration: Govee (documentation, issues)
First occurred: 9:40:10 AM (2 occurrences)
Last logged: 9:41:21 AM

Error setting up entry govee for govee
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/govee/__init__.py", line 67, in async_setup_entry
    await hub.rate_limit_delay()
AttributeError: 'Govee' object has no attribute 'rate_limit_delay'

I also found that the brightness value was missing and I added it manually but i still have the same error :frowning:

Hey! I had the integration up and working then I had to redo my home assistant install and now when I try to put in the API Key (a new one I requested) it doesnā€™t work and says it canā€™t connect. any ideas?

1 Like

Well, I deleted the Govee integration and reinstalled it and for now itā€™s working fine.

Looks like the integration is down with Goveeā€™s API.

Govee 0.2.2 stopped working on HA 2023.3.6
It stopped controlling devices, so I uninstalled restarted, tried older version; no luck.
Reinstalled latest version of the HACS Govee integration.
Getting an error about an invalid API key. Tried my old API key, and requested a new API key from Govee. Both API keys do not work.

Anyone else getting this today?

2 Likes

Idem here, not working anymore

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/govee/__init__.py:67
Integration: Govee (documentation, issues)
First occurred: 10:02:00 PM (1 occurrences)
Last logged: 10:02:00 PM

Error setting up entry govee for govee
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/govee/__init__.py", line 67, in async_setup_entry
    await hub.rate_limit_delay()
AttributeError: 'Govee' object has no attribute 'rate_limit_delay'

Iā€™m seeing:

This error originated from a custom integration.

Logger: custom_components.govee.config_flow
Source: custom_components/govee/config_flow.py:34
Integration: Govee (documentation, issues)
First occurred: 4:09:22 PM (8 occurrences)
Last logged: 9:29:13 PM

Cannot connect: API: API-Error 500: {"message":"service is busy please try again later","status":500}
Cannot connect: API: API-Error 401: {"message":"Invalid API Key","status":401}
Traceback (most recent call last):
  File "/config/custom_components/govee/config_flow.py", line 68, in async_step_user
    user_input = await validate_api_key(self.hass, user_input)
  File "/config/custom_components/govee/config_flow.py", line 34, in validate_api_key
    raise CannotConnect(error)
custom_components.govee.config_flow.CannotConnect: API: API-Error 500: {"message":"service is busy please try again later","status":500}

Iā€™m seeing a pretty similar error to the rest of you:

Logger: homeassistant.config_entries
Source: custom_components/govee/__init__.py:67
Integration: Govee (documentation, issues)
First occurred: April 3, 2023 at 9:20:20 PM (1 occurrences)
Last logged: April 3, 2023 at 9:20:20 PM

Error setting up entry govee for govee
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/govee/__init__.py", line 67, in async_setup_entry
    await hub.rate_limit_delay()
AttributeError: 'Govee' object has no attribute 'rate_limit_delay'

This seems like Govee themselves made a change that broke things.

It goes down daily and comes back up after a little while with me all the time.

Any update on BLE support? Hoping to control my H6199 LED Strip, but lost the camera with the WiFi adapter built-in.

Same problem! If anyone has news, shout. thanks

1 Like

a restart helped me

I am doing a restart of the integration every day.

I am as well :frowning:

Just install the Google SDK integration and issue commands to Govee via Google, much more reliable.

1 Like

new hereā€¦ where can i find the latest file to download?

Hi! can you explain how you did this? can you still use buttons on the dashboard to control lights?

1 Like

@ctml Thanks for the suggestion but Iā€™m not able to get past Video Mode even with the Google SDK, it doesnā€™t recognize the commands. If you managed to do it, can you tell us how?

What file are you referring to?

Same Problem here:

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant.config_entries
Source: custom_components/govee/__init__.py:67
Integration: Govee (documentation, issues)
First occurred: 13:41:23 (2 occurrences)
Last logged: 14:01:35

Error setting up entry govee for govee
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/govee/__init__.py", line 67, in async_setup_entry
    await hub.rate_limit_delay()
AttributeError: 'Govee' object has no attribute 'rate_limit_delay'

Testcase:

curl --location 'https://developer-api.govee.com/v1/devices' \
--header 'Govee-API-Key: {{govee_api_key}}'

******'
{"message":"service is busy please try again later","status":500}#

Same Message with Postmanā€¦

If it helps anyone, raising my polling interval in the GoVee integration from 10 to 60 helped me with the random disconnects and there has been no loss of function.

1 Like