Skip to content
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

Broadlink RM4C Mini device not supported 0x520d #72762

Closed
hauser123 opened this issue May 31, 2022 · 41 comments · Fixed by #82427
Closed

Broadlink RM4C Mini device not supported 0x520d #72762

hauser123 opened this issue May 31, 2022 · 41 comments · Fixed by #82427

Comments

@hauser123
Copy link

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: #72538 (just the device number is different).

@probot-home-assistant
Copy link

broadlink documentation
broadlink source
(message by IssueLinks)

@probot-home-assistant
Copy link

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)

@hauser123 hauser123 changed the title Broadlink Rm4 mini device does not support 0x520d Broadlink RM4C Mini device does not supported 0x520d May 31, 2022
@hauser123 hauser123 changed the title Broadlink RM4C Mini device does not supported 0x520d Broadlink RM4C Mini device not supported 0x520d May 31, 2022
@a000a498
Copy link

a000a498 commented Jun 1, 2022

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

@hauser123
Copy link
Author

Please note the different device id 0x520c vs 0x520d. Or does it matter?

@a000a498
Copy link

a000a498 commented Jun 1, 2022

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😅

@a000a498
Copy link

a000a498 commented Jun 1, 2022

You can use this to solve your issue image

I just tested and it works

@kpblca
Copy link

kpblca commented Jun 3, 2022

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.

2022-06-03_13-17-10
photo_2022-06-03_13-25-13
photo_2022-06-03_13-25-23

@felipediel
Copy link
Contributor

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
  1. Restart the server.

You need to reinstall the patch if you update Home Assistant. It's not permanent.

@jerrychong25
Copy link

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! =)

@adocampo
Copy link

adocampo commented Jul 6, 2022

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.

2022-06-03_13-17-10 photo_2022-06-03_13-25-13 photo_2022-06-03_13-25-23

Thank you dude! I have the very exact model and firmware and adding that worked here as well!

@gianlucaf81
Copy link

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

@simonbrunton
Copy link

I wondered the same thing ☝️ Is it created when the Broadlink integration is installed?

@kevinkey619
Copy link

You can use this to solve your issue image

I just tested and it works

Doesn't work for me.

@adocampo
Copy link

adocampo commented Jul 13, 2022

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.
imagen

@zambod24
Copy link

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
  1. 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!

@felipediel
Copy link
Contributor

It must be "SSH & Web Terminal", there are two similar addons, the one you are using cannot access the container.

@gianlucaf81
Copy link

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.

@Boussen
Copy link

Boussen commented Jul 24, 2022

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

@unrat
Copy link

unrat commented Jul 24, 2022

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

@iamhuman2414
Copy link

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.

@calcioscacchi
Copy link

Hi there. Any news about this issue? I'm using version 2022.8 and it still not working.

@SEVENID
Copy link

SEVENID commented Aug 27, 2022

mjg59/python-broadlink#689 closed, but device still doesn't work. Version 2022.8.7 (docker stable)

@nachomanzano
Copy link

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

@ComputerWarlock
Copy link

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

@unrat
Copy link

unrat commented Sep 22, 2022

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.

@purplephoenix76
Copy link

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.

@unrat
Copy link

unrat commented Sep 22, 2022

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

@purplephoenix76
Copy link

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?

@unrat
Copy link

unrat commented Sep 22, 2022

Did i miss out anything?

What does the log say?

@purplephoenix76
Copy link

purplephoenix76 commented Sep 22, 2022 via email

@unrat
Copy link

unrat commented Sep 22, 2022

I always add it manually into the file, never tried pulling and updating the file from the repo.

Can you have a look if the ID is actually in the file? explanation how to do so see above in the pictures with the chinese language

@Bat-Maniac
Copy link

When is this damn thing going to be updated?

I only bought the RM4C Mini because in the Home Assistant Documentation for Broadlink intergration it is listed as supported.

I've been waiting for almost half a year now, but with every Core update I have to add it manually again.

It's not as if new versions of the RM4C mini are released every week. That's why it could finally be updated.
Other integrations are also updated with almost every new version of Hass. Why this seems to be as hard?

@purplephoenix76
Copy link

@felipediel - Can you help us to pull this into the next build? Appreciate it!

@kpblca
Copy link

kpblca commented Sep 29, 2022

The pull request with new RM4c mini code 0x520d is exist here: mjg59/python-broadlink#715

It just need to merge it!

@Bat-Maniac
Copy link

Bat-Maniac commented Sep 30, 2022

I'm sorry for my last comment.
I know that development isn't easy all the time, and sometimes it just takes longer.
But it's a little frustrating when you buy a device that is listed to be supported, but it's not.
I didn't want to be rude and certainly I didn't want to cause trouble for anyone.

@ComputerWarlock
Copy link

ComputerWarlock commented Sep 30, 2022

I just got an RM4 Mini and it works fine. Few dollars more, didn’t want to wait for this one to be setup. I can confirm it works without issue as of right now. The RM4C Mini still does not

@simonbrunton
Copy link

RM4C mini is still not supported in 2022.10.5

@MrTheFirst
Copy link

Oh noooo😩😩 Please add 0x520D🙏

@cfromm1911
Copy link

Could someone please merge this change? I have 0x520D, but using HASSIO. I cannot figure out how to access the site-packages, "SSH & Web Terminal" no longer has a "Protection Mode" option, and docker command is not found.

@Bat-Maniac
Copy link

I‘ve switched from Home Assistant to Homebridge now, because all I really need is the HomeKit integration.
With Homebridge everything is working fine. I installed the Broadlink plugin and all my remotes are working, even the 0x520D.
Hass was a good experience for years, but with the time it‘s getting too much time-consuming and buggy.
Too much updates in a month, and with every update and with every update you hope that everything is working. But something you are waiting for to be updated won‘t be updated for over a year.
If you can't take care of the development, then maybe you should remove the integration. At least then there are no misunderstandings when users buy hardware that is compatible according to the description, but it isn‘t.

@ilvi80
Copy link

ilvi80 commented Nov 18, 2022

please add RM4C mini 0x520d support

@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.