iRayanKhan/homebridge-tuya

need help with color strip light set up

fate8383 opened this issue · 0 comments

Hi, for the love of me i cannot figure out how to get rid of these errors:

[3/23/2024, 8:30:44 AM] [homebridge-tuya] This plugin generated a warning from the characteristic 'Saturation': characteristic was supplied illegal value: number 338 exceeded maximum of 100. See https://homebridge.io/w/JtMGR for more info.
[3/23/2024, 10:12:19 AM] [homebridge-tuya] This plugin generated a warning from the characteristic 'Color Temperature': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.

I have a new color strip light and added to smart life (tuya), works perfectly fine in smart life as expected. characteristics are like this:

{
"result": {
"properties": [
{
"code": "switch_led",
"custom_name": "",
"dp_id": 20,
"time": 1711184922456,
"value": true
},
{
"code": "work_mode",
"custom_name": "",
"dp_id": 21,
"time": 1711185205797,
"value": "scene"
},
{
"code": "bright_value",
"custom_name": "",
"dp_id": 22,
"time": 1711131267246,
"value": 1000
},
{
"code": "colour_data",
"custom_name": "",
"dp_id": 24,
"time": 1711182825373,
"value": "000003e803e8"
},
{
"code": "scene_data",
"custom_name": "",
"dp_id": 25,
"time": 1711185235490,
"value": "C7646402000003e803e800000000646402007803e803e80000000064640200f003e803e800000000646402003d03e803e80000000064640200ae03e803e800000000646402011303e803e8000000006464020000000003e800000000"
},
{
"code": "countdown",
"custom_name": "",
"dp_id": 26,
"time": 1711131267246,
"value": 0
},
{
"code": "music_data",
"custom_name": "",
"dp_id": 27,
"time": 1711122994709,
"value": ""
},
{
"code": "control_data",
"custom_name": "",
"dp_id": 28,
"time": 1711122994709,
"value": ""
},
{
"code": "debug_data",
"custom_name": "",
"dp_id": 29,
"time": 1711122994709,
"value": ""
},
{
"code": "sleep_mode",
"custom_name": "",
"dp_id": 31,
"time": 1711184817629,
"value": "AAA="
},
{
"code": "wakeup_mode",
"custom_name": "",
"dp_id": 32,
"time": 1711184817760,
"value": "AAA="
},
{
"code": "power_memory",
"custom_name": "",
"dp_id": 33,
"time": 1711184817863,
"value": "AAAAAAPoA+gD6APo"
},
{
"code": "do_not_disturb",
"custom_name": "",
"dp_id": 34,
"time": 1711131267246,
"value": false
},
{
"code": "mic_music_data",
"custom_name": "",
"dp_id": 42,
"time": 1711131267246,
"value": "010000016432000003e8007803e800f003e8003c03e800b403e8012c03e8"
}
]
},
}

My set up in plugin is this:

            {
                "type": "RGBTWLight",
                "name": "light",
                "id": "xxxx",
                "key": "xxxxx",
                "ip": "192.168.23.165",
                "manufacturer": "aga",
                "model": "Strip Light",
                "dpPower": 20,
                "dpColor": 24,
                "dpMode": 21,
                "dpBrightness": 22,
                "dpColorTemperature": 23,
                "colorFunction": "HSB",
                "scaleBrightness": 1000,
                "minBrightness": 10,
                "scaleWhiteColor": 1000
            },

Any one can help me what else can i set more in the config json that i do not get those errors in home bridge logs? Otherwise it works fine like on/off and color changes...
Thanks