Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/46518271512ba46236a20ad666214a5f7136ba07 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Update esphome-install.sh

install esphome in a python virtual environment
pull/1593/head
tteckster 2 years ago committed by GitHub
parent 22b77fdb76
commit 4651827151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,20 +30,27 @@ rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
msg_ok "Updated Python3"
msg_info "Installing ESPHome"
mkdir /srv/esphome
cd /srv/esphome
python3 -m venv .
source bin/activate
$STD pip install esphome tornado esptool
msg_ok "Installed ESPHome"
msg_info "Creating Service"
service_path="/etc/systemd/system/esphomeDashboard.service"
echo "[Unit]
cat <<EOF >/etc/systemd/system/esphomeDashboard.service
[Unit]
Description=ESPHome Dashboard
After=network.target
[Service]
ExecStart=/usr/local/bin/esphome dashboard /root/config/
ExecStart=/srv/esphome/bin/esphome dashboard /root/config/
Restart=always
User=root
[Install]
WantedBy=multi-user.target" >$service_path
WantedBy=multi-user.target
EOF
systemctl enable -q --now esphomeDashboard.service
msg_ok "Created Service"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.