Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brightness does not match #149

Open
rcoletti116 opened this issue Jan 1, 2021 · 40 comments
Open

Brightness does not match #149

rcoletti116 opened this issue Jan 1, 2021 · 40 comments
Labels
active Should stay opened bug Something isn't working help wanted Extra attention is needed

Comments

@rcoletti116
Copy link

rcoletti116 commented Jan 1, 2021

Describe the bug
Brightness level in HomeKit is not accurate. This occurs using Outdoor Dimmers.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Click on Device in HomeKit and change brightness, lowering from 100%. Brightness will adjust
  2. View Tuya/Smart Life app - brightness also adjusted there.
  3. Wait some time (undetermined) for next HomeBridge GET and Brightness in HomeKit will be reset to 100%. Tuya/Smart Life app will show accurate reading.
  4. Then in order to adjust true brightness in HK again you need to bring it down from the false 100% and back up again and start over.

Plugin Version
v0.7.0 (has been occurring on all previous versions, just now taking the time to open an issue)

Homebridge Config

{
           "name": "TuyaWebPlatform",
           "options": {
               "username": "*****",
               "password": "*****",
               "countryCode": "1",
               "platform": "smart_life",
               "pollingInterval": 600
           },
           "defaults": [
               {
                   "id": "*****",
                   "device_type": "dimmer",
                   "dimmer_characteristics": [
                       "Brightness"
                   ]
               }
           ],

Device Config

'data': {   'brightness': '255',
                                                  'color_mode': 'white',
                                                  'online': True,
                                                  'state': 'true'},
                                      'dev_type': 'light',
                                      'ha_type': 'light',
                                      'icon': 'https://images.tuyaus.com/smart/icon/ay1501578980436KOuNc/15666436896ae7938d769.png',
                                      'id': 'eb2c49026e7440f7b9218o',
                                      'name': 'Dining Lamp'}],
[HBTuya.log.txt](https://github.com/milo526/homebridge-tuya-web/files/5759594/HBTuya.log.txt)

Additional Context
I have two of these outdoor dimmers, by default they show up as lights with color control & brightness, but they don't do color. I am using override to make them a Dimmer and only control brightness. The issue occurs whether I use the override or not.

Logs
Full Logs Attached.

HBTuya.log.txt

Relevant Devices are "Maggie's Lamp" and "Dining Lamp" which are the same model outdoor dimmer plug.

Example - Filtered on "Dining Lamp", Device

[1/1/2021, 19:07:46] [TuyaWebPlatform] Loading accessory from cache: Dining Lamp
[1/1/2021, 19:07:51] [TuyaWebPlatform] Device type for "Dining Lamp" is overruled in config from light to: "dimmer"
[1/1/2021, 19:07:51] [TuyaWebPlatform] [Dining Lamp] deviceConfig: {
[1/1/2021, 19:07:51] [TuyaWebPlatform] Existing Accessory found [Name: Dining Lamp] [Tuya ID: eb2c49026e7440f7b9218o] [HomeBridge ID: 475963ca-d787-46e6-9c74-e21dca76f9c0]
[1/1/2021, 19:07:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - {"format":"bool","perms":["pr","pw","ev"]}
[1/1/2021, 19:07:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - {"format":"int","perms":["pr","pw","ev"],"unit":"percentage","minValue":0,"maxValue":100,"minStep":1}
[1/1/2021, 19:08:01] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:08:01] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:08:01] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:08:03] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:08:03] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:08:03] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 1000
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from remote
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] - Set device state request cache
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 1000
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:04] [TuyaWebPlatform] [Dining Lamp] - Renewing cache due to RateLimitError
[1/1/2021, 19:12:04] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:09] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:09] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:09] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:10] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:10] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:12:10] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 1000
[1/1/2021, 19:12:21] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [SET] true 1
[1/1/2021, 19:12:21] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [SET] 82
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:53] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [SET] false 0
[1/1/2021, 19:12:54] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [SET] true 1
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] - Renewing cache due to RateLimitError
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:15:39] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:15:39] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:15:39] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from remote
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] - Set device state request cache
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 18:58:20] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 18:58:20] [TuyaWebPlatform] [Dining Lamp] - Renewing cache due to RateLimitError
[1/1/2021, 18:58:20] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:04:10] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:04:10] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:04:10] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:04:11] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:04:11] [TuyaWebPlatform] [Dining Lamp] - Renewing cache due to RateLimitError
[1/1/2021, 19:04:11] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:04:11] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:04:11] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:04:11] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:04:12] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:04:12] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:04:12] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 1000
[1/1/2021, 19:07:46] [TuyaWebPlatform] Loading accessory from cache: Dining Lamp
[1/1/2021, 19:07:51] [TuyaWebPlatform] Device type for "Dining Lamp" is overruled in config from light to: "dimmer"
[1/1/2021, 19:07:51] [TuyaWebPlatform] [Dining Lamp] deviceConfig: {
[1/1/2021, 19:07:51] [TuyaWebPlatform] Existing Accessory found [Name: Dining Lamp] [Tuya ID: eb2c49026e7440f7b9218o] [HomeBridge ID: 475963ca-d787-46e6-9c74-e21dca76f9c0]
[1/1/2021, 19:07:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - {"format":"bool","perms":["pr","pw","ev"]}
[1/1/2021, 19:07:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - {"format":"int","perms":["pr","pw","ev"],"unit":"percentage","minValue":0,"maxValue":100,"minStep":1}
[1/1/2021, 19:08:01] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:08:01] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:08:01] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:08:02] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:08:03] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:08:03] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:08:03] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 1000
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:10:12] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from remote
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] - Set device state request cache
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 1000
[1/1/2021, 19:10:13] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:03] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:04] [TuyaWebPlatform] [Dining Lamp] - Renewing cache due to RateLimitError
[1/1/2021, 19:12:04] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:09] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:09] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:09] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:10] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:10] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:12:10] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 1000
[1/1/2021, 19:12:21] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [SET] true 1
[1/1/2021, 19:12:21] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [SET] 82
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:33] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:12:34] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:12:51] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:12:53] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [SET] false 0
[1/1/2021, 19:12:54] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [SET] true 1
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:13:02] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:13:37] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] - Renewing cache due to RateLimitError
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:13:38] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:14:10] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 80
[1/1/2021, 19:14:11] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:15:39] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:15:39] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:15:39] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from remote
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] - Set device state request cache
[1/1/2021, 19:15:40] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:24:40] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:24:40] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:24:40] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:24:40] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] - Renewing cache due to RateLimitError
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] Characteristic.On - [GET] true
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] - Requesting device state
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] - Creating new debounced promise
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] - Triggering debouncedDeviceStateRequest
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] - Unsetting debouncedDeviceStateRequestPromise
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] - Resolving resolveDeviceStateRequest from cache
[1/1/2021, 19:24:41] [TuyaWebPlatform] [Dining Lamp] Characteristic.Brightness - [GET] 535

Images
Example 1: "Maggie's Lamp"
Tuya - 54%
IMG_4425

Home - 100%
IMG_4424

Example 2: "Dining Lamp"
IMG_4427

IMG_4426

@rcoletti116 rcoletti116 added the bug Something isn't working label Jan 1, 2021
@milo526
Copy link
Owner

milo526 commented Jan 1, 2021

Hey; thank you for the report!

Do you know if the happens for the full brightness range?
I.e. what happens when you set the brightness to 10% and wait for the next get? Does it then also jump to 100%

Furthermore your configuration, logs and screenshots seem to be of 3 different lights 😛.

Could you dump more log than just the few lines, Preferably from the start of homebridge up until the point that the error occurs. That should catch all the get and set events.

@rcoletti116
Copy link
Author

Yes, this happens no matter what the brightness is set.

I copied the logs from the UI and kept having trouble with the logs rolling. I’ll get the right ones posted.

@rcoletti116
Copy link
Author

Updated with full logs attached as well as a filtered sample. From what I see in the logs it seems like its actually retrieving the correct Brightness value, but HK still shows 100%.

BTW - there was a very brief discussion about this on Discord several months back. Just now getting around to opening that issue. :)
https://discord.com/channels/432663330281226270/740564465199874098/751607974195101777

@milo526 milo526 added the active Should stay opened label Jan 3, 2021
AlexPinhasov added a commit to AlexPinhasov/homebridge-tuya-web that referenced this issue Jan 6, 2021
@AlexPinhasov
Copy link

Hi @milo526 I created a PR for you about this issue, take a look please when you can.

@paqpaqpaq
Copy link

I experience the same issue.

Regardless of the settings of the actual dimmer, homekit could jump to either 100%, or... 11 e.g. Most of the time it doesn't state the actual brightness. Untill I change it in home itself. But upon reloading home, it might flip to a random brightness, but without influencing the dimmer.

@WouterB92
Copy link

I’m experiencing the same kind of problem, but with a zigbee light module.

Brightness settings in tuya app are responsive, but through HomeKit and Homebridge not. After setting brightness in tuya app this isn’t displayed in HK or HB either.

@blackadar
Copy link

blackadar commented Feb 11, 2021

Also experiencing this issue with a dimmer switch, wonder if 08f2236 is a fix? I'll give it a shot on my install.

@milo526
Copy link
Owner

milo526 commented Feb 11, 2021

It could very well be that it is a fix for your specific device - however we concluded that it is not a proper general fix sadly.

@blackadar
Copy link

Hmm.. wonder if this could be something added as a config file flag then, as a patch until something more permanent. Then if users are seeing incorrect brightness for a specific device they could set the device's config to brightness_fix=true or something along those lines.

@milo526
Copy link
Owner

milo526 commented Feb 11, 2021

The original idea was to make the max brightness configurable, that seems to be the best possible fix. Just didn't have the time yet to fix that

@blackadar
Copy link

I see, I'll give it a shot if I get the chance soon!

AlexPinhasov added a commit to AlexPinhasov/homebridge-tuya-web that referenced this issue Feb 12, 2021
@AlexPinhasov
Copy link

About the issue @milo526 I continued our work, just need your little guidance its inside the PR description, lets make an effort to end this issue

@bamodio
Copy link

bamodio commented Feb 23, 2021

Thanks folks for flagging this. I have the same problem. The root cause is a math mismatch in dimmer ranges from the Tuya APIs and the plugin implementation.

@AlexPinhasov thanks a lot for proposing a fix through config. I think there might be an easier, config-less fix. The Tuya API provides an brightness range (default 1-255, but can change), that should be used to scale values back and forth with the HomeKit expected range (1-100). We don't need to assume a 255 default, or even dig up one from configured settings. We could just use the range value returned from their APIs.

Here's some more references:

  1. Tuya API. See https://developer.tuya.com/en/docs/iot/open-api/api-reference/api-list/device-control?id=K95zu01ksols7#title-25-Return%20parameter. See an example of the "bright_value", with min/max/step values. That's the range that needs to be mapped.
  2. See the implementation of light in TuyaHA. https://github.com/PaulAnnekov/tuyaha/blob/master/tuyaha/devices/light.py. That code is pretty revealing and shows the two-way scaling we are missing. See brightness() and set_brightness() for details.
  3. https://www.home-assistant.io/integrations/tuya/ also references brightness ranges. Looks like 10-1000 might be another "possible one" whatever that means. Maybe they are different ranges based on white vs color lights.

@milo526 also in #2 above, see MIN_BRIGHTNESS = 10.3. That's the magic number apparently of the minimum brightness value that does not turn off the light. ;)

My 2 cents, you can fix this by making the math logic in https://github.com/milo526/homebridge-tuya-web/blob/master/src/accessories/characteristics/brightness.ts for setValue() and updateValue() match the one in light.py above.

The trick will be getting access to the "bright_value" range for that specific light. I wonder if the data payload from getDeviceState() at https://github.com/milo526/homebridge-tuya-web/blob/master/src/api/service.ts contains that max range?

HTH. You all are rockstars. This will fix dimmability consistently for everyone using TuyaWeb.

@bamodio
Copy link

bamodio commented Feb 23, 2021

You can see this problem clearly flagged by Homebridges new characteristic range warnings (>= Homebridge 1.3.1 release). E.g. for me...

[2/23/2021, 10:02:13 AM] [@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.

@milo526
Copy link
Owner

milo526 commented Feb 23, 2021

Thank you for you explanations and looking into this bamodio!

One important thing to notice though is that the documentation you link to is not documentation for the API that this plugin is using (the TuyaHa project however is useful, that one does use the same API, many of the current features are influenced by their research).

@AlexPinhasov
Copy link

@bamodio Amazing stuff, @milo526 want to give a try ?

@bamodio
Copy link

bamodio commented Feb 23, 2021

Ugh... You are right @milo526 . Digging in deeper I see we use /homeassistant/skill. From Fiddler responses, I don't see an indication of ranges from that API. That's a bummer. Unless there's an obvious different /homeassistant API mapping elsewhere, I'm not sure it'll be trivial to get the dynamic valid range.

From https://www.home-assistant.io/integrations/tuya/ though, there's two options for brightness ranges. 1-255, 10-1000. I can see from my devices that they are all in the 1000 range scale.

I wonder if the config can be set once, globally for all Tuya lights, or if we need to do it per light in this plugin.
I wonder if there's a way of quickly sniffing through all devices to "guess" the global range. That might be unstable, but more user friendly.

It looks like going with a config value might still be the best thing possible. E.g. both a "min_brightness" and "max_brightness". I wonder if we can do it once globally at the plugin level vs per device.

@bamodio
Copy link

bamodio commented Feb 23, 2021

More digging... See https://github.com/home-assistant/core/blob/c4b3cf0788de7ad3a5d97d8051b2b638537e7dfb/homeassistant/components/tuya/light.py#L36.

TUYA_BRIGHTNESS_RANGE0 = (1, 255)
TUYA_BRIGHTNESS_RANGE1 = (10, 1000)

BRIGHTNESS_MODES = {
0: TUYA_BRIGHTNESS_RANGE0,
1: TUYA_BRIGHTNESS_RANGE1,
}

Some indication that those are the only "two official range modes", whatever that means.

    self._tuya.brightness_white_range = BRIGHTNESS_MODES.get(
        config.get(CONF_BRIGHTNESS_RANGE_MODE, 0),
        TUYA_BRIGHTNESS_RANGE0,
    )

Offers configurability, on a per device basis, on the brightness range mode, so one or the other.

Final food for thought. Might be good to provide multiple levels of overrides, for configurability, e.g.

  1. default: 1-255
  2. one time global plugin config
  3. per device config

In my case, if I could only setup #2 once at the plugin level, assuming this is a working solution, I don't have to do it for way too many entries.

@milo526
Copy link
Owner

milo526 commented May 18, 2021

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 brightness as well as a warning when your brightness 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-brightness related) issues with the pre-release, please post them in the discussion #276

@jthorpein
Copy link

I'm a confused noob having the same/similar issue. When I have Siri to set the hall lamp to 25%, Home/Homekit reports it as 10%, when I have Siri to set the hall lamp to 30%, Home/Homekit reports it as 12%. I'm running Tuya Web 1.0.1 published 3/25/2021 and my smart bulb are Merkury/Geeni bulbs that's connected to TuyaSmart. Setting a bulb to 10% (in this example using the Grandfather Clock Light), TuyaSmart app (on an ios device) reports it as 11%, Home/Homekit show 19% as shown in "5/18/2021, 10:16:37 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [SET] 19" portion of the log (even after waiting 10+ minutes and closing Home/Homekit and reopening it).

Below is the portion of the Hoobs log at the point of setting the bulb to 10% from an off state, as well as a couple screenshots of the plugin config screen/settings (with my email and pass blacked out)

5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:03 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Hall Lamp] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Hall Lamp] - Set device state request cache
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Right] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Right] - Set device state request cache
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Grandfather Clock Light] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Grandfather Clock Light] - Set device state request cache
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] false
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 94
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Left] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Left] - Set device state request cache
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Front Door Lamp] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Front Door Lamp] - Set device state request cache
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:08:04 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:08:20 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [SET] true 1
5/18/2021, 10:08:20 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [SET] 19
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Creating new debounced promise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Creating new debounced promise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] true
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 10
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:08:26 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Creating new debounced promise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Creating new debounced promise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] true
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 48
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:16:06 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:16:37 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [SET] true 1
5/18/2021, 10:16:37 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [SET] 19
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Creating new debounced promise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Creating new debounced promise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:45 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Set device state request cache
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] - Renewing cache due to RateLimitError
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Renewing cache due to RateLimitError
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Renewing cache due to RateLimitError
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] - Renewing cache due to RateLimitError
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] true
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 10
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Creating new debounced promise
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Creating new debounced promise
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:19:46 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Front Door Lamp] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Hall Lamp] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Right] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Grandfather Clock Light] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] true
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 10
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Left] - Resolving resolveDeviceStateRequest from cache
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:19:47 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Creating new debounced promise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Creating new debounced promise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:21:22 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Right] - Renewing cache due to RateLimitError
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Hall Lamp] - Renewing cache due to RateLimitError
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Front Door Lamp] - Renewing cache due to RateLimitError
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Grandfather Clock Light] - Renewing cache due to RateLimitError
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] true
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 10
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Left] - Renewing cache due to RateLimitError
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:21:23 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Creating new debounced promise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Creating new debounced promise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:22:38 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Left] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Left] - Set device state request cache
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Right] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Right] - Set device state request cache
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Grandfather Clock Light] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Grandfather Clock Light] - Set device state request cache
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] true
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 48
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Hall Lamp] - Renewing cache due to RateLimitError
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Front Door Lamp] - Renewing cache due to RateLimitError
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:22:39 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Creating new debounced promise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Creating new debounced promise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Hall Lamp] - Creating new debounced promise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Hall Lamp] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Hall Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Grandfather Clock Light] - Creating new debounced promise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Grandfather Clock Light] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Grandfather Clock Light] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Creating new debounced promise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Requesting device state
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Triggering debouncedDeviceStateRequest
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Right] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Back Porch Light Left] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Hall Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Grandfather Clock Light] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:33:15 PM [TuyaWebPlatform] [Front Door Lamp] - Unsetting debouncedDeviceStateRequestPromise
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Front Door Lamp] - Resolving resolveDeviceStateRequest from remote
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Front Door Lamp] - Set device state request cache
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Brightness - [GET] 80
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Hue - [GET] undefined
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.On - [GET] false
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Front Door Lamp] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Left] - Renewing cache due to RateLimitError
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Brightness - [GET] 255
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.On - [GET] false
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Hue - [GET] undefined
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Left] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Hall Lamp] - Renewing cache due to RateLimitError
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.Brightness - [GET] 82
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Hall Lamp] Characteristic.On - [GET] false
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Grandfather Clock Light] - Renewing cache due to RateLimitError
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [GET] true
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.Brightness - [GET] 48
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Right] - Renewing cache due to RateLimitError
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Brightness - [GET] 83
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.On - [GET] false
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Saturation - [GET] undefined
5/18/2021, 10:33:16 PM [TuyaWebPlatform] [Back Porch Light Right] Characteristic.Hue - [GET] undefined
5/18/2021, 10:33:21 PM [TuyaWebPlatform] [Grandfather Clock Light] Characteristic.On - [SET] false 0

Plugin Config settings/screenshot:

Tuya 1
Tuya 2

@rcoletti116
Copy link
Author

If you are able to install the pre-release, please do so and let me know how it goes!

@milo526 I have a few updates after testing.

  1. The setting does work to allow the scale to adjust. In my case the scale is 1000. This does work and the brightness in Home matches Tuya (for the most part see item 2 below).
  2. When opening the Home app the devices still often display 100% brightness even though it is really some other value. This is the same in steps 3 & 4 of my original steps to reproduce.
  3. I see the new warning even when the config is set to the expected value '1000'. Is the warning wrong, or am I misunderstanding it?
    "Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (711.1111111111111) since provided Tuya value (650) exceeds configured maximum Tuya value (100). Please update your configuration!"
  4. The settings are available on the Light accessory. I had to switch from dimmer to light. Functionally it seems the same, so not a bug deal. Just a note for you and others..

@rcoletti116
Copy link
Author

rcoletti116 commented May 20, 2021

Below is the portion of the Hoobs log

@jthorpein You are running the current release v1.0.1, for which this is a known issue. I think Hoobs doesn't give the functionality to install an alternate release, such as beta or pre-release. You'll have to wait until this fix gets published from the main branch.

@bwp91
Copy link

bwp91 commented May 20, 2021

hoobs users can install the pre-release version via the hoobs terminal (this assumes the plugin is already installed)

  1. stop hoobs service
  2. run these commands:
    cd ~/.hoobs/
    npm install @milo526/homebridge-tuya-web@next
  3. wait for the install to finish and then start hoobs service again

@jthorpein
Copy link

hoobs users can install the pre-release version via the hoobs terminal (this assumes the plugin is already installed)

  1. stop hoobs service

  2. run these commands:

    cd ~/.hoobs/
    npm install @milo526/homebridge-tuya-web@next
  3. wait for the install to finish and then start hoobs service again

I'm assuming that you run this in the terminal window?? (noob to all this)

@jthorpein
Copy link

If you are able to install the pre-release, please do so and let me know how it goes!

@milo526 I have a few updates after testing.

  1. The setting does work to allow the scale to adjust. In my case the scale is 1000. This does work and the brightness in Home matches Tuya (for the most part see item 2 below).
  2. When opening the Home app the devices still often display 100% brightness even though it is really some other value. This is the same in steps 3 & 4 of my original steps to reproduce.
  3. I see the new warning even when the config is set to the expected value '1000'. Is the warning wrong, or am I misunderstanding it?
    "Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (711.1111111111111) since provided Tuya value (650) exceeds configured maximum Tuya value (100). Please update your configuration!"
  4. The settings are available on the Light accessory. I had to switch from dimmer to light. Functionally it seems the same, so not a bug deal. Just a note for you and others..

Mine are set as lights, not a dimmer.

@RobinGillitzer
Copy link

RobinGillitzer commented Jul 9, 2021

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 brightness as well as a warning when your brightness 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-brightness related) issues with the pre-release, please post them in the discussion #276

With the pre-release (v1.1.0-0) i am able to receive the brightness correctly. In my case min: 10, max: 1000. The problem now is that i cant send the correct brightness. A brightness of 70% sends ~700 but tuya expected ~70.

@5starcruises
Copy link

Hi

I have installed the newest version 1.1.0-0 but i am not sure what the values should be in min and max so help with brightness?

This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 550 exceeded maximum of 100. See https://git.io/JtMGR for more info.

Many thanks

Danny

@paqpaqpaq
Copy link

Same here.

Regardless if I set my dimmers to 'dimmer' or to 'light" with brightness, similar errors and behaviour.
Home app leaves me with error no response.
log HB:
[25/07/2021, 13:43:25] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 294 exceeded maximum of 100. See https://git.io/JtMGR for more info. [25/07/2021, 13:43:25] [TuyaWebPlatform] [Keuken] Characteristic.Brightness - Tried to set brightness but failed to parse data. { online: true, state: true } [25/07/2021, 13:43:26] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 294 exceeded maximum of 100. See https://git.io/JtMGR for more info. [25/07/2021, 13:43:31] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 294 exceeded maximum of 100. See https://git.io/JtMGR for more info. [25/07/2021, 13:43:51] [TuyaWebPlatform] [Keuken] - [SET] Invalid payload in response: {"payload":{},"header":{"code":"DependentServiceUnavailable","payloadVersion":1}} [25/07/2021, 13:43:52] [TuyaWebPlatform] [Keuken] - [SET] Invalid payload in response: {"payload":{},"header":{"code":"DependentServiceUnavailable","payloadVersion":1}} [25/07/2021, 13:43:54] [TuyaWebPlatform] [Keuken] - [SET] Invalid payload in response: {"payload":{},"header":{"code":"DependentServiceUnavailable","payloadVersion":1}}

@paqpaqpaq
Copy link

This has been solved on the https://github.com/tuya/tuya-homebridge plugin by tuya. It works flawlessly there now.

@MattRoe84
Copy link

now getting more errors im afraid

[14/12/2021, 13:17:22] [TuyaWebPlatform] [Kitchen Plinth] Characteristic.ColorTemperature - Characteristic 'ColorTemperature' will receive value lower than allowed mired (56) since provided Tuya kelvin value (8341) exceeds configured maximum Tuya kelvin value (2000). Please update your configuration!
[14/12/2021, 13:17:22] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Color Temperature': characteristic was supplied illegal value: number 56 exceeded minimum of 140. See https://git.io/JtMGR for more info.
[14/12/2021, 13:17:22] [@milo526/homebridge-tuya-web] Error:
at ColorTemperature.Characteristic.characteristicWarning (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2074:105)
at ColorTemperature.Characteristic.validateUserInput (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1982:16)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1569: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:121:19)
at /usr/local/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/characteristics/colorTemperature.ts:63:14
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at runNextTicks (node:internal/process/task_queues:65:3)
at listOnTimeout (node:internal/timers:526:9)
at processTimers (node:internal/timers:500:7)

@Bjarlex
Copy link

Bjarlex commented Dec 15, 2021

I am getting a similar characteristic warning every 5 minutes or so ill just post it here if it helps solve the issue:

[15/12/2021, 15:24:56] [TuyaWebPlatform] [Star Projector] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (281.1111111111111) since provided Tuya value (263) exceeds configured maximum Tuya value (100). Please update your configuration!
[15/12/2021, 15:24:56] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 281.1111111111111 exceeded maximum of 100. See https://git.io/JtMGR for more info.

@simplytoast1
Copy link

I’m having the same issue

@manny-kumar
Copy link

I am having issues with brightness and color

@boboxx
Copy link

boboxx commented Dec 23, 2021

I updated to 1.1.1 and I still see the same issue as befor:

[12/22/2021, 9:43:34 PM] [TuyaWebPlatform] [Entrance] 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!
[12/22/2021, 9:43: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://git.io/JtMGR for more info.
[12/22/2021, 9:43:34 PM] [@milo526/homebridge-tuya-web] Error:
at Brightness.Characteristic.characteristicWarning (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2074:105)
at Brightness.Characteristic.validateUserInput (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1986:16)
at Brightness.Characteristic.updateValue (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1415:20)
at LightAccessory.setCharacteristic (/usr/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/BaseAccessory.ts:272:55)
at BrightnessCharacteristic.updateValue (/usr/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/characteristics/brightness.ts:112:22)
at LightAccessory.updateState (/usr/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/BaseAccessory.ts:420:9)
at LightAccessory.updateAccessory (/usr/lib/node_modules/@milo526/homebridge-tuya-web/src/accessories/BaseAccessory.ts:413:10)
at TuyaWebPlatform.refreshDeviceStates (/usr/lib/node_modules/@milo526/homebridge-tuya-web/src/platform.ts:192:41)
at TuyaWebPlatform.discoverDevices (/usr/lib/node_modules/@milo526/homebridge-tuya-web/src/platform.ts:314:16)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at TuyaWebPlatform.postLaunchSetup (/usr/lib/node_modules/@milo526/homebridge-tuya-web/src/platform.ts:119:7)

@paroberge
Copy link

I found a way to fixed the brightness issue, by overwritting the device type from light to dimmer:

        "defaults": [
            {
                "id": "XXX _ Name of the Device _ XXX",
                "device_type": "dimmer"
            }

I'm using TuyaWebPlatform @milo526/homebridge-tuya-web v1.1.1. My device is on the SmartLife. Hope this help

@onlyjaymoo
Copy link

I found a way to fixed the brightness issue, by overwritting the device type from light to dimmer:

        "defaults": [
            {
                "id": "XXX _ Name of the Device _ XXX",
                "device_type": "dimmer"
            }

I'm using TuyaWebPlatform @milo526/homebridge-tuya-web v1.1.1. My device is on the SmartLife. Hope this help

This worked for me! Thank you so much for your help :)

Repository owner deleted a comment from eleventhaus Mar 4, 2022
Repository owner deleted a comment from manny-kumar Mar 4, 2022
@fredrikdev
Copy link

fredrikdev commented Aug 7, 2022

I found a way to fixed the brightness issue, by overwritting the device type from light to dimmer:

        "defaults": [
            {
                "id": "XXX _ Name of the Device _ XXX",
                "device_type": "dimmer"
            }

I'm using TuyaWebPlatform @milo526/homebridge-tuya-web v1.1.1. My device is on the SmartLife. Hope this help

This worked for me! Thank you so much for your help :)

I second that! Overriding the device type to dimmer for each fancy light bulb, got rid of all the [...will receive higher/lower value than allowed]-characteristics warnings about color temperature & brightness. But now I can only control on & off in Apple Home -- but that I might have to live with. Many thanks for a great plugin though!!

[8/7/2022, 1:02:21 PM] [TuyaWebPlatform] Device type for "Taklampa Kök 1/3" is overruled in config from light to: "dimmer"
[8/7/2022, 1:02:21 PM] [TuyaWebPlatform] Device type for "Taklampa Hall Yttre" is overruled in config from light to: "dimmer"
[8/7/2022, 1:02:21 PM] [TuyaWebPlatform] Device type for "Taklampa Kök 3/3" is overruled in config from light to: "dimmer"

@milo526 milo526 added the help wanted Extra attention is needed label Jan 8, 2023
@milo526
Copy link
Owner

milo526 commented Jan 23, 2023

@milo526 Tuya expresses their brightness value in their API using a value range from 10-1000, scaled on a factor of 10^0, but Homebridge expects a brightness value expressed in a percentage 0-100.

In your brightness.ts file, on line 41, you have the maxTuya as 100 instead of 1000; so when the Tuna API sends values over 100 it throws an error. I can't get the fork working on my device at the moment, but I think that by updating this line to 1000, it should fix most of the brightness mis-matches and errors being thrown.

Please read the wiki regarding this issue: https://github.com/milo526/homebridge-tuya-web/wiki/Something-will-receive-higher-or-lower-value-than-allowed

Not all devices behave the same, simply changing the value as you stated will break the plugin for many different people.

@Mrarthtato
Copy link

Describe the bug

I get "Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (804.040404040404) since provided Tuya value (797) exceeds configured maximum Tuya value (100). Please update your configuration!" spam every minute.

I used the debug discovery python script to determine max and min values for the bulbs when using the smart life app. (it was 10-1000). But when I update the values in the config to 10-1000, I get no more spam, but the light only dims around the 10% to 1% range in the home app.

Steps To Reproduce
Find the min max brightness values using python script
Input into config
Use home app

Plugin Version
Latest

Homebridge Config

{
           "name": "TuyaWebPlatform",
           "options": {
               "username": "REDACTED",
               "password": "REDACTED",
               "countryCode": "REDACTED",
               "platform": "smart_life",
               "pollingInterval": 2000
           },
           "defaults": [
               {
                   "id": "REDACTED",
                   "device_type": "light",
                   "min_brightness": "10",
                   "max_brightness": "1000",
                   "min_kelvin": "1000",
                   "max_kelvin": "36294",
                   "light_characteristics": [
                       "Brightness",
                       "Color",
                       "Color Temperature"
                   ]
               },
               {
                   "id": "REDACTED",
                   "device_type": "light",
                   "min_brightness": "10",
                   "max_brightness": "1000",
                   "min_kelvin": "1000",
                   "max_kelvin": "36294",
                   "light_characteristics": [
                       "Brightness",
                       "Color",
                       "Color Temperature"
                   ]
               }
           ],
           "scenes": false,
           "_bridge": {
               "username": "0E:5C:86:76:56:C8",
               "port": 41715
           },
           "platform": "TuyaWebPlatform"
       }

@jeremykay79
Copy link

jeremykay79 commented Oct 2, 2023

I've followed the instructions here: https://github.com/milo526/homebridge-tuya-web/wiki/Something-will-receive-higher-or-lower-value-than-allowed but it doesn't seem to fix it. Can someone help?

I get this error message:

[02/10/2023, 07:41:08] [@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.
[02/10/2023, 07:41:08] [TuyaWebPlatform] [YX-ZIGBEE-ZS2S-5L-AMZ] 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!

And I have this in my plugin config:

    "defaults": [
        {
            "id": "YX-ZIGBEE-ZS2S-5L-AMZ",
            "device_type": "light",
            "max_brightness": "1000",
            "light_characteristics": [
                "Brightness",
                "Color",
                "Color Temperature"
            ]
        },

(I've also tried using the Tuya ID instead of the Name, but same issue.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
active Should stay opened bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests