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
The device storage is full when trying to learn new codes #80
Comments
Same problem here, if someone has a solution thanks |
Please check with the latest release of python-broadlink library |
Hi @eschava , |
It was mentioned there that your rm4 device should be identified correctly |
I'm sorry, I'm not sure I understand what you mean by "lookup or specified type". I follow this guide to record RF signals using the RM4 Pro. The guide lists both your solutions: python-broadlink and broadlink-mqtt, but I can't get them to work properly and I'm stuck with the "device storage is full" message. If I was more knowledgeable in coding, maybe I would have figured out my misunderstanding of your question, but, unfortunately, I'm a noob in these matters. |
What is the value of the device_type parameter in the mqtt.conf or custom.conf files? |
I think I'm starting to understand my mistake.
I did the same mistake with the broadlink-mqtt solution. which means I didn't fill my device info into the custom.conf file. It looks like the python-broadlink solution might be easier for noobs like me. |
You shouldn't provide information about your device if device_type='lookup' |
I think I follow your meaning relating to I;m a bit confused as to what is causing the problem, since python-broadlink discovered my device as an RM4 along with the host and mac addresses when I ran the command: what could be the reason I'm still getting the "device storage is full" message? |
device_host and device_mac are ignored for lookup device type |
I tried to manually enter the device type, host and mac, but I still get the error message. |
That's sad. It was my last hope :) |
Hi, hope this help to solve. I spent my afternoon trying to make it work and getting this error. I notice when we started to learn any code, and don't press any button on remote, the error popups in screen (about 5 seconds after the command) while the RM4 Mini still with the white led on. But, if you press the remote control button just after entered the learning mode, it works beautifully. I'm a developer but zero skills with python. So, I suppose, the problemas has something about the delay between entering the learning mode and "grab" the code from the device while it still not ready yet. And the error about full storage is just a "bad catch" somewhere, or the "bad code" returned crashes the write method. Hope it drives for the solution, and btw REALLY THANKS for all the effort spent. |
I believe I posted it in the wrong project. It affects this project, but seems to be a 'python-broadlink' problem. Will replicate the post there too. |
I've checked the discussion there and tried to fix the issue in a similar way. Please check now |
Like I said I'm not a python developer, and don't know exactly the python's behavior. But by similarity with other languages, like try/catch block of java, the line code: I'm don't know how to debug the code and get better data to analyze, but I can write some "print()" in code to see what is happening. I'll do more tests when I get home and be back with more data later. And maybe learn some python and english to be more collaborative in future ;) |
have you tried the latest update? |
Well, I have no experience with GIT either, but still thinking I'm a developer (lol) I got the code yesterday using the command: Not sure if the fix was there, can check that later too. If I need to clone other branch, please, tell me the right git clone command. |
you need to update your folder with |
Sorry, couldn't test yesterday like I promised, but I came with god news: Worked like a charm :) I made some other tests and like to give some data. The application tried 6 times, with a delay of 5 seconds between. Wich took 30 seconds to gave me the message "WARNING No Command Received". My RM4C mini awaits 40 seconds in the learning mode. If I press the button between the 30 and the 40 seconds, the command is not saved (obviosly). I don't know if 40 seconds is the default behavior for all devices (don't have any other). Thinking just about my device I'd suggest add more two attempts to fullfil the 40 seconds. Despites this "time" subject, I'd recomend close this thread issue. I tried to make it crashs again but unsucessfull (lol). Great job! |
Thanks a lot! Increased number of attempts to 8 |
I learned some codes with my rm4_mini new device and used it for about a month. Now when I try to do it again, the learning doesn't happen and I get in the log:
[2020-07-28 17:25:51,873] ERROR Error Traceback (most recent call last): File "mqtt.py", line 199, in on_message record(device, file) File "mqtt.py", line 255, in record ir_packet = device.check_data() File "/usr/local/lib/python3.6/dist-packages/broadlink/__init__.py", line 600, in check_data check_error(response[0x22:0x24]) File "/usr/local/lib/python3.6/dist-packages/broadlink/exceptions.py", line 97, in check_error raise exception(error_code) broadlink.exceptions.StorageError: The device storage is full
I've noticed that guys from another project have recently faced a similar problem:
home-assistant/core#35875
The text was updated successfully, but these errors were encountered: