core
core copied to clipboard
Broadlink RM4C Mini device not supported 0x520d
The problem
Device not supported error message when adding a new device. Device is: Bestcon RM4C Mini Universal WiFi Infrared Remote Control.
What version of Home Assistant Core has the issue?
2022.5.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Broadlink
Link to integration documentation on our website
https://www.home-assistant.io/integrations/broadlink/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Logger: homeassistant.components.broadlink.config_flow
Source: components/broadlink/config_flow.py:38
Integration: Broadlink (documentation, issues)
First occurred: May 24, 2022, 11:06:25 PM (4 occurrences)
Last logged: 3:56:07 PM
Unsupported device: 0x520d. If it worked before, please open an issue at https://github.com/home-assistant/core/issues
Additional information
Similar issue: https://github.com/home-assistant/core/issues/72538 (just the device number is different).
broadlink documentation broadlink source (message by IssueLinks)
Hey there @danielhiversen, @felipediel, @l-i-am, mind taking a look at this issue as it has been labeled with an integration (broadlink
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
same as me Logger: homeassistant.components.broadlink.config_flow Source: components/broadlink/config_flow.py:38 Integration: Broadlink (documentation, issues) First occurred: 14:06:36 (2 occurrences) Last logged: 14:06:46
Unsupported device: 0x520c. If it worked before, please open an issue at https://github.com/home-assistant/core/issues
Please note the different device id 0x520c vs 0x520d. Or does it matter?
Please note the different device id 0x520c vs 0x520d. Or does it matter?
I know ,uust want let them know ,have another device id cannot support😅
You can use this to solve your issue
I just tested and it works
Hi, i found the same issue when purchased new RM4C mini device.
But just adding of new device ID in init.py was solved the issue. Here the device's box & software version.
Thanks guys, it will come in the next version of python-broadlink. If you want to have it before the release...
- Open Home Assistant and install "SSH & Web Terminal" add-on
- Disable Protection mode
- Click "Terminal" on the sidebar and install the patch:
docker exec -it homeassistant /bin/bash
pip3 install git+https://github.com/mjg59/python-broadlink.git@new_product_ids --force-reinstall --no-deps
- Restart the server.
You need to reinstall the patch if you update Home Assistant. It's not permanent.
Thanks guys, it will come in the next version of python-broadlink. If you want to have it before the release...
1. Open Home Assistant and install "SSH & Web Terminal" add-on 2. Disable Protection mode 3. Click "Terminal" on the sidebar and install the patch:
docker exec -it homeassistant /bin/bash pip3 install git+https://github.com/mjg59/python-broadlink.git@new_product_ids --force-reinstall --no-deps
4. Restart the server.
You need to reinstall the patch if you update Home Assistant. It's not permanent.
@felipediel Thanks for this solution, it's working fine! =)
Hi, i found the same issue when purchased new RM4C mini device.
But just adding of new device ID in init.py was solved the issue. Here the device's box & software version.
![]()
![]()
Thank you dude! I have the very exact model and firmware and adding that worked here as well!
But just adding of new device ID in init.py was solved the issue. Here the device's box & software version.
Where is located init.py file? thx
I wondered the same thing ☝️ Is it created when the Broadlink integration is installed?
You can use this to solve your issue
I just tested and it works
Doesn't work for me.
Doesn't work for me.
Which code did you tried? My RM4C mini worked with the code 0x520D
For those wondering where __init__.py
is located, if you're using the docker version, you should follow the instructions on the screenshot, in my screnario, the code 0x6539
was already set, but I added a new line with the code 0x520D
, and then it start working.
Thanks guys, it will come in the next version of python-broadlink. If you want to have it before the release...
- Open Home Assistant and install "SSH & Web Terminal" add-on
- Disable Protection mode
- Click "Terminal" on the sidebar and install the patch:
docker exec -it homeassistant /bin/bash pip3 install git+https://github.com/mjg59/python-broadlink.git@new_product_ids --force-reinstall --no-deps
- Restart the server.
You need to reinstall the patch if you update Home Assistant. It's not permanent.
Can someone explain how exactly to enter this code into the terminal. I have Terminal and SSH set up in HA but when I copy and paste the patch and hit enter it returns “command not found”. A photo or video of it in the terminal would be greatly appreciated!
It must be "SSH & Web Terminal", there are two similar addons, the one you are using cannot access the container.
pip3 install git+https://github.com/mjg59/python-broadlink.git@new_product_ids --force-reinstall --no-deps
with a new version of HA (the latest) it works. Thank you.
pip3 install git+https://github.com/mjg59/python-broadlink.git@new_product_ids --force-reinstall --no-deps
with a new version of HA (the latest) it works. Thank you.
still does not work
pip3 install git+https://github.com/mjg59/python-broadlink.git@new_product_ids --force-reinstall --no-deps
with a new version of HA (the latest) it works. Thank you.
still does not work
The latest release is still missing the ID for RM4C mini (0x520D) therefore it cannot work for now out of the box. Still, manual adding this ID is required.
But there is an open Pull Request which will add support for RM4C mini
I added (0x520D) in init.py and still not working for me after a server restart, any idea why?? Do I still need to add it in configuration.yaml? It's manually added there. I also tried the Broadlink integration, entered the RM4C IP address but still showing not supported.
Hi there. Any news about this issue? I'm using version 2022.8 and it still not working.
https://github.com/mjg59/python-broadlink/issues/689 closed, but device still doesn't work. Version 2022.8.7 (docker stable)
Hi i have the same problem: [homeassistant.components.broadlink.config_flow] Unsupported device: 0x520d
Home Assistant 2022.9.5 Supervisor 2022.09.1 Operating System 9.0 Frontend 20220907.2 - latest
Sam problem here as well New out of box RM4C Mini Home Assistant 2022.9.5 Supervisor 2022.09.1 Operating System 9.0 Frontend 20220907.2 - latest
Yes, thats because the pull request was closed without merging it. But there is now another open pull request where the ID will be included. Don't know why he didn't merged the other one, the effort would have been minimal.
As i see it, HA is using the latest release and as long as there is no new one with the ID in it, it can not work out of the box. Please check the Releases page of the other project if the device was added. Only then it will be working without manually adding the device ID.
It quite a chore to jump through this with every pushed HA upgrade. How can we expedite this to be incorporated into the new release? I just updated to 2022.9.6… probably another 2022.9.7 in a few days time. The agony.
How can we expedite this to be incorporated into the new release?
Wish i could tell you. But to be honnest, i think we have to wait for Felipe to merge it and make a new release. Till then the only choice we have is manually add it after every update or make no updates till it is merged.
Maybe there is a way to make a script in HA itself which is triggered after each update adding the ID automatically to the file. But no idea if or how this is possible, never tried such a thing
Bumper. my old RM4CMini just got toasted and i’ve bought a replacement. I followed the above to pull the changes using pip3 and it shows successfully install. However, even after restarting, it still show unsupported for 0x520d. Did i miss out anything?
Did i miss out anything?
What does the log say?
That's all I get from the logs
2022-09-22 19:25:42.011 ERROR (MainThread) [homeassistant.components.broadlink.config_flow] Unsupported device: 0x520d. If it worked before, please open an issue at https://github.com/home-assistant/core/issues
On Thu, 22 Sept 2022, 7:31 pm unrat, @.***> wrote:
Did i miss out anything?
What does the log say?
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/72762#issuecomment-1254895316, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTW3C33D4P4LKNIUCIAURLV7Q7QHANCNFSM5XNQS47A . You are receiving this because you commented.Message ID: @.***>