bwp91 / homebridge-govee

Homebridge plugin to integrate Govee devices into HomeKit.
MIT License
479 stars 49 forks source link

Temp/Humidity stop being refreshed #153

Closed jp-lno closed 2 years ago

jp-lno commented 2 years ago

What issue do you have? Please be as thorough and explicit as possible.

Temperature and Humidity is not refreshed since this week. Was previously working like a charm.

Details of your setup.

Please paste any relevant logs below.

[01/12/2021, 18:53:51] [Govee] Disabling HTTP client as timeout of 10000ms exceeded at createError (/usr/local/lib/node_modules/homebridge-govee/node_modules/axios/lib/core/createError.js:16:15).
[01/12/2021, 18:53:59] [Govee] Disabling BLE client as no enabled devices configured.
[01/12/2021, 18:53:59] [Govee] ***** Disabling plugin. *****
[01/12/2021, 18:53:59] [Govee] ***** No devices found to initialise. *****

If I change my account password, it start working again, fetch data for few minutes and stop again. Device data stay visible in Home with last knowned values.

bwp91 commented 2 years ago

If I change my account password, it start working again, fetch data for few minutes and stop again

When you say “stop again” what do you mean? what errors are displayed?

jp-lno commented 2 years ago

There is no errors. Values stop being refreshed in Home app. If I change the password and connect again, values will be updated for a short moment and stuck.

If I check update status in Eve app I will see there is no data fetched from 4 days.

As you can see in screenshot I'm using two Govee devices.

IMG_0619 IMG_0618

bwp91 commented 2 years ago

I’m a little bit stuck here because it’s most likely some account issue or other issue with how the govee account system works… but… since all the work i have done is basically reverse-engineered, it’s not something that I can go to Govee themselves about… Long shot, but could you try creating a new govee account and adding the devices to this? and updating the plugin config with the new details?

jp-lno commented 2 years ago

It's working again after creating account. Hope it won't stop working after few hours/days.

Now log is back to normal :

[02/12/2021, 18:38:38] [Govee] Initializing Govee platform...
[02/12/2021, 18:38:38] [Govee] Initialising plugin v4.18.0 | Node v14.17.1 | HB v1.3.8...
[02/12/2021, 18:38:39] [Govee] Plugin initialised. Setting up accessories....
[02/12/2021, 18:39:04] [Govee] Disabling BLE client as no enabled devices configured.
[02/12/2021, 18:39:04] [Govee] [Garage] initialising with options {"logging":"standard","lowBattThreshold":20}.
[02/12/2021, 18:39:04] [Govee] [Garage] initialised with id [...].
[02/12/2021, 18:39:04] [Govee] [Garage] initialising with options {"logging":"standard","lowBattThreshold":20}.
[02/12/2021, 18:39:04] [Govee] [Garage] initialised with id [...].
[02/12/2021, 18:39:11] [Govee] [Garage] has been reported [online].
[02/12/2021, 18:39:11] [Govee] [Garage] current battery [90%].
[02/12/2021, 18:39:11] [Govee] [Garage] current temperature [13.3°C].
[02/12/2021, 18:39:11] [Govee] [Garage] current humidity [64.7%].
[02/12/2021, 18:39:11] [Govee] [Garage] has been reported [online].
[02/12/2021, 18:39:11] [Govee] [Garage] current battery [87%].
[02/12/2021, 18:39:11] [Govee] [Garage] current temperature [13.1°C].
[02/12/2021, 18:39:11] [Govee] [Garage] current humidity [66%].
stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

bwp91 commented 2 years ago

I'm gonna close this issue as I'm assuming that everything has been working properly? If you're still having problems feel free to reopen.

jp-lno commented 2 years ago

Yes everything is working. Thanks for help