-
Notifications
You must be signed in to change notification settings - Fork 490
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
Request support for Moes Smart Remote IR + RF #929
Comments
Needs generic ir remote support for the ir_learn and ir_send commands. The rest of the documentation for the "scene" functions does not make sense to me. An enum with a single value? |
Are the scenes reported by the device? (logs are missing from the report). If they are reported, then the device should be detectable, and support will be able to be added using the newly added remote entity support. |
As no feedback was received and there are no logs attached, nothing further can be done on this issue. |
Hi @make-all
The Tuya Cloud Device logs show this: But I'm not able to do anything in Debugging (I can on other devices): Adding it to tuya-local: tuya-local debug logs: home-assistant_tuya_local_2024-02-05T11-42-43.138Z.log Would any of this be useful? I don't think so but let me know if there's anything I can do so that we can use Cheers |
Your device is added as a First you need to learn some commands with |
@make-all thank you. I'm getting there.
Now I can learn and send IR commands, and the file /homeassistant/.storage/tuya_local_remote_bff0b9153273a733c508k1_codes is created:
According to the documentation those are supposed to be Base64 codes, and they also work if I send them manually like this:
However, they are very different to the Base64 codes I had for my previous Broadlink (the equivalent to the OFF above would be Anyway, IR works. However, RF it "starts" learning (led turns off, waiting for input) but it doesn't receive anything `Failed to call service remote.learn_command. Timeout' You said
Based on my previous logs and screenshots (copied snippet below), it does seem like command_type is needed since RF is sent through the same DP? Is it not implemented in HA or in tuya-local?
Let me know if I should open a new issue, this one is re-opened (I'd say it's basically the same device based on the category and the DPs), or it stays closed as it is. Thank you for your support! |
Probably only working for IR. Issue #929
I just checked this. RF commands time-out when learning (the device goes into learning mode but doesn't learn anything). I don't know if Thanks |
From the translated doc strings in the original report:
It looks like there are several differences in the JSON data format for both learn and send commands, but I'm not sure if I can find a full version of the documentation for this on the Tuya site. |
Using 2 different (but i supposed) very similar IR blaster 2024-02-23 09:19:49.626 WARNING (MainThread) [custom_components.tuya_local.config_flow] Device matches rgb_led_strip with quality of 83%. DPS: {"updated_at": 1708640386.9190733, "20": false, "21": "scene", "24": "000003e803e8", "25": "07464602000003e803e800000000464602007803e803e80000000046460200f003e803e800000000464602003d03e803e80000000046460200ae03e803e800000000464602011303e803e800000000", "26": 0, "34": true} Query properties: Device details: { |
The log is for an RGB lightbulb. Your remote supports only the dps 201 and 202, which means it does not send anything when idle, so is not detectable by this integration. |
Probably only working for IR. Issue make-all#929
Log Message
Information about DPS mappings
Product ID
{"result": [
{
"active_time": 1666126701,
"category": "wnykq",
"create_time": 1666126701,
"custom_name": "Smart Remote IR + RF",
"icon": "smart/icon/ay1528464118385ZKFKv/b0578eb5f3107aa4022c2273abe8766b.jpg",
"id": "ebe229606e735257e9ktrc",
"ip": "24.46.216.121",
"is_online": true,
"lat": "40.6561",
"local_key": "681d100ac90cefbc",
"lon": "-73.9586",
"model": "URF02",
"name": "USB Smart Hub",
"product_id": "wbaloeb3kiwwhads",
"product_name": "USB智能遥控器(通用)",
"sub": false,
"time_zone": "-04:00",
"update_time": 1690153118,
"uuid": "3907e919ab35f54e"
}
],
"success": true,
"t": 1690409884614,
"tid": "4a64ed5b2c0211ee9fecaa50f188a4b0"
}
Information about how the device functions
This is a small thumb-drive-like device that works as an IR RF blaster for controlling non-smart devices via their remote interfaces. Here's the product page https://moeshouse.com/products/tuya-smart-infrared-wifi-remote-controller-wireless-usb-ir-rf-controller-for-tv-fan?pr_prod_strat=use_description&pr_rec_id=7165b43d0&pr_rec_pid=6619915092049&pr_ref_pid=6925853655121&pr_seq=uniformThe text was updated successfully, but these errors were encountered: