Skip to content

Linux 우분투 18.04 Home Assistant 설치

2018.12.09 19:29

Kim 조회 수:501

sudo apt install
sudo apt upgrade
sudo apt install python3-pip python3-venv


python3 -m venv homeassistant
cd homeassistant
source bin/activate
python3 -m pip install wheel

python3 -m pip install homeassistant
hass --open-ui

whereis hass
sudo vi /etc/systemd/system/homeassistant.service

[Unit]
Description=Home Assistant
After=network-online.target

[Service]
Type=simple
Environment=WorkingDirectory=/home/jhk/.homeassistant/
ExecStart=/home/homeassistant/bin/hass -c '/home/jhk/.homeassistant'
Restart=always

[Install]
WantedBy=mult-user.target

sudo systemctl daemon-reload
sudo systemctl enable homeassistant.service
sudo systemctl start homeassistant.service
sudo systemctl status homeassistant.service

webui접속 http://localhost:8123

Powered by Xpress Engine / Designed by Sketchbook

sketchbook5, 스케치북5

sketchbook5, 스케치북5