Broadlink Manager - Docker version

If you can run python 3.7+ on your mac (which I assume you can - I’ve never used a mac), then my you can download the broadlinkmanager-docker repo from github as I did and run the python directly after pip installing the pre-requisites (flask, flask_restful and cryptography).
Good luck!

Would you mind sharing some instructions? I try to learn some RF code, I’m told I was successful, but I’m stuck here:

What should I do next? Thanks a lot!

Same Here! No scanning at all, getting errors for UTF8 even with the PYTHONIOENCODING=utf-8 in my docker-compose and I can’t pass the Authentication as well. Getting 500 response.

192.168.0.102 - - [29/Aug/2020 19:50:54] "GET / HTTP/1.1" 200 -
192.168.0.102 - - [29/Aug/2020 19:50:55] "GET /img/broadlink.png HTTP/1.1" 200 -
/usr/local/lib/python3.6/dist-packages/werkzeug/filesystem.py:60: BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will use UTF-8 as filesystem encoding instead of 'ascii'
  BrokenFilesystemWarning,
192.168.0.102 - - [29/Aug/2020 19:51:02] "GET /discover HTTP/1.1" 500 -

Please let me know what should I do?
I can’t make it scan my devices at all. thanks

No errors in my log, still I can’t figure out what should happen next…

Hi Everyone,
I have the same doubt. I installed on raspberry,
I was expecting when i press learn Read the IR and i can give a name to what command it is, and then save as .txt.

So far i am stuck :expressionless:


If someone could guide me :slight_smile:
Many Thanks to the developer!!

@Tomer_Klein
Like a few others trying to run this on Windows, I’ve found that I can’t access the web app when it’s running with network_mode: host. If I edit the docker-compose.yml and remove this line and instead add

ports:
 - '7020:7020'

…the web app comes up on localhost:7020, but it can’t find my Broadlink device…
Checking the Docker documentation at https://docs.docker.com/network/host/ I see that “The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.”

Is there any way alternative way to run this in Windows, without using host networking?

Hi all - just to say I have followed @Matt_Swan 's instructions to install Broadlink Manager in a non-Docker virtual environment in Windows 10. Being a newbie to Python (as well as Docker) this took a fair amount of Googling! I now have it running perfectly - it has found my RM2 Pro Plus3 and successfully scanned an RF code.
Many thanks to @Matt_Swan and of course @Tomer_Klein

1 Like

@london_dad, So glad you got it working. Yeah, my instructions were a bit cryptic so I’m impressed to persisted to get it working! :grinning:

any suggestions for those like me who got the app working but get no results? thanks!

Hi all,
Sorry for disappearing a bit.
working on some fixes and adding new models.
will also fix the guide for installation on PI and addnig new guide for installation on windows.

Cheers,

1 Like

Anyone having this issue, I was having the same issue and realised that it was my chrome ad-blocker extension uBlock Origin stopping me from seeing the data.

1 Like

Good idea, will try it tonight. Very stupid of me for not thinking of it. I am using Opera with the built-in ad-blocker and I had a few similar issues in the past, Not so often to remember them when needed, though. Thanks!

UPDATE: It works! For Opera I had to disable both ad-blocker and tracker blocker. Thanks for your help!

1 Like

Hi all,
New version is up and running.
I have added logger for detaild info and made some bug fixing.

I have also updated the installation guide for raspberry pi Here and windows guide ia on the way

Cheers

2 Likes

Thank you, really need the Windows guide, all other way find on youtube has failed.
All I need is learning two more RF code with RM4pro.

Cheers

Hello
I am completly new to docker and I want to install broadlink managaer docker version.
I have downloaded: broadlinkmanager-docker-master.zip
Then on Ubuntu i have done: “docker build broadlinkmanager-docker-master”
Image was build in docker.
What to do now?
How to start?
Thanx for reply

Hi Tomer,

This has helped me learn my RM4 Pro RF codes. Appreciate your work. :slight_smile:

Some items that might help others:

RF Code learning is a 2 step process:

  1. Hold key down for Broadlink MAanager to get the correct frequency, once found release key, and select continue.
  2. Short press the actual key required to learn.
  • It seems you can hold any key down for the first step, only the second step needs to be the learned key.

DIP Switches:

  • My ceiling fan has a 4 DIP switch module to determine actual frequency used.
  • I have noticed that some of the lower DIP switch codes are not captured by the RM4 Pro. i.e Off, Off, Off, Off does not work, however On Off Off On, does work.
  • I expect this will be device dependent.
  • I have three ceiling fans, and initially I could only get 2 of them leanring. After adjusting the third fans dip swicthes to On, On, On, Off, the third fan is now working also.

One thiing I have been unable to do:

  • Long Press learning
  • The ceiling fans have a dual purpose light button.
  • Short press toggles light between on and off.
  • Long press changes dim level of light
  • If light is on, Long press starts the dimming process from full light, gradually to minmal light and then gradulally back to full light. All based on how long you hold the button for.
  • If light is off, Long press starts the dimming process from off light, to minmal light, gradually up to full lightand then back to minimal light. All based on how long you hold the button for.

Question is, How do I learn the dimming codes?
Or should this be managed by the Home Assistant Broadlink service some how, making sure the code sent stays on for X amount of time.

Hi, for the people how have problems with auto-scan… I disabled the option “lock device” in broadlink app and works !!

@london_dad , Can you tell us what your solution in running broadlink manager . I have same problem in windows 10 (docker version). Thanks

Hi Tomer_Klein

Thanks for making this.
Could it be made available via dockerhub? That would make it much easier for unraid users.

Thanks!

1 Like

Hi Guys,

that was exactly what I was searching for but unfortunately I cannot get it to work. I struggle since hours and have no clue what’s the problem.

I managed to install the tool as docker on my Mac and on my Synology NAS. Both are running without error but a network Scan does not find my RM 4Pro. From that point I’m lost. I tried to find the data folder of the config files but I’m not able.

If somebody could answer my questions it would be great:

  1. In which mode the Broadink device needs to be for the scan? Mine is connected already to the mobile app (new one) and also to Homeassistant. So no LED is blinking. Is that correct?

  2. I tried also the Windows app on a Windows Laptop and no devices are detected. How can I find out the identification code of my device and how can i make sure it’s supported by the app?

I have also a Raspi 4 and could try to install there but before I wanted to clarify the points above to avoid spending time for nothing.

Thx for any help
René