-
Notifications
You must be signed in to change notification settings - Fork 480
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
Add support for Broadlink RM4C mini (0x6539) #476
Conversation
Awesome!! That is exactly what I need. |
Manually patched my local code, and I can confirm that the solution is working for me. Thanks. |
May I ask how to manually patch the code? |
|
Note that this patch is only required during the discovery phase in Home Assistant. I followed pretty much the route that @felipediel describes above, to patch the code inside the running container. When this all was setup and working, I fully restarted the container, bringing back the original code for the python-broadlink library. I was happy to see that my integration kept working. |
Thank you it worked for mee!! |
Thx, it worked for mee!! (0x6539) |
Not able to make it work. First thing is that the folder broadlink is was not created, so I created manually (is this correct?). I am still getting Unsupported device: 0x6539. If it worked before, please open an issue at https://github.com/home-assistant/core/issues Any advice on what to check or what could be blocking this integration? |
The folder exists, but elsewhere. You can find it with: find / -name broadlink Another installation option: ssh USER@IPADDRESS
docker exec -it homeassistant /bin/bash
pip3 install git+https://github.com/felipediel/python-broadlink.git@patch-23 --force-reinstall --no-deps |
Thanks for the help @felipediel. I was able to install the device with another method: 1.- Open SSH & Web Terminal Thank you for the support works great. |
Given how many PRs there are for devices that aren't merged, would it make sense to just have something in the UI to manually specify the device type, or some kind of auto-detection? That would save some of the hassle. |
it didn't work for me is still get device not supported (0x6539) |
i changed the code proovided by @felipediel by adding new line " 0x6539: (rm4, "RM4 mini", "Broadlink"), ". i saved this code in repository : https://raw.githubusercontent.com/hasan-fardan/python-broadlink/main/__init__.py Then I did the same steps:
Finally, restart Home assistant |
After I added my broadlink rm4 mini I can't learn codes anymore. When I run the service to learn code it runs as usual but when I send the command I just learned it does nothing. Also, when I searched for the learned codes I didn't see the folder ".storage" |
The .storage folder is hidden. If you are on Windows, you need to check that box to show hidden files and folders. Do you see any errors in the logs? Check if the entity is turned on. There is a button. |
thanks. i saw them |
you are great felipediel ,Thanks to everyone who contributed |
my broadlink rm4 mini stopped working. its state changed to unavailable. in the broadlink app I can control it normally but in home assistant I cant. when I try to add it again it says device not available even though I followed the same steps as before. |
this method works ssh USER@IPADDRESS edit: it worked on the rm4 mini but stopped my rm4 pro |
For me the RM4C Mini stopped working after the update. I had to learn again the commands and now it's working again, did you try it? |
it's unavailable in my case |
now both the pro and the mini works. I copied felipediel code and and added both devices (0x653c , 0x6539) for the setup install "ssh and web terminal" then restart home assistant |
2021.1 Is still missing this definition. |
@mjg59 might be on vacation. |
Help please - I do via terminal or putty - after i do login no such command "docker...". |
@Arturasm did you:
docker exec -it homeassistant /bin/bash
pip3 install git+https://github.com/hasan-fardan/python-broadlink.git@patch-24 --force-reinstall --no-deps
|
I do not get what is turn off protection mode. Is it in SSH/Terminal add-on config? I use Putty. Tried on web terminal, the same. |
Add support for Broadlink RM4C mini (0x6539) (mjg59#476) Add support for Broadlink RM4 pro (0x653C) (mjg59#472) Add support for Broadlink RM4S (0x6364) (mjg59#475) Add support for Broadlink MCB1 (0x756F) (mjg59#478) Add support for Broadlink MCB1 (0xA56A) (mjg59#478) Add support for Broadlink RM mini 3 (0x6508) (mjg59#479) Add support for Efergy Ego (0x271D) (mjg59#481) Add support for Broadlink SCB1E (0x5115) (mjg59#514) Add support for Broadlink SCB1E (0x6113) (mjg59#488) Add support for Broadlink SP4L-EU (0x618B) (mjg59#489) Add support for Broadlink SP4L-UK (0xA589) (mjg59#491) Add support for Broadlink RM3 mini (0x27d3) (mjg59#493) Add support for Broadlink SP4L-AU (0x6489) (mjg59#498) Add support for BG Electrical AHC/U-01 (0x51E2) (mjg59#497) Add support for Broadlink MCB1 (0x6111) (mjg59#509)
Add support for Broadlink RM4C mini (0x6539) (mjg59#476) Add support for Broadlink RM4 pro (0x653C) (mjg59#472) Add support for Broadlink RM4S (0x6364) (mjg59#475) Add support for Broadlink MCB1 (0x756F) (mjg59#478) Add support for Broadlink MCB1 (0xA56A) (mjg59#478) Add support for Broadlink RM mini 3 (0x6508) (mjg59#479) Add support for Efergy Ego (0x271D) (mjg59#481) Add support for Broadlink SCB1E (0x5115) (mjg59#514) Add support for Broadlink SCB1E (0x6113) (mjg59#488) Add support for Broadlink SP4L-EU (0x618B) (mjg59#489) Add support for Broadlink SP4L-UK (0xA589) (mjg59#491) Add support for Broadlink RM3 mini (0x27d3) (mjg59#493) Add support for Broadlink SP4L-AU (0x6489) (mjg59#498) Add support for BG Electrical AHC/U-01 (0x51E2) (mjg59#497) Add support for Broadlink MCB1 (0x6111) (mjg59#509)
2021.2 still does not have RM4C mini? As well github asks for user/pass: |
It was not tagged yet. We need to wait until maiteiners release a new version on PyPi. |
Thanks everyone, the advice helped. You guys are awesome! |
Hi guys, help me to update 2021.03 HA version with working latest Broadlink solution. Older one in up here is not working anymore. |
Are you saying that solution proposed above doesn’t work anymore? |
Log says succeeded, but I integration says no correct device. |
Hi @Arturasm. You need to re-patch your installation when you update Home Assistant. You can use this branch: ssh USER@IPADDRESS
docker exec -it homeassistant /bin/bash
pip3 install git+https://github.com/felipediel/python-broadlink.git --force-reinstall --no-deps This is what is happening: we skipped v0.16.1 and with v0.17.0 almost ready it makes no sense to release the previous version, which has already been tested by many people informally and would be just another obstacle for many important updates that are coming. We need to think about the whole. So I ask everyone to be patient while waiting. I am working daily to make this happen. If you see people in trouble, please copy and paste the instructions to help them. |
@felipediel might be worth adding to the readme for now until the new version is ready. You can definitely see you're working every day on it, speed of development is blowing me away at the moment! |
It won't be necessary, we're almost there. |
Hey, the workaround at the moment is still isntalling 0.16.0 for me:
Was 0.16.1 cancelled while waiting for 0.17.0? |
Add support for Broadlink RM4C mini (0x6539)
#411 (comment)
home-assistant/core#42983 (comment)