Closed jerle69 closed 2 years ago
As stated in your logs
... Please update your configuration!
Every Tuya device is subtly different, I cannot get the required information from Tuya to automatically configure, it will be a trial-and-error to find the correct configuration for your devices.
Forgive my ignorance regarding the configuration; I was under the impression your plugin polled the device thresholds/attributes and set them accordingly. I'm unsure where to create custom device attributes in the config file. I'll go do some web research on Tuya.
I'd advise you to start looking at the docs: https://github.com/milo526/homebridge-tuya-web#configure-devices
It is easiest to install the Config UI X plugin and use that to configure the devices.
Thanks for the clue!
Thanks for the hint but I can’t see how to get this to work. The devices I have issues with are some gu10 bulbs which worked ok under version1.02 but have thrown this issue on all later versions. Using config Uk x your can’t change the characteristic values for bulbs only thermostats.
Ok thanks I worked it out. The latest version allows the values to be set for lights and both minimum and maximum values need to be provided for them to take effect.
Same issue except that even with adding the min/max in config, i still get the issue
Logs:
[15/02/2022, 09:11:45] [TuyaWebPlatform] [Living Room Can Light] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1000) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration!
[15/02/2022, 09:11:45] [TuyaWebPlatform] [Den Can Lights] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (500) since provided Tuya value (500) exceeds configured maximum Tuya value (100). Please update your configuration!
Config: { "name": "TuyaWebPlatform", "options": { "username": "****", "password": "****", "countryCode": "1", "platform": "tuya" }, "defaults": [ { "id": "****", "device_type": "dimmer", "min_brightness": "0", "max_brightness": "100", "dimmer_characteristics": [ "Brightness" ] }, { "id": "****", "device_type": "dimmer", "min_brightness": "0", "max_brightness": "100", "dimmer_characteristics": [ "Brightness" ] }
I am having the same issue.
Same issue except that even with adding the min/max in config, i still get the issue
Logs:
[15/02/2022, 09:11:45] [TuyaWebPlatform] [Living Room Can Light] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1000) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration!
[15/02/2022, 09:11:45] [TuyaWebPlatform] [Den Can Lights] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (500) since provided Tuya value (500) exceeds configured maximum Tuya value (100). Please update your configuration!
Config: { "name": "TuyaWebPlatform", "options": { "username": "****", "password": "****", "countryCode": "1", "platform": "tuya" }, "defaults": [ { "id": "****", "device_type": "dimmer", "min_brightness": "0", "max_brightness": "100", "dimmer_characteristics": [ "Brightness" ] }, { "id": "****", "device_type": "dimmer", "min_brightness": "0", "max_brightness": "100", "dimmer_characteristics": [ "Brightness" ] }
Try setting the max_brightness to 1000?
Same issue except that even with adding the min/max in config, i still get the issue Logs:
[15/02/2022, 09:11:45] [TuyaWebPlatform] [Living Room Can Light] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (1000) since provided Tuya value (1000) exceeds configured maximum Tuya value (100). Please update your configuration!
[15/02/2022, 09:11:45] [TuyaWebPlatform] [Den Can Lights] Characteristic.Brightness - Characteristic 'Brightness' will receive value higher than allowed (500) since provided Tuya value (500) exceeds configured maximum Tuya value (100). Please update your configuration!
Config: { "name": "TuyaWebPlatform", "options": { "username": "****", "password": "****", "countryCode": "1", "platform": "tuya" }, "defaults": [ { "id": "****", "device_type": "dimmer", "min_brightness": "0", "max_brightness": "100", "dimmer_characteristics": [ "Brightness" ] }, { "id": "****", "device_type": "dimmer", "min_brightness": "0", "max_brightness": "100", "dimmer_characteristics": [ "Brightness" ] }Try setting the max_brightness to 1000?
Interesting, that may have stopped the invalid characteristic value. ill keep an eye on it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Installed several new Treatlife SL10 (A19) and while they work with this plugin, they do generate characteristic value boundary warnings.
Steps To Reproduce
Just use some SL10 bulbs from Treatlife, default settings.
@milo526/homebridge-tuya-web v1.1.1
Homebridge Config
Device Config
Additional Context
Status logs from homebridge: