Closed donavanbecker closed 3 years ago
Thanks @donavanbecker!
@milo526 no problem!
Hi, I am also seeing a similar issue for Color Temperature. Similar setup as above. These are FEIT lightbulbs if it matters. Thanks!
[Porch 2@Porch 2@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Porch 2@Porch 2@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Porch 1@Porch 1@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Porch 1@Porch 1@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Garage 1@Garage 1@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Garage 1@Garage 1@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Garage 3@Garage 3@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Garage 3@Garage 3@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Garage 2@Garage 2@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Garage 2@Garage 2@Color Temperature] characteristic was supplied illegal value: number 1486 exceeded maximum of 500. [Living room 2@Living room 2@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500. [Living room 2@Living room 2@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500. [Living Room 3@Living Room 3@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500. [Living Room 3@Living Room 3@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500. [Living Room 1@Living Room 1@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500. [Living Room 1@Living Room 1@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500. [Living Room Spot Light@Living Room Spot Light@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500. [Living Room Spot Light@Living Room Spot Light@Color Temperature] characteristic was supplied illegal value: number 1962 exceeded maximum of 500.
@milo526 now getting
[TuyaWebPlatform] Cannot read property 'context' of undefined
with Homebridge v1.3.0-beta.52
Hello, Just updated to HB beta, here is the log I get for the plugin, might be helpful:
[17/2/2021, 09:22:22] Received warning for the plugin '@milo526/homebridge-tuya-web' from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1477 exceeded maximum of 500. [17/2/2021, 09:22:22] Received warning for the plugin '@milo526/homebridge-tuya-web' from the characteristic 'Brightness': characteristic was supplied illegal value: number 118 exceeded maximum of 100. [17/2/2021, 09:22:22] Received warning for the plugin '@milo526/homebridge-tuya-web' from the characteristic 'Brightness': characteristic was supplied illegal value: number 275 exceeded maximum of 100. [17/2/2021, 09:22:22] Received warning for the plugin '@milo526/homebridge-tuya-web' from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1491 exceeded maximum of 500.
Beside this log everything still works as before.
@bosco90 thanks for informing me!
@donavanbecker with the latest version of the plugin you should no longer get the context
error - could you confirm?
I believe this error was only shown when you restarted homebridge after adding new devices.
I am still getting the color temperature log that you see above.
Yeah I know - I was only wondering about your second comment
@milo526 now getting
[TuyaWebPlatform] Cannot read property 'context' of undefined
with Homebridge
v1.3.0-beta.52
This should no longer happen.
The other errors will hopefully be solved shortly
FYI: After updating to HB 1.3.0-beta.59 the log says:
[17/2/2021, 13:37:34] [@milo526/homebridge-tuya-web] This plugin generated warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1469 exceeded maximum of 500. See https://git.io/JtMGR for more info.
Probably it's the same log that in latest beta shows this way.
@milo526 Yes that is gone.
I too am seeing this warning error after updating to 1.3.0
[22/02/2021, 19:49:10] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 1493 exceeded maximum of 500. See https://git.io/JtMGR for more info.
It seems to be working and all the extra logging info has gone under the previous version which is good.
Same errors with the release version of 1.3.1
[2/23/2021, 10:04:12 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 351 exceeded maximum of 100. See https://git.io/JtMGR for more info. [2/23/2021, 10:04:12 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
Didn't see this sorry. Also having the same issue.
@milo526/homebridge-tuya-web v1.0.0
I'm also getting a lot of "illegal characteristic value" messages:
[3/17/2021, 12:28:41 AM] [TuyaWebPlatform] Existing Accessory found [Name: Smart Bulb] [Tuya ID: eb2a3268a518fe06d9tzno] [HomeBridge ID: e85017a9-5b19-4075-8a67-45f253499d66]
[3/17/2021, 12:28:41 AM] [TuyaWebPlatform] Existing Accessory found [Name: Smart Bulb 3] [Tuya ID: ebbc5c932afe52aebab7fx] [HomeBridge ID: 64e410d5-d1b9-49b2-945b-ad9491deca27]
[3/17/2021, 12:28:41 AM] [TuyaWebPlatform] Existing Accessory found [Name: Smart Bulb 2] [Tuya ID: eb06fb5aaa13424be0xl9z] [HomeBridge ID: 7f0a01d4-fe0c-462c-8c53-d8bb900fc600]
[3/17/2021, 12:28:41 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:28:41 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:28:41 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:28:41 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:28:41 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:28:41 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:49 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:52 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:52 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:52 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:52 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:53 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:53 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:55 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:55 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:55 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:55 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:55 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:55 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:56 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:56 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:56 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:56 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:56 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 196 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/17/2021, 12:33:56 AM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 2000 exceeded maximum of 500. See https://git.io/JtMGR for more info.
[3/17/2021, 12:34:20 AM] [Homebridge UI] [admin] Accessory layout changes saved.
Generic tuya smart bulbs purchased on AliExpress.
The colortemperature warning should be fixed with the newly released v1.0.1
Hey, i have now vers. 1.0.1 and Homebridge vers. 1.3.4.
Ive some issues in the log and HomeKit reacts very slowly. I use a Raspi 4.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 220 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 78 exceeded minimum of 140. See https://git.io/JtMGR for more info.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number -196 exceeded minimum of 140. See https://git.io/JtMGR for more info.
[3/28/2021, 15:41:16] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
Hello,
today I become this msg too...
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Brightness' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Color Temperature' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Hue' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[3/29/2021, 11:37:04] [@milo526/homebridge-tuya-web] This plugin slows down Homebridge. The read handler for the characteristic 'Saturation' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
@Sebastian-Voigt thanks for the info.
Could you please try running Hoobs/Homebridge in debug mode and see if that gives you any stack trace?
It's a bit hard to debug now since my own instance doesn't give the This plugin slows down Homebridge
instance.
After the Reset its seems to be good for the first.
But I have seen this for the illegal values:
[3/29/2021, 12:08:15] [TuyaWebPlatform] [Licht] Characteristic.ColorTemperature - [GET] 18400
[3/29/2021, 12:08:15] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number -196 exceeded minimum of 140. See https://git.io/JtMGR for more info.
[3/29/2021, 12:08:15] [@milo526/homebridge-tuya-web] Error:
at ColorTemperature.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2038:105)
at ColorTemperature.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1946:16)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1533:24
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18
at ColorTemperatureCharacteristic.updateValue (/usr/local/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/characteristics/colorTemperature.ts:70:19)
at /usr/local/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/characteristics/colorTemperature.ts:32:14
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Any resolution on this? Still have the same issue. Thanks!!!
[03/04/2021, 08:15:13] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[03/04/2021, 09:18:26] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[03/04/2021, 09:18:44] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
YUP still happening v1.0.1
[4/7/2021, 5:23:55 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 314 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[07/04/2021, 23:03:09] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[07/04/2021, 23:03:09] [@milo526/homebridge-tuya-web] Error: at Brightness.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2038:105) at Brightness.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1950:16) at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1533:24 at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/once.ts:9:18 at BrightnessCharacteristic.updateValue (/usr/local/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/characteristics/brightness.ts:75:19) at /usr/local/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/characteristics/brightness.ts:34:14 at processTicksAndRejections (internal/process/task_queues.js:93:5)
Plugin Ver: TuyaWebPlatform @milo526/homebridge-tuya-web v1.0.1
Thanks for the help guys, I'll look into this when I have some time. Live is crazy busy for me at the moment as you might have already noticed.
@milo526 ...not sure if you've seen what they've done on HomeAssistant with their Tuya integration, but looks like they made it a configurable option. Maybe this would help restart this discussion?
See reference to setting to brightness range under Lights --> https://www.home-assistant.io/integrations/tuya/ Code: https://github.com/home-assistant/core/blob/dev/homeassistant/components/tuya/light.py
Is this adaptable?
@milo526 ...not sure if you've seen what they've done on HomeAssistant with their Tuya integration, but looks like they made it a configurable option. Maybe this would help restart this discussion?
See reference to setting to brightness range under Lights --> https://www.home-assistant.io/integrations/tuya/ Code: https://github.com/home-assistant/core/blob/dev/homeassistant/components/tuya/light.py
Is this adaptable?
Short answer - no.
Our code-bases are very different. They are even in different programming languages. The vauge idea is useful but also the same one we already came up with before.
It is not that it is unclear how to fix it. The problem is that there is nobody available to write the fix without needing a lot of guidance (which would once more require my time, that I simply do not have available at the moment).
@milo526 Understood...thx
@milo526 how could I help with that Brightness issue?
Getting same on latest release. [5/4/2021, 3:57:57 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 392 exceeded maximum of 100. See https://git.io/JtMGR for more info.
I hope that the newest pre-release (v1.1.0-0) solves these issues (or at least enables you to solve them)
It adds new configuration options (per device) for the min and max number of kelvin as well as a warning when your kelvin range is not configured correctly.
If you are able to install the pre-release, please do so and let me know how it goes!
If you have other (non-kelvin-configuration related) issues with the pre-release, please post them in the discussion https://github.com/milo526/homebridge-tuya-web/discussions/276
Thks Milo I confirm that installing pre release V1.1.0-0 and then configure each light device by defining brightness to min and max value sent by tuya, the warning messages disapeared
@dodelafo are you able to provide me a sample config snippet on how you did that? I'm still getting an error message (spaced for readability):
[Kitchen R Top] Characteristic.ColorTemperature - Characteristic 'ColorTemperature' will receive
value lower than allowed mired (-9703) since provided Tuya kelvin value (25071)
exceeds configured maximum Tuya kelvin value (255). Please update your configuration!
I can understand that the values don't match. What I don't get is why they're so wildly all over the place. What I've got is:
{
"id": "[ID]",
"device_type": "light",
"min_brightness": "10",
"max_brightness": "1100",
"min_kelvin": "255",
"max_kelvin": "0",
"light_characteristics": [
"Brightness",
"Color Temperature"
]
}
@milo526 any suggestions or thoughts on what I'm doing wrong?
Still Facing the same issue can someone please provide steps to follow to remove these
[1/30/2023, 1:30:19 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:30:19 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:30:21 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:30:21 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:30:24 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:30:24 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:30:31 PM] [Homebridge UI] Terminal session ended. [1/30/2023, 1:30:33 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:30:33 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:30:34 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:30:34 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:31:12 PM] [Homebridge UI] Starting terminal session [1/30/2023, 1:31:12 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:31:12 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:31:13 PM] [Homebridge UI] Terminal session ended. [1/30/2023, 1:31:13 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:31:13 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:36:22 PM] [Homebridge UI] Starting terminal session [1/30/2023, 1:36:22 PM] [Homebridge UI] Terminal session ended. [1/30/2023, 1:36:23 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:36:23 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:36:24 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:36:24 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:36:27 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:36:27 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:03 PM] [Homebridge UI] Changes to config.json saved. [1/30/2023, 1:37:07 PM] [Homebridge UI] Starting terminal session [1/30/2023, 1:37:07 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:07 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:08 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:08 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:11 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:11 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:28 PM] [Homebridge UI] Terminal session ended. [1/30/2023, 1:37:29 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:29 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:30 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:30 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:33 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:33 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:35 PM] [Homebridge UI] Starting terminal session [1/30/2023, 1:37:35 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:35 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info. [1/30/2023, 1:37:39 PM] [TuyaWebPlatform] [Smart WiFi music LED Strip] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1100) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration! [1/30/2023, 1:37:39 PM] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 1100 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info.
Describe the bug
Just providing my log that I am getting from this plugin on homebridge v1.3.0 Beta
Steps To Reproduce
Install Homebridge Beta v1.3.0
Plugin Version
v0.7.1
Homebridge Config
Additional Context