-
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: "Couldn't find the data for the device category 'wnykq'." #189
Comments
For now, you can choose to configure entities manually, then choose 'remote' platform, then submit twice. It is better than waiting for an update for the auto configuration. Edit: The category does exists in database not sure why it didn't works for maybe the cloud data hasn't been pulled correctly on your attempt < maybe reload is needed if my guess is correct, I did add the other sensors tho since it seems your IR has humidity and temp sensor in master version. |
Yes, Auto configuration is just an additional feature you still can configure it manually, however I got confused because it seems you have multi IR Remotes. Before I add it to auto configuration I'll need to confirm which is the correct config for your device, can you re-add the device DPID = 1 |
2024-04-01 12:00:06.282 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Error for call_service at pos 1: Failed to learn: teste 2 |
In order to understand how does your device works you will need to enable the debug for the device and control the device from Tuya/Smart Life app e.g. learn command and send command. Hopefully that it reports the process.
|
Ok, thanks. Logs
|
Did you sent a command after you learn it? in logs it does shows the learning but not sending. |
Yes, I sent. Tried again now with learn and send. logs
|
Thank you very much! I tried to redownload but I can't select the master option. When I click on master it seems that it doesn't select it, it just keeps showing 3.2.5.1 selected all the time. |
Not sure if the a bug in HACS I made a beta-release with the new changes. |
Auto configure entity may work for you. However, I think 7 is the correct option for it. |
|
Logs: Details
|
the auto configure I can understand why it didn't works it was my mistake I didn't add it correctly.
Yes probably if the device got discovered this way then it's the correct one. EDIT: I think I know what causing this issue for you. |
Hello, I think everything should works fine now. Auto configure and device both should works I hope :) Re-Download the integration and select |
Hello, good news! Now the device is working perfectly! Thank you very much for the help and patience! I have another smart remote control that has both IR and RF functions. It's only working with IR codes. When I try to teach it RF devices, the same problem occurs. The LED lights up waiting for the learning command, but when I press the button, it doesn't turn off, meaning it doesn't recognize the command and ends with an error message. Is it possible to solve this problem as well? |
Not sure how does the device recognize the RF commands, maybe if you enable the debug on the device and then Learn and Send a RF command using Smart Life APP |
ok. Thanks !!!!! This is the log: Logs
|
The Logs is kinda not completed.
|
ok. Sorry. Done! |
Hi, sorry for the delay. Busy days here. here is the log:
|
dpid ir study :
|
This looks good, are this the logs reported after you learn / send DP through smart life? |
Yes. After I try learn / send RF commands by smart life. And after I tried learn RF commands trought home assistant too. |
Hi. I wanna try other IR. But still with problem [139789986800448] Failed to learn: LigarAr Uploading config_entry-localtuya-d88870963e081a4c193fb2bd42c9c247 (1).json… |
@rmribeiro2024 Check the latest beta update. @joaovictor0200 The file you posted hasn't upload completely. |
Hi! Same problem here my friend. Unlike learning IR commands in wich the LED lights up, in RF learning mode the device does not show any signal :( even after uptade. |
Not sure how I can debug this furthest without an actually device, so I think I'll will wait and may buy remote RF later. |
Okay, I understand. I greatly appreciate the help, patience, and willingness to assist, my friend. |
About the smart IR that turns on the LEDs but doesn't learn the commands, if there's any news, please let us know :) |
Which one?, I'm at confused I thought IR is fixed :) |
Hi. I buy another IR Smart - Ekaza and try integrate again, and get this error : config_entry-localtuya-a59c2b22120e81d2e7554d630625d20b.json |
|
@rmribeiro2024 I'm kinda confused of which one you means is it the one related to this comment? #189 (comment) can you post the device diagnostic of the meant one. @joaovictor0200 Like I mentioned the issue is not in the device or the integration the issue is that you Home Assistant can't reach your device at all. try to ping the device from Home Assistant terminal e.g. |
If you added "0" in manual DPS and it's success then connection has been made. in the last picture you sent the remote seems turned off go Devices -> Local Tuya -> Your device -> Ensure it's turned on. |
I see this, The IR its on. and get this same error |
Enable the logs any after learn/send post the logs after try both "home assistant learn/send and smart life learn/send" |
Este erro originou-se de uma integração personalizada. Registrador: homeassistant Error doing job: Fatal error: protocol.data_received() call failed. |
@joaovictor0200 Try the latest beta version "beta6" |
This Work's fine. Thanky for you help and attention. But, my other IR Controll, now i can add in the manual mode. I can Learn the command, ( It's notification learn, and turn on the light and learn the command). But when i try send command, the led light it's blink ( send the command) but the device not react the command. |
You mean the device does learn the command but doesn't send it? if yes enable the debug logs, for that IR device and use learn/send command using "home-assistant" then again use learn/send command but using "smart life" would be better if each test on different log file. |
Hello, yes, this is the first device I referred to earlier. It has only IR function. The issue is that it learns the command correctly but doesn't send it. It shows the message that the sending was done but nothing happens. I tried several different commands but it doesn't execute." |
LocalTuya Version
3.2.5.1
Home Assistant Version
2024.3.3
Environment
What happened?
My smart IR remote control is showing this error after attempting automatic setup. Any help?
Steps to reproduce.
Relevant log output
Diagnostics information.
__
The text was updated successfully, but these errors were encountered: