tuya-local
tuya-local copied to clipboard
Maxcio aroma diffuser
Log Message
Please paste logs here
Information about DPS mappings
Please paste the output here.
Product ID
{ "result": { "model": "{"modelId":"0000000nmq","services":[{"actions":[],"code":"","description":"","events":[],"name":"默认服务","properties":[{"abilityId":1,"accessMode":"rw","code":"Power","description":"","extensions":{"iconName":"icon-dp_power","attribute":"1"},"name":"总开关","typeSpec":{"type":"bool","typeDefaultValue":false}},{"abilityId":11,"accessMode":"rw","code":"Light","description":"","extensions":{"iconName":"icon-dp_light","attribute":"16"},"name":"灯光","typeSpec":{"type":"bool","typeDefaultValue":false}},{"abilityId":12,"accessMode":"ro","code":"fault","description":"缺水故障","extensions":{"iconName":"icon-dp_warming","scope":"fault"},"name":"故障告警","typeSpec":{"label":["1"],"maxlen":1,"type":"bitmap","typeDefaultValue":0}},{"abilityId":13,"accessMode":"rw","code":"countdown","description":"0:ON;1:1小时;2:3小时;3:6小时。可根据产品实际功能进行设置。","extensions":{"iconName":"icon-dp_time2"},"name":"倒计时","typeSpec":{"range":["0","1","2","3"],"type":"enum","typeDefaultValue":"0"}},{"abilityId":14,"accessMode":"ro","code":"countdown_left","description":"mcu每分钟上报","extensions":{"iconName":"icon-dp_time"},"name":"倒计时剩余时间","typeSpec":{"max":360,"min":0,"scale":0,"step":1,"type":"value","typeDefaultValue":0,"unit":"分钟"}},{"abilityId":103,"accessMode":"rw","code":"dp_mist_grade","description":"小喷雾,大喷雾,关闭","name":"雾量","typeSpec":{"range":["small","big","off"],"type":"enum","typeDefaultValue":"small"}},{"abilityId":108,"accessMode":"rw","code":"colour_data","description":"Value: ”00112233334455”(长度为 14 的字符串) 00: R 11: G 22: B 3333: H(色调 Hue) 44: S(饱和度 Saturation) 55: V(明度 Value) 示例: {\"2700000000ff27\"}","name":"彩光模式数","typeSpec":{"maxlen":255,"type":"string","typeDefaultValue":""}},{"abilityId":109,"accessMode":"rw","code":"work_mode","description":"white:白光模式;colour:彩光模式;scene:场景模式;scene1-4:不同场景模式切换;可根据产品实际功能更改。","name":"工作模式","typeSpec":{"range":["white","colour","scene","scene1","scene2","scene3","scene4"],"type":"enum","typeDefaultValue":"white"}},{"abilityId":110,"accessMode":"rw","code":"lightmode","description":"1:七彩循环;2:定色;3:夜灯","name":"灯光模式","typeSpec":{"range":["1","2","3"],"type":"enum","typeDefaultValue":"1"}},{"abilityId":111,"accessMode":"rw","code":"setlight","description":"","name":"亮度","typeSpec":{"max":255,"min":0,"scale":0,"step":1,"type":"value","typeDefaultValue":0,"unit":""}}]}]}" }, "success": true, "t": 1708595295610, "tid": "800573a4d16711ee9fb272b4dd63a2de" }
Information about how the device functions
Hi, I have a problem with this device. It has 2 value of percentage "50%" and "big", I ask if you can implement that. https://maxcio.com/products/smart-aroma-diffuser-brown Thanks
I will wait for the log and QueryThingsDataModel result from the API explorer. The above screenshot of cloud API details is not really useful, as it is missing dps and cloud API often differs in small details from the local messages.
Updated the first post with the result of query things data model
Log data:
"cached_state": {
"updated_at": 1706636226.2633598,
"1": false,
"11": false,
"12": 0,
"13": "0",
"14": 0,
"103": "off",
"108": "",
"109": "white",
"110": "1",
"111": 255
},
Hi, do you need more? Thanks for the time