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

New Device: #450

Open
pman193 opened this issue Feb 11, 2024 · 1 comment
Open

New Device: #450

pman193 opened this issue Feb 11, 2024 · 1 comment
Labels
newDevice Add support for a new device.

Comments

@pman193
Copy link

pman193 commented Feb 11, 2024

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 pman193 added the newDevice Add support for a new device. label Feb 11, 2024
@pman193
Copy link
Author

pman193 commented Feb 12, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
newDevice Add support for a new device.
Projects
None yet
Development

No branches or pull requests

1 participant