Error: client quota exceeded
Closed this issue ยท 2 comments
Hello,
I have tree yeelight lamps: 2x ceiling lamp, 1x meteorite. Today my ceiling lamp stop working with this error in console:
[2020-10-20 19:34:14] [Yeelight] { id: 211, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007e92641: failed communication attempt 2 after 400ms.
[2020-10-20 19:34:14] [Yeelight] { id: 212, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed communication attempt 3 after 800ms.
[2020-10-20 19:34:14] [Yeelight] { id: 211, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007e92641: failed communication attempt 3 after 800ms.
[2020-10-20 19:34:14] [Yeelight] { id: 212, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed communication attempt 4 after 1600ms.
[2020-10-20 19:34:14] [Yeelight] { id: 211, error: { code: -1, message: '[2020-10-20 19:34:14] [Yeelight] { id: 211, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007e92641: failed communication attempt 2 after 400ms.
[2020-10-20 19:34:14] [Yeelight] { id: 212, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed communication attempt 3 after 800ms.
[2020-10-20 19:34:14] [Yeelight] { id: 211, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007e92641: failed communication attempt 3 after 800ms.
[2020-10-20 19:34:14] [Yeelight] { id: 212, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed communication attempt 4 after 1600ms.
[2020-10-20 19:34:14] [Yeelight] { id: 211, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007e92641: failed communication attempt 4 after 1600ms.
[2020-10-20 19:34:14] [Yeelight] { id: 212, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed communication attempt 5 after 3200ms.
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed to send cmd 212 after 5 retries.' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007e92641: failed communication attempt 4 after 1600ms.
[2020-10-20 19:34:14] [Yeelight] { id: 212, error: { code: -1, message: 'client quota exceeded' } }
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed communication attempt 5 after 3200ms.
[2020-10-20 19:34:14] [Yeelight] 0x0000000007f84a20: failed to send cmd 212 after 5 retries.
could you help me to resolve? From Yeelight App all lamps working grate. Meteorite lamp works from HomeBridge and Yeelight app. Only ceiling lamps stops working from HomeBridge.
This might happen if you send a lot of commands per minute. It should resolve itself within a minute or so.
From Yeelight WiFi Light Inter-Operation Specification:
Yeelight WiFi smart device support up to 4 simultaneous TCP connections, any further
connect
attempt will be rejected. For each connection, there is a command message quota, that is 60 commands per minute. There is also a total quota for all the LAN commands: 144 commands per minute (4 ร 60 ร 60%).
๐ This issue has been resolved in version 2.4.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐