-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Bug]: S11 PRo IR RF Remote Gateway not wrking #211
Comments
Kindly find the IR Send for Garage Door from Tuya portal. And for the AC AC Standard Instruction set Code Type Values |
RF currently isn't supported and I don't have RF Remote to go more deep into it. I think there's misunderstanding here you can't add the devices that has been created using Remote device in Tuya Apps. such as LocalTuya works different you will need to learn/send the command your self using |
Perfect thanks for the quick response. I will try it out and let you know. |
@xZetsubou i tried the learning as u sujested and did not work. I got the following message on HA. Anything I am missing hear. Logger: homeassistant.components.websocket_api.http.connection [547096917568] Failed to learn: start Logger: homeassistant.helpers.script.websocket_api_script websocket_api script: Error executing script. Error for call_service at pos 1: Failed to learn: start |
Enable the debug for both device and integration Report a bug and paste the logs here when error raised. |
I deleted the device and read it, restarting HA. It seems to have fixed the error. It learned the command. Let me keep going at it. |
If something went wrong feel free to reply. |
Is there a way to get the current temperature using this method? Also, somehow, once I was testing, I managed to get the RF key learning into the storage folder to localtuya config. I deleted and restarted to learn new code and now I do not know how I managed to make it work, RF is something you will look into in the feature. It's the same scenario as IR, but the IR_send command has some additional parameters while learning and sending for RF. IR_Study code seems similar in Tuya Device log. |
If you mean the temperature of the device you are controlling, then no, this is an IR remote it can't know what device type that begins controlled of. Actually, it's opposite RF is the one who has more parameters. There was an attempt to add RF support, but the user who was testing it said it didn't work for him. You can give it a try. |
Let me try and get back. Thanks for the support man. |
I got this error when i replaced the remote.py file and restarted HA. Setup failed for custom integration 'localtuya': Unable to import component: No module named 'custom_components.localtuya.common' During handling of the above exception, another exception occurred: Traceback (most recent call last): |
I updated the file to make it works with the latest localtuya version copy it again and paste on your local remote.py |
The remote failed to learn the code and I got this error. I will upload the debug log soon. Also just noticed when i learn RF command the device blue light do not turn on. The Debug Log is attached I have also included web socket logs. I have sanitised the log. @xZetsubou |
The Query thing data model for RF looks something like below |
Similar to that last logs you sent can you enable the debug for the device but try learn/send RF command from Tuya app. we may get something in the logs. |
Yp, it seems to learn some commands. Please find the log below. |
In the logs it seems you were trying to learn/send from Home Assistant, Can you try learn/send from Tuya app or smart life app. |
No I used the SmartLife app for the learning. I did not save the learning. Do you want me to save it. I just learned and quit the learning once the shutter opened. The log from Tuya API |
LocalTuya Version
3.2.5.2b6
Home Assistant Version
2024.4.4
Environment
What happened?
My smart IR remote control SR11 IR RF pro showing this error after attempting automatic setup. If I add 0 as per the #189 bug report, it does add, but I can't get it to work. The gateway category is "wnykq" still other remote control I integrated does not work. I have attached the discovery log for the current device set below. One is IR, which is my AC, and the other one is RF, which is my Garage door. Any help would be great. I been trying to get it work for while to get local control but till now not managed to do so. I just found this GitHub repo and find it more promising.
config_entry-localtuya-78d9168c469bf79b2941c54e69c8361e_New2.json
Steps to reproduce.
I have added the device using DPID 0 but do not know how to make it work. I have tried adding this several times and in several ways.
The Gateway DPID, as per Tuya standard instructions, are ir_send and ir_study_code, and they correspond to DPIS 201 and 202.
The RF remote standard instructions are scene_1, scene_2, scene_3, scene_4, ir_send, and ir_study_code. The DPIs are 1,2,3,4,201 and 202. I could not see any activity in this device when I used the Smart Tuya app. All activities were in the Gateway device.
The AC IR Remote I have not got that far, but all controls are showing activity on this device, but this device will not get auto-discovered in local tuya.
In Tuya portal those devices are listed under category "qn".
Relevant log output
No response
Diagnostics information.
No response
The text was updated successfully, but these errors were encountered: