soo
(soo)
November 4, 2020, 3:10am
1
I use HA Docker version running by supervisor
i need to add yeelightbt to control yeelight Bluetooth bulbs
i can’t find Bluetooth devices, looks like this step is missing
The docker-compose (or equivalent docker command) should have:
cap_add:
- NET_ADMIN
- NET_RAW
network_mode: host
how and where I can add this?
nickrout
(Nick Rout)
November 5, 2020, 3:47am
3
What command do you use to start HA?
nickrout
(Nick Rout)
November 5, 2020, 3:59am
4
The standard command per the HA docs is
docker run -d --name="home-assistant" -v /PATH_TO_YOUR_CONFIG:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant:stable
So as it says in the docs for that custom component
docker run -d --name="home-assistant" -v /PATH_TO_YOUR_CONFIG:/config -v /etc/localtime:/etc/localtime:ro --cap-add=NET_ADMIN, NET_RAW --net=host homeassistant/home-assistant:stable
1 Like
soo
(soo)
November 6, 2020, 2:33pm
5
Thanks, how to know the path to current configs?
Supervisor created configs during installation
nickrout
(Nick Rout)
November 7, 2020, 1:57am
6
So you are running supervised? I perhaps read that wrong. I am unsure how to alter the capabilities in that case.
nickrout
(Nick Rout)
November 9, 2020, 3:03am
8
Come on now, this isn’t even part of home assistant. It is a 3rd party addon. Why not ask on the 3rd party’s github issues page?
soo
(soo)
November 9, 2020, 5:44pm
9
Be attentive, i’m asking about how to control home assistant software
hass-yeelightbt it’s just a case why I need it
nickrout
(Nick Rout)
November 9, 2020, 7:10pm
10
That is not a home assistant integration. It is a 3rd party integration.
See https://github.com/home-assistant/core/tree/dev/homeassistant/components - no yeelightbt
See https://www.home-assistant.io/integrations/#all - not there.
Be attentive please.
soo
(soo)
November 11, 2020, 11:47am
11
Ok. Let’s think another way. Forgot about integrations. Does not matter why I need this.
The question is: how to control Supervised home assistant software? There are some configs that supervisor uses when control containers, where are they placed, how to change it ?
nickrout
(Nick Rout)
November 11, 2020, 6:25pm
12
I believe that the question would be best answered on github issues.
I also doubt that the devs will want you fiddling with these parameters.
I am also not sure that it is needed if you look at the issues section on https://github.com/hcoohb/hass-yeelightbt
soo
(soo)
November 11, 2020, 7:04pm
13
Are you human or I’m talking to robot?
forget about integration
I want to know HOW TO CONTROL SUPERVISED HOME ASSISTANT FOR MY PERSONAL PURPOSES
nickrout
(Nick Rout)
November 11, 2020, 7:54pm
14
That is why I suggest you discuss it on github (and in this post and the last one I meant home assistant’s github issues, sorry if that wasn’t clear). And please stop shouting.
Pansovi4
(Pansovi4)
November 13, 2020, 12:43pm
15
Same issue here. Supervised HA, yeelight bt scan not working - permission error.
How to add cap_add?