Trying to add second home-assistant, under LibreElec

Hi, I have hass.io working fine on my UbuntuVM

I want to run just home-assistant, under docker on my LibreElec Raspberry Pi.
Someone helped and it’s up.

docker run -d
–name=“home-assistant”
-v /storage/home-assist-config:/config
-v /etc/localtime:/etc/localtime:ro
-p 8123:8123/tcp
–restart=unless-stopped
homeassistant/raspberrypi3-homeassistant

I can’t see my Xiaomi_Aqara device and I don’t know how to fix it? Can TWO home assistant speak to the same gateway.

xiaomi_aqara:
discovery_retry: 5
gateways:

  • mac: 7811DCAXXX58
    key: pXXXXiqqt0knjlq8

NOTE: It’s complicated and dumb why I want 2 copies of home-assistant in my house, but the second one (LibreElec) is meant to be a basic simple thing, to literally turn on a single switch.

Any idea?

When I first install it doesn’t detect anything?
Imgur

When I try to add the Xiaomi gateway, I can’ tsee it in the search list.
Imgur

Here’s my good server
Imgur
You can see, it can talk to the gateway?

I wonder if maybe the gateway refuses accepting 2 different home assistants trying to query it?

Some firmwares are dumb enough that they only accept one connection at a time, but I am not sure about the xiaomi gateway in that regard. Pretty sure is not an issue.

It is more likely to be about multicast though.

Home Assistant should be run with network mode=host if you want Discovery to work properly.

Unfortunately, when I add the net host, I get this error?

The following components and platforms could not be set up:

Please check your config.

NOTE: again, this is under LibreElec - which is a pretty custom, tight little linux install?

NOTE: Here’s my new command, I admit the port line is redundant, but it shouldn’t break anything.

docker run -d
–name=“home-assistant”
–net=host
-v /storage/home-assist-config:/config
-v /etc/localtime:/etc/localtime:ro
-p 8123:8123/tcp
–restart=unless-stopped
homeassistant/raspberrypi3-homeassistant

EDIT:

for the sake of being thorough, I recreated it, without the port line, it still says the config is wrong and didn’t seem to auto detect devices.

Has anyone here ever ran home assistant

Via Docker

Under LibreElec

AND used Xiaomi gear?

Perhaps if we knew why, we may be able to help solve the original problem that has led to this need to install on LE :slight_smile:

I need it due to server not powering on after power loss.
Server runs hass.io

Need something to turn server on, so it can run it all.

So 2 instances.
Installed on a debian VM it’s ok now - but would prefer it on the Pi

Your pi will turn on when power is supplied.