fixes
This commit is contained in:
parent
2ce8f0c998
commit
f7a5cf03e2
|
@ -1,5 +1,5 @@
|
||||||
FROM homeassistant/home-assistant
|
FROM homeassistant/home-assistant
|
||||||
|
|
||||||
RUN apt-get update && apt-get install nodejs
|
RUN apt-get update && apt-get install -y nodejs
|
||||||
WORKDIR /config
|
WORKDIR /config
|
||||||
CMD [ "./run.sh" ]
|
CMD [ "./run_on_server.sh" ]
|
||||||
|
|
|
@ -92,7 +92,7 @@ media_player:
|
||||||
vacuum:
|
vacuum:
|
||||||
- platform: xiaomi_miio
|
- platform: xiaomi_miio
|
||||||
host: rockrobo
|
host: rockrobo
|
||||||
token: !secret local_ip
|
token: !secret vacuum_token
|
||||||
|
|
||||||
|
|
||||||
group: !include groups.yaml
|
group: !include groups.yaml
|
||||||
|
|
|
@ -11,5 +11,6 @@ services:
|
||||||
devices:
|
devices:
|
||||||
- /dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0
|
- /dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
network_mode: host
|
||||||
- "8123:8123"
|
#ports:
|
||||||
|
# - "8123:8123"
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /config
|
||||||
./make_config.sh server
|
./make_config.sh server
|
||||||
./make_custom_frontend.sh
|
./make_custom_frontend.sh
|
||||||
|
|
||||||
|
cd /usr/src/app
|
||||||
python -m homeassistant --config /config
|
python -m homeassistant --config /config
|
Loading…
Reference in New Issue