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

Added Woox R7246 #2717

Merged
merged 7 commits into from
Jan 9, 2025
Merged

Added Woox R7246 #2717

merged 7 commits into from
Jan 9, 2025

Conversation

szupi-ipuzs
Copy link
Contributor

This is supposed to also have IR support, but haven't tested it yet and there are no dpids for that reported by default.
Work in progress.

@make-all
Copy link
Owner

make-all commented Jan 3, 2025

Is the IR support using dps 201 and 202? This seems to be standardised so you can probably copy from one of the other remote devices that uses those same dps. If it is using other dps ids, and/or more dps, then it might need more details to get right (there is an older protocol, and I did try to support it also when writing the remote implementation, but it is maybe less standardised so may need tweaks to the Python to account for variations).

@szupi-ipuzs
Copy link
Contributor Author

szupi-ipuzs commented Jan 6, 2025

I still had no time to test the IR functions, but I did pull the info from dev.tuya account, which seems to confirm the IR is on 201/202:

        "model": "{\"modelId\":\"dw584k\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":2,\"accessMode\":\"ro\",\"code\":\"temp_current\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_c\",\"attribute\":\"640\"},\"name\":\"当前温度\",\"typeSpec\":{\"type\":\"value\",\"max\":500,\"min\":-150,\"scale\":1,\"step\":1,\"unit\":\"℃\"}},
{\"abilityId\":11,\"accessMode\":\"rw\",\"code\":\"temp_unit_convert\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"608\"},\"name\":\"温标切换\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"c\",\"f\"]}},
{\"abilityId\":12,\"accessMode\":\"ro\",\"code\":\"humidity_current\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-shidu\",\"attribute\":\"640\"},\"name\":\"当前湿度\",\"typeSpec\":{\"type\":\"value\",\"max\":1000,\"min\":0,\"scale\":1,\"step\":1,\"unit\":\"%\"}},
{\"abilityId\":101,\"accessMode\":\"rw\",\"code\":\"qu\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-liangdu\",\"attribute\":\"4\",\"trigger\":\"direct\"},\"name\":\"显示屏开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":201,\"accessMode\":\"rw\",\"code\":\"ir_send\",\"description\":\"红外控制下发\",\"extensions\":{\"iconName\":\"icon-icon-test11\",\"attribute\":\"2048\"},\"name\":\"红外控制下发\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":3072}},
{\"abilityId\":202,\"accessMode\":\"ro\",\"code\":\"ir_study_code\",\"description\":\"红外学习值上报\",\"extensions\":{\"iconName\":\"icon-shangsheng\",\"attribute\":\"2048\"},\"name\":\"红外学习值上报\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"

make-all and others added 5 commits January 6, 2025 23:55
- shorten top level name (it is prepended in various places in UI so better if short)
- update products section to new format with split manufacturer and model ready for use in device info in future.

PR make-all#2717
@make-all make-all merged commit 74dc058 into make-all:main Jan 9, 2025
4 checks passed
make-all added a commit that referenced this pull request Jan 9, 2025
- shorten top level name (it is prepended in various places in UI so better if short)
- update products section to new format with split manufacturer and model ready for use in device info in future.

PR #2717
make-all added a commit that referenced this pull request Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants