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

Support for Product "ZX-5140" / "azf0uruabwr7fxyi" #1870

Open
tristanXme opened this issue Dec 19, 2024 · 0 comments
Open

Support for Product "ZX-5140" / "azf0uruabwr7fxyi" #1870

tristanXme opened this issue Dec 19, 2024 · 0 comments

Comments

@tristanXme
Copy link

Could you please add Support for the device?

I'll post the API output. Sadly I was not able to create a working config file on my own.

Query Properties:
{ "result": { "properties": [ { "code": "switch_led", "custom_name": "", "dp_id": 20, "time": 1734644109857, "type": "bool", "value": true }, { "code": "work_mode", "custom_name": "", "dp_id": 21, "time": 1734639991825, "type": "enum", "value": "scene" }, { "code": "bright_value", "custom_name": "", "dp_id": 22, "time": 1734644149699, "type": "value", "value": 1000 }, { "code": "music_data", "custom_name": "", "dp_id": 27, "time": 1701287408762, "type": "string", "value": "" }, { "code": "control_data", "custom_name": "", "dp_id": 28, "time": 1701287408762, "type": "string", "value": "" }, { "code": "mic_music_data", "custom_name": "", "dp_id": 42, "time": 1734639991905, "type": "string", "value": "000000000000" }, { "code": "scene_list", "custom_name": "", "dp_id": 51, "time": 1734644366999, "type": "raw", "value": "AB4JZAABDAVkAAEWBWQAAQYFZAABHQVkAAEFBWQyARkFZAABAAFkMgE=" }, { "code": "scene_select", "custom_name": "", "dp_id": 52, "time": 1734644367074, "type": "raw", "value": "AAABZDIB" }, { "code": "scene_combine", "custom_name": "", "dp_id": 53, "time": 1734644367178, "type": "raw", "value": "AAAADBYGHQUZ" }, { "code": "scene_factory", "custom_name": "", "dp_id": 54, "time": 1701287408762, "type": "raw" } ] }, "success": true, "t": 1734646245880, "tid": "18720e0fbe5611efae3a529172fa76b1" }

Query "Get the specifications and properties of the device":
{ "result": { "category": "dc", "functions": [ { "code": "switch_led", "desc": "{}", "name": "开关", "type": "Boolean", "values": "{}" }, { "code": "work_mode", "desc": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}", "name": "模式", "type": "Enum", "values": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}" }, { "code": "bright_value", "desc": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}", "name": "亮度值", "type": "Integer", "values": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}" }, { "code": "music_data", "desc": "{\"maxlen\":255}", "name": "音乐灯", "type": "String", "values": "{\"maxlen\":255}" }, { "code": "control_data", "desc": "{\"maxlen\":255}", "name": "调节", "type": "String", "values": "{\"maxlen\":255}" } ], "status": [ { "code": "switch_led", "name": "开关", "type": "Boolean", "values": "{}" }, { "code": "work_mode", "name": "模式", "type": "Enum", "values": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}" }, { "code": "bright_value", "name": "亮度值", "type": "Integer", "values": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}" } ] }, "success": true, "t": 1734645641860, "tid": "b0652406be5411efaf84fe4c51833753" }

Thank you so much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant