Closed mcs32066 closed 2 years ago
Please read the following wiki article to find out how to configure your devices to solve this problem.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If you have a few minutes, I could use some help understanding. I have gone through the fix, and split the old and new to try to follow it, but can't seem to understand where to insert the coding for the brightness factors.
I'm receiving these errors, so it would appear that my bulbs (all of them get the same error with the same numbers. I believe they are all FEIT brand bulbs) should likely be using a 0-255 scale (I hope I have that correct).
[6/12/2022, 11:25:23 PM] [TuyaWebPlatform] [Living room corner] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (272.22222222222223) since provided Tuya value (255) exceeds configured maximum Tuya value (100). Please update your configuration!
If you do not have the time I understand. Either way I appreciate your work and the time you put in.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Controlling smart bulbs. Getting this error message for every bulb. This seems to be preventing or greatly delaying dimming and turning bulbs on or off.
[5/22/2022, 9:02:50 PM] [TuyaWebPlatform] [Living room corner] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (272.22222222222223) since provided Tuya value (255) exceeds configured maximum Tuya value (100). Please update your configuration! [5/22/2022, 9:02:50 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 272.22222222222223 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [5/22/2022, 9:02:50 PM] [TuyaWebPlatform] [Recliner Light] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (272.22222222222223) since provided Tuya value (255) exceeds configured maximum Tuya value (100). Please update your configuration!
Steps To Reproduce This happens every time HB is restarted and every time I change the status of a bulb - power or brightness.
Plugin Version
@milo526/homebridge-tuya-web v1.1.2
Homebridge Config
Device Config
Getting credentials Got credentials { 'errorMsg': 'Get accesstoken failed. Username or password error!', 'responseStatus': 'error'} Traceback (most recent call last): File "main.py", line 35, in
payload = {"accessToken": auth_response["access_token"]}
KeyError: 'access_token'
I have confirmed and reset my password. I get the above response from replit.com. It indicates an issue with line 35, so I do not believe it is the UID/pw I copied and pasted in.
The smart bulbs worked previously AND still work, but get errors. Randomly they do not turn on / off, and randomly I cannot change the brightness.
Additional Context
Thank you.