t0mer / broadlinkmanager-docker

Broadlink Manager is a python based project that allows you to contorol your broadlink devices. Discover, Leran and send command in a very easy way
Apache License 2.0
264 stars 56 forks source link

Raspberry Pi: Error while running in Portainer #1

Closed Stupco closed 3 years ago

Stupco commented 4 years ago

This won't launch in portainer.io on my Home Assistant (Raspberry Pi 3+).

The following in the logs: standard_init_linux.go:211: exec user process caused "exec format error"

nagorsky commented 4 years ago

Same issue. After spend hours of testing i switch to docker on windows.
Now web app opened on windows, but in web panel no one device showed, Its scan network to find rm4 pro but didit find it. I spent hours without any result =(

t0mer commented 4 years ago

Hi, You must use host network mode because Broadlink Manager is working with MAC address to communicate with broadlink devices and MAC address is not working under bridge mode.

Tekno-man commented 4 years ago

Installing it in portainer from HA works as long as the HA host is not a Rpi. Would the chipset of the Rpi give the error Stupco posted?

Stupco commented 4 years ago

Hi t0mer, thanks for the reply :) Sorry, should have specified that I was using Host network mode.

Stupco commented 4 years ago

FYI: I tried running Broadlink directly via Docker with no luck, and also via Portainer in Docker with no luck on my Windows 10 Pro.

I resorted to creating a VM Home Assistant and got it working through there, but this caused another issue.

jaimyborgman commented 3 years ago

the problem for not running on raspberry pi is that the original image on docker hub doesn't support arm processors check out my image which is a new build based on the original but with arm support :-)

https://hub.docker.com/r/studiofifteen/broadlinkmanager

t0mer commented 3 years ago

the problem for not running on raspberry pi is that the original image on docker hub doesn't support arm processors check out my image which is a new build based on the original but with arm support :-)

https://hub.docker.com/r/studiofifteen/broadlinkmanager

@jaimyborgman Thanks for that. Can you explain how to create the arm image? Would like to add it to mine to.

t0mer commented 3 years ago

Hi, Just built an image for arm. just use the :arm tag.