GeekyEggo / GoveeController

Govee controller for the Elgato Stream Deck.
GNU General Public License v3.0
41 stars 7 forks source link

Response: TooManyRequests #64

Closed laGameTV closed 2 days ago

laGameTV commented 9 months ago

Pre-Checks

Operating System

Windows

Govee Device

H619A - Version 2.01.02

Bug Description

The device is not listed correctly and shows up as a JSON string of the response. The response states that there where to many Requests in the last 24h, but I didn't even use them in the last 24h. image

Logs

2023-12-16 16:52:47.3624 [DEBUG] GoveeController.Govee.GoveeService: Getting devices from API.
2023-12-16 16:52:47.4261 [INFO] System.Net.Http.HttpClient.GoveeHttpClient.LogicalHandler: Start processing HTTP request GET https://developer-api.govee.com/v1/devices/
2023-12-16 16:52:47.4349 [INFO] System.Net.Http.HttpClient.GoveeHttpClient.ClientHandler: Sending HTTP request GET https://developer-api.govee.com/v1/devices/
2023-12-16 16:52:48.0236 [INFO] System.Net.Http.HttpClient.GoveeHttpClient.ClientHandler: Received HTTP response headers after 581.3567ms - 429
2023-12-16 16:52:48.0236 [INFO] System.Net.Http.HttpClient.GoveeHttpClient.LogicalHandler: End processing HTTP request after 616.0241ms - 429
2023-12-16 16:52:48.0418 [DEBUG] GoveeController.Govee.GoveeHttpClient: Communicating with Govee...
Request: GET https://developer-api.govee.com/v1/devices/
Response: TooManyRequests {"message":"rate limited! the limit is 10000 requests every 24 hours. X-RateLimit-Reset in Http Response Header shows the reset time."}
GeekyEggo commented 2 days ago

Thanks for all your patience whilst I look into this — I'm happy to say v1.3 is now available on Marketplace, and has been updated to use Govee's new API.

With this update comes support for more devices, as well as many bug fixes, and should hopefully resolve this issue. Please feel free to raise a new ticket if you encounter any problems. 🚀