Update esphome-install.sh

revert to standard install
This commit is contained in:
tteckster 2023-06-23 21:33:35 -04:00 committed by GitHub
parent 53e5964633
commit 697b409600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,10 +30,10 @@ rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Updated Python3" msg_ok "Updated Python3"
msg_info "Installing ESPHome" msg_info "Installing ESPHome"
mkdir /srv/esphome #mkdir /srv/esphome
cd /srv/esphome #cd /srv/esphome
python3 -m venv . #python3 -m venv .
source bin/activate #source bin/activate
$STD pip install esphome tornado esptool $STD pip install esphome tornado esptool
msg_ok "Installed ESPHome" msg_ok "Installed ESPHome"
@ -44,7 +44,8 @@ Description=ESPHome Dashboard
After=network.target After=network.target
[Service] [Service]
ExecStart=/srv/esphome/bin/esphome dashboard /root/config/ #ExecStart=/srv/esphome/bin/esphome dashboard /root/config/
ExecStart=/usr/local/bin/esphome dashboard /root/config/
Restart=always Restart=always
User=root User=root