iRayanKhan / homebridge-tuya

A Homebridge plugin to control Tuya devices locally.
MIT License
403 stars 167 forks source link

New Device: #450

Open pman193 opened 9 months ago

pman193 commented 9 months ago

Describe your device Asakuki Oil Diffuser Example: Generic Brand Lightbulb with Hex Color support, and 255 brightness.

Partial Support? Not i the drop down list and get the following: ASAKUKI Smart Oil Diffuser has a different type (1 vs undefined) [2/11/2024, 12:25:53 AM] [homebridge-tuya] Unregistering ASAKUKI Smart Oil Diffuser

Device Schema Please print your devices schema below: "product_name": "ASAKUKI Smart Oil Diffuser", "status": [ { "code": "Light", "value": false }, { "code": "Power", "value": false }, { "code": "colour_data", "value": "000d0a00a76405" }, { "code": "countdown", "value": "0" }, { "code": "countdown_left", "value": 0 }, { "code": "dp_mist_grade", "value": "small" }, { "code": "fault", "value": 1 }, { "code": "lightmode", "value": "2" }, { "code": "setlight", "value": 255 }, { "code": "work_mode", "value": "colour" } ], "sub": false, "time_zone": "-05:00", "uid": "az16572353023265hAxf", "update_time": 1707625620, "uuid": "7e52a8dcfa028e4c", "schema": [ { "code": "Light", "mode": "rw", "type": "Boolean", "property": {} }, { "code": "Power", "mode": "rw", "type": "Boolean", "property": {} }, { "code": "colour_data", "mode": "rw", "type": "String", "property": { "maxlen": 255 } }, { "code": "countdown", "mode": "rw", "type": "Enum", "property": { "range": [ "0", "1", "2", "3" ] } }, { "code": "countdown_left", "mode": "ro", "type": "Integer", "property": { "unit": "分钟", "min": 0, "max": 360, "scale": 0, "step": 1 } }, { "code": "dp_mist_grade", "mode": "rw", "type": "Enum", "property": { "range": [ "small", "big", "off" ] } }, { "code": "fault", "mode": "ro", "type": "Bitmap", "property": { "label": [ "1" ], "maxlen": 1 } }, { "code": "lightmode", "mode": "rw", "type": "Enum", "property": { "range": [ "1", "2", "3" ] } }, { "code": "setlight", "mode": "rw", "type": "Integer", "property": { "unit": "", "min": 0, "max": 255, "scale": 0, "step": 1 } }, { "code": "work_mode", "mode": "rw", "type": "Enum", "property": { "range": [ "white", "colour", "scene", "scene1", "scene2", "scene3", "scene4" ] } } ] }, Additional context Add any other context about the problem here.

pman193 commented 9 months ago

@iRayanKhan Any thoughts about how to configure this? I can turn on the diffuser and turn the light on and off but can switch between fixed light and color rotation.