I dont know about broadlink manager but i have the same issue for home assistant. I believed they fixed it but its waiting for a hass update ur something,
Hi @hxal,
I’m the developer of the docker.
I’t based on broadlink-cli (python) and i hope to release new version very soon.
Okay very nice job thanks. Could you also add support for rm4 pro model 0x653c.
Looking forward to an update, I’m using the broadlink-cli to get my RF codes from the RM4 Pro 0x649b and it does work, but not as user friendly via the command line, thanks for the update
Check you’re using the correct Docker image for your raspberry pi, you need an image made for the raspberry pi’s ARM architecture, the one you have linked is for linux I believe.
You can check the tags for the image on Docker Hub, for the pi they should include ARM or ARM64.
Try the studiofifteen/broadlinkmanager image, that one worked for me on a pi4 (64bit but should work on 32bit too).
[https://hub.docker.com/r/studiofifteen/broadlinkmanager]
Not by any means an expert here, I’ve just been stuck with the same problem in the past!
Hope this helps
@Tomer_Klein your tool is really amazing. On my previous SD card I got it to work directly but now it seems not to find my devices. Here is what I see on the command line
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/lib/python3/dist-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask_restful/__init__.py", line 272, in error_router
return original_handler(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask_restful/__init__.py", line 272, in error_router
return original_handler(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/broadlinkmanager-docker/broadlinkmanager/broadlinkmanager.py", line 421, in autodiscover
devices = broadlink.discover(timeout=5, local_ip_address=None, discover_ip_address="255.255.255.255")
File "/opt/broadlinkmanager-docker/broadlinkmanager/broadlink/__init__.py", line 200, in discover
device = gendevice(devtype, host, mac, name=name, is_locked=is_locked)
File "/opt/broadlinkmanager-docker/broadlinkmanager/broadlink/__init__.py", line 105, in gendevice
dev_class, model, manufacturer = get_devices()[dev_type]
File "/opt/broadlinkmanager-docker/broadlinkmanager/broadlink/__init__.py", line 46, in get_devices
0x756C: (sp4, "SP4M", "Broadlink"),
NameError: name 'sp4' is not defined
Hi,
I was wondering besides doing a docker pull and a simple run. Did you do something else ?
Regards,
Jens
I read all comment. Still did not find what i want
I have RM4Pro. And on my phone, i have broadlink app installed. Inside app, i added RM4Pro remote to app. Insid app, I also added Broadlink switch TC2USPro to remote. Everything is working fine with Broadlink app.
Then, I added RM4Pro to Home Assistant OS (on my Pi4B). Its done.
Now, I dont want to learn any new IR/RF code. I just want to reuse Broadlink switch which already added to RM4Pro.
Here is the guide to get code from that Switch but by e-Control app: https://www.home-assistant.io/integrations/broadlink/#using-e-control-remotes
but i found no guide to get it from Broadlink app.
Is there a way to get code from my Broadlink switch (which is added to RM4Pro remote and is working fine by Broadlink app on my phone)?
Please help me Thank you very much.
Hey,
I am stuck with broadlink manager - learning RF code.
In windows 10 I can learn IR code but when I try to learn RF code it’s stuck (Attached in the picture - Reply 1)
In pi 4 I run broadlink manager on docker and it’s stuck on scanning device (Attached in the picture).
How can I scan RF code?
Thanks!
After updating rmpro plus firmware, i’m unable to find device in network, but it works fine from mobile app…
Hello @Tomer_Klein,
Thank you so much for your amazing. May I ask if (or) when could we expect support for 0x653a?
one more request from @Mio3000
Oh bugger!
I have just gotten my first Broadlink and now realise that the rm4 pro, that I got, is a version/type that is not supported by the Broadlinkmanager. It’s version/type 0x649b.
So this is my question: Is there a fix or workaround?
I saw somewhere that someone had made a workaround by what I understood to be based on change of some lines in a local copy of the source code and local compilation. It’s been ages since I coded (and never under linux), so it’ll be quite an effort for me to understand without a step-by-step guide. Moreover, it appeared that the fix didn’t fully work. (I managed to install Broadlinkmanager on a headless RPi, though. But that was because I couldn’t get it going in a docker container on my WinPC, and @Tomer_Klein 's guide was really easy to follow - thanks!)
Wanted to give it a go, but noob as I am, I failed just trying to edit a text file on my RPi4. First I tried to edit the broadlinkmanageer.py in the /opt/broadlinkmanager-docker/broadlinkmanager, but obviously it was locked. I then learned that one should not mess with permissions in the /opt folder, so I installed the repo under /usr/local. Same thing: Couldn’t change permission. Finally, I tried to put the repo in a folder under /home/pi - still couldn’t change the permission. Buh.
Will probably try some more searching/learning and will post if I find a solution to get 0x649b working.
OK, I have progress: If one acquires code from github using sudo, then the files end up being owned by root - makes sense. So, I did a ‘chown’ on the folder+files on my /home/pi/Broadlinkmanager and then I could edit the files.
In the two files broadlinkmanager.py and init.py I added lines to reflect the rm4 type of 0x649b.
Ran my updated project: Heureka, my device is now recognized:
…but when trying to ‘learn’ an IR command, the received code is not shown. My device is entering learn mode (constant red light) and when I have hit the button on my remote, the red light turns off. Further, the broadlinkmanager reports that something has been received (Status: IR Data Recived), but it stays “Waiting For Signal”, so I cannot see what was received:
Hi, it’s taking me longer then i expected but yes,
It’s in my Todo List.
Hey, I’m also having the same issue as reported by F2three and beside that one, also when trying to scan an RF code it gets stuck
Anything we can do to make it work?
Thank you so much.
Been looking at a node-red-contrib-broadlink-control, that had the same issue with the aforementioned deviceId.
They seem to have figured it out. Maybe it might help you out.
Cheers!