2024年12月4日星期三 上午1:22:30

Install Home Assistant Supervised Supervisor

1 年 前
#22379 引用
Home Assistant Supervisor

Community Guides

Installing Home Assistant Supervised using Debian 12
https://community.home-assistant.io/t/installing-home-assistant-supervised-using-debian-12/200253


supervisor


https://github.com/home-assistant/supervisor

0014. Installation method: Home Assistant Supervised
https://github.com/architecture/adr/0014-home-assistant-supervised.md
https://www.home-assistant.io/installation/linux#install-home-assistant-supervised


https://github.com/home-assistant/supervisor/releases
0
1 年 前
#22380 引用
Home Assistant (former Hass.io) is a container-based system for managing your Home Assistant Core installation and related applications. The system is controlled via Home Assistant which communicates with the Supervisor. The Supervisor provides an API to manage the installation. This includes changing network settings or installing and updating software.


This installation method has very strict requirements, for example, it only supports Debian (and Ubuntu, Armbian, Raspberry Pi OS are not supported).


HA Supervised 安装系统要求
https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md

Home Assistant Supervised 只能支持安装在 Debian 11 的系统上.


20231015
There are only two supported operating systems to run the Supervisor on:

Home Assistant OS
Debian 12 (Bookworm)

These operating systems are actively tested and maintained, for use with the Supervisor.
source:https://www.home-assistant.io/more-info/unsupported/os/

HA Supervised 安装脚本
https://github.com/home-assistant/supervised-installer


Home Assistant Supervised 安装脚本自1.4.0版本(Dec 11, 2022)起,阻止非原生Debian 11系统(Debian Linux Debian 11 aka Bullseye (no derivatives))安装HA Supervised
0
1 年 前
#22382 引用
Installation method


使用docker的方式安装的HA supervisor
or
Install the Home Assistant Supervised Debian Package:




使用docker的方式安装的HA supervisor
https://bbs.hassbian.com/thread-22537-1-1.html


PC

windows 10
vmare player 17
debian 11


Install Debian 12
Install OS Agent
Install Docker
docker pull ghcr.io/home-assistant/qemux86-64-homeassistant
0
1 年 前
#22383 引用
https://zyyme.com/docker-home-assistant-hassio-supervisor.html/comment-page-1#comments


docker pull ghcr.io/home-assistant/qemux86-64-homeassistant


other

docker pull ghcr.io/home-assistant/qemux86-64-homeassistant:2023.8.1





docker pull ghcr.io/home-assistant/amd64-hassio-supervisor  ok
docker pull ghcr.io/home-assistant/amd64-hassio-supervisor:2023.10.1


0
1 年 前
#22541 引用
目前安装在x64的Debian12上
Guide:https://zyyme.com/docker-home-assistant-hassio-supervisor.html
OS
 cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"



step 1.下载
x64

docker pull ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1
docker pull ghcr.io/home-assistant/qemux86-64-homeassistant:stable
0
1 年 前
#22542 引用
step 2.启动

X64
docker run -d --name hassio_supervisor --privileged \
--restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/var/run/dbus \
-v /opt/apps/hassio:/data \
-e SUPERVISOR_SHARE=/opt/apps/hassio \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-64-homeassistant \
ghcr.io/home-assistant/amd64-hassio-supervisor:2024.09.1
0
1 年 前
#22543 引用
https://version.home-assistant.io/stable.json


{
  "channel": "stable",
  "supervisor": "2024.09.1",
  "homeassistant": {
    "default": "2024.9.3",
    "qemux86": "2024.9.3",
    "qemux86-64": "2024.9.3",
    "qemuarm": "2024.9.3",
    "qemuarm-64": "2024.9.3",
    "generic-x86-64": "2024.9.3",
    "intel-nuc": "2024.9.3",
    "khadas-vim3": "2024.9.3",
    "raspberrypi": "2024.9.3",
    "raspberrypi2": "2024.9.3",
    "raspberrypi3": "2024.9.3",
    "raspberrypi3-64": "2024.9.3",
    "raspberrypi4": "2024.9.3",
    "raspberrypi4-64": "2024.9.3",
    "raspberrypi5-64": "2024.9.3",
    "yellow": "2024.9.3",
    "green": "2024.9.3",
    "tinker": "2024.9.3",
    "odroid-c2": "2024.9.3",
    "odroid-c4": "2024.9.3",
    "odroid-m1": "2024.9.3",
    "odroid-n2": "2024.9.3",
    "odroid-xu": "2024.9.3"
  },





way 2

sudo dpkg -i homeassistant-supervised.deb
https://zhuanlan.zhihu.com/p/482610042
0
1 年 前
#22544 引用
HomeAssistant Supervised 安装完成后,启动后,会下载下面的镜像,可以查看运行的docker容器:



docker images -a
REPOSITORY                                        TAG         IMAGE ID       CREATED         SIZE

ghcr.io/home-assistant/amd64-hassio-cli           2024.09.0   c631f9281be5   5 weeks ago     81.8MB
ghcr.io/home-assistant/qemux86-64-homeassistant   2024.9.3    6a8842620542   5 weeks ago     2.74GB
ghcr.io/home-assistant/amd64-hassio-supervisor    2024.09.1   f26bce9a661c   7 weeks ago     547MB
ghcr.io/home-assistant/amd64-hassio-dns           2024.04.0   c1abca5ecb2a   7 months ago    87.9MB
ghcr.io/home-assistant/amd64-hassio-multicast     2024.03.0   8feb61cb706a   7 months ago    65.2MB

ghcr.io/home-assistant/amd64-hassio-audio         2023.12.0   673d98923993   10 months ago   110MB
ghcr.io/home-assistant/amd64-hassio-observer      2023.06.0   daa70b862e69   16 months ago   11.1MB





sudo docker ps -a





CONTAINER ID   IMAGE                                                        COMMAND                  CREATED             STATUS          PORTS                                   NAMES
251f6781fc2a   ghcr.io/home-assistant/qemux86-64-homeassistant:2021.12.10   "/init"                  46 minutes ago      Up 13 minutes                                           homeassistant
5b4c3c02c584   ghcr.io/home-assistant/amd64-hassio-multicast:2021.04.0      "/init"                  47 minutes ago      Up 47 minutes                                           hassio_multicast
c31e5db3fc23   ghcr.io/home-assistant/amd64-hassio-audio:2021.07.0          "/init"                  47 minutes ago      Up 47 minutes                                           hassio_audio
714d9b3c18d9   ghcr.io/home-assistant/amd64-hassio-dns:2021.06.0            "/init"                  47 minutes ago      Up 47 minutes                                           hassio_dns
91d9e8bf52cc   ghcr.io/home-assistant/amd64-hassio-cli:2021.09.0            "/init /bin/bash -c …"   47 minutes ago      Up 47 minutes                                           hassio_cli
47a11a170c17   ghcr.io/home-assistant/amd64-hassio-observer:2021.10.0       "/init"                  About an hour ago   Up 48 minutes   0.0.0.0:4357->80/tcp, :::4357->80/tcp   hassio_observer
8a6a1b496de3   homeassistant/amd64-hassio-supervisor                        "/init"                  About an hour ago   Up 48 minutes                                           hassio_supervisor



202409
docker run -d --name hassio_supervisor  启动后,下载并启动了下面的容器

docker ps -a
[code]CONTAINER ID   IMAGE                                                      COMMAND               CREATED       STATUS       PORTS                                   NAMES
8908ccfe4c24   ghcr.io/home-assistant/qemux86-64-homeassistant:2024.9.3   "/init"               3 hours ago   Up 3 hours                                           homeassistant
d0667c7df7ec   ghcr.io/home-assistant/amd64-hassio-multicast:2024.03.0    "/init"               6 hours ago   Up 6 hours                                           hassio_multicast
6b36de7842ca   ghcr.io/home-assistant/amd64-hassio-observer:2023.06.0     "/usr/bin/observer"   6 hours ago   Up 6 hours   0.0.0.0:4357->80/tcp, :::4357->80/tcp   hassio_observer
acaa63f9ade0   ghcr.io/home-assistant/amd64-hassio-audio:2023.12.0        "/init"               6 hours ago   Up 6 hours                                           hassio_audio
6b680c8e1836   ghcr.io/home-assistant/amd64-hassio-dns:2024.04.0          "/init"               7 hours ago   Up 7 hours                                           hassio_dns
f9bcefd8a645   ghcr.io/home-assistant/amd64-hassio-cli:2024.09.0          "/init"               7 hours ago   Up 7 hours
0
2 个月 前
#46611 引用
hassos 启动顺序

1.debian 12 操作启动

2.docker hassio_supervisor 启动

3. hassio_supervisor 下载一些add on,日志如下:


docker logs -f hassio_supervisor


Fetching update data from https://version.home-assistant.io/stable.json
Downloading docker image http://ghcr.io/home-assistant/amd64-hassio-cli with tag 2024.09.0
Downloading docker image ghcr.io/home-assistant/amd64-hassio-dns with tag 2024.04.0
0
1 个月 前
#46654 引用
20241007 - Install   OS Agent
系统提示要安装这个
The OS Agent is pre-installed with the Home Assistant Operating System
https://github.com/home-assistant/os-agent

wget https://github.com/home-assistant/os-agent/releases/download/1.6.0/os-agent_1.6.0_linux_x86_64.deb

sudo dpkg -i os-agent_1.6.0_linux_x86_64.deb



test

gdbus introspect --system --dest io.hass.os --object-path /io/hass/os
node /io/hass/os {
  interface org.freedesktop.DBus.Introspectable {
    methods:
      Introspect(out s out);
    signals:
    properties:
  };
  interface org.freedesktop.DBus.Properties {
    methods:
      Get(in  s interface,
          in  s property,
          out v value);
      GetAll(in  s interface,
             out a{sv} props);
      Set(in  s interface,
          in  s property,
          in  v value);
    signals:
      PropertiesChanged(s interface,
                        a{sv} changed_properties,
                        as invalidates_properties);
    properties:
  };
  interface io.hass.os {
    methods:
    signals:
    properties:
      @org.freedesktop.DBus.Property.EmitsChangedSignal("invalidates")
      readonly s Version = '1.6.0';
      @org.freedesktop.DBus.Property.EmitsChangedSignal("true")
      readwrite b Diagnostics = false;
  };
};

0