Compare commits
No commits in common. "main" and "1.6.0" have entirely different histories.
9 changed files with 16 additions and 138 deletions
5
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
5
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
|
@ -13,7 +13,7 @@ body:
|
|||
attributes:
|
||||
label: OS Version
|
||||
description: Please Insert the output of `lsb_release -d`
|
||||
placeholder: Debian GNU/Linux 12 (bookworm)
|
||||
placeholder: Debian GNU/Linux 11 (bullseye)
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
|
@ -21,7 +21,7 @@ body:
|
|||
attributes:
|
||||
label: System Information
|
||||
description: Please Insert the output of `uname -a`
|
||||
placeholder: 'Linux ha 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux'
|
||||
placeholder: 'Linux ha-su-deb 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux'
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
|
@ -59,7 +59,6 @@ body:
|
|||
- raspberrypi3-64
|
||||
- raspberrypi4
|
||||
- raspberrypi4-64
|
||||
- raspberrypi5-64
|
||||
- tinker
|
||||
validations:
|
||||
required: true
|
||||
|
|
4
.github/workflows/build-deb-pr.yml
vendored
4
.github/workflows/build-deb-pr.yml
vendored
|
@ -9,10 +9,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Build Debian Package in Docker
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/tmp debian:bookworm-slim bash -c \
|
||||
docker run --rm -v $(pwd):/tmp debian:bullseye-slim bash -c \
|
||||
"cd /tmp \
|
||||
&& chmod 555 homeassistant-supervised/DEBIAN/p* \
|
||||
&& dpkg-deb --build --root-owner-group homeassistant-supervised"
|
||||
|
|
6
.github/workflows/build-deb.yml
vendored
6
.github/workflows/build-deb.yml
vendored
|
@ -11,15 +11,15 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4.2.2
|
||||
uses: actions/checkout@v4.1.1
|
||||
- name: Build Debian Package in Docker
|
||||
run: |
|
||||
docker run --rm -v $(pwd):/tmp debian:bookworm-slim bash -c \
|
||||
docker run --rm -v $(pwd):/tmp debian:bullseye-slim bash -c \
|
||||
"cd /tmp \
|
||||
&& chmod 555 homeassistant-supervised/DEBIAN/p* \
|
||||
&& dpkg-deb --build --root-owner-group homeassistant-supervised"
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: homeassistant-supervised.deb
|
|
@ -1,62 +0,0 @@
|
|||
INSTALLAZIONE HOME ASSISTEANT SUPERVISED
|
||||
|
||||
seguire il github https://github.com/home-assistant/supervised-installer
|
||||
andare come utente root
|
||||
su -
|
||||
poi
|
||||
|
||||
apt install \
|
||||
apparmor \
|
||||
bluez \
|
||||
cifs-utils \
|
||||
curl \
|
||||
dbus \
|
||||
jq \
|
||||
libglib2.0-bin \
|
||||
lsb-release \
|
||||
network-manager \
|
||||
nfs-common \
|
||||
systemd-journal-remote \
|
||||
systemd-resolved \
|
||||
udisks2 \
|
||||
wget -y
|
||||
|
||||
e probabilmente vi verrà chiesto di riavviare per far funzionare NetworkManager al posto del normale programma di manager di debian
|
||||
|
||||
controllare che funzioni come scritto in https://wiki.debian.org/NetworkManager
|
||||
|
||||
nel file /etc/NetworkManager/NetworkManager.conf ci dovrà essere
|
||||
|
||||
[ifupdown]
|
||||
managed=false
|
||||
|
||||
altrimenti settare come definito nel sito
|
||||
|
||||
il precedente file di configurazione si trova
|
||||
/etc/network/interfaces
|
||||
|
||||
verificare se Docker-ce è installato con
|
||||
|
||||
docker -v
|
||||
|
||||
altrimenti installarlo con
|
||||
|
||||
curl -fsSL get.docker.com | sh
|
||||
|
||||
installare OS-Agent usando l'ultima versione da https://github.com/home-assistant/os-agent/releases/latest
|
||||
|
||||
wget https://github.com/home-assistant/os-agent/releases/download/1.6.0/os-agent_1.6.0_linux_aarch64.deb
|
||||
sudo dpkg -i os-agent_1.6.0_linux_aarch64.deb
|
||||
|
||||
wget -O homeassistant-supervised.deb https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
|
||||
BYPASS_OS_CHECK=true apt install ./homeassistant-supervised.deb
|
||||
|
||||
NOTE
|
||||
verificare i servizi in systemd di Home assistant
|
||||
|
||||
haos-agent.service Home Assistant OS Agent
|
||||
hassio-apparmor.service Hass.io AppArmor
|
||||
hassio-supervisor.service Hass.io supervisor
|
||||
|
||||
es
|
||||
systemctl status hassio-supervisor.service
|
64
README.md
64
README.md
|
@ -1,8 +1,6 @@
|
|||
# This installation method is for advanced users only
|
||||
|
||||
### Make sure you understand [the requirements](https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md)
|
||||
|
||||
qui il file semplificato [Hassio installer.txt](Hassio%20installer.txt)
|
||||
## Make sure you understand [the requirements](https://github.com/home-assistant/architecture/blob/master/adr/0014-home-assistant-supervised.md)
|
||||
|
||||
# Install Home Assistant Supervised
|
||||
|
||||
|
@ -21,7 +19,6 @@ Step 1: Install the following dependencies with this command:
|
|||
```bash
|
||||
apt install \
|
||||
apparmor \
|
||||
bluez \
|
||||
cifs-utils \
|
||||
curl \
|
||||
dbus \
|
||||
|
@ -36,44 +33,13 @@ udisks2 \
|
|||
wget -y
|
||||
```
|
||||
|
||||
If you haven't been using NetworkManager before, you might see instructions on how to let NetworkManager manage the current network interface.
|
||||
Step 2: Install Docker-CE with the following command:
|
||||
|
||||
### NetworkManager
|
||||
|
||||
probabilmente vi verrà chiesto di riavviare per far funzionare NetworkManager al posto del normale programma di manager di debian
|
||||
|
||||
controllare che funzioni come scritto in https://wiki.debian.org/NetworkManager
|
||||
|
||||
nel file ```/etc/NetworkManager/NetworkManager.conf``` ci dovrà essere
|
||||
|
||||
```
|
||||
[ifupdown]
|
||||
managed=false
|
||||
```
|
||||
|
||||
altrimenti settare come definito nel sito
|
||||
|
||||
il precedente file di configurazione si trova
|
||||
|
||||
```
|
||||
/etc/network/interfaces
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Step 2: Docker-CE:
|
||||
|
||||
verificare se è installato Docker-CE
|
||||
|
||||
```bash
|
||||
docker -v
|
||||
```
|
||||
altrimenti va installato
|
||||
```bash
|
||||
curl -fsSL get.docker.com | sh
|
||||
```
|
||||
|
||||
### Step 3: Install the OS-Agent:
|
||||
Step 3: Install the OS-Agent:
|
||||
|
||||
Instructions for installing the OS-Agent can be found [here](https://github.com/home-assistant/os-agent/tree/main#using-home-assistant-supervised-on-debian)
|
||||
|
||||
|
@ -83,12 +49,6 @@ Step 4: Install the Home Assistant Supervised Debian Package:
|
|||
wget -O homeassistant-supervised.deb https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
|
||||
apt install ./homeassistant-supervised.deb
|
||||
```
|
||||
Orange Pi5 Plus is not supported so you must use
|
||||
|
||||
```bash
|
||||
BYPASS_OS_CHECK=true apt install ./homeassistant-supervised.deb
|
||||
```
|
||||
|
||||
|
||||
## Supported Machine types
|
||||
|
||||
|
@ -107,7 +67,6 @@ BYPASS_OS_CHECK=true apt install ./homeassistant-supervised.deb
|
|||
- raspberrypi4
|
||||
- raspberrypi3-64
|
||||
- raspberrypi4-64
|
||||
- raspberrypi5-64
|
||||
- tinker
|
||||
- khadas-vim3
|
||||
|
||||
|
@ -125,20 +84,3 @@ DATA_SHARE=/my/own/homeassistant dpkg --force-confdef --force-confold -i homeass
|
|||
## Troubleshooting
|
||||
|
||||
If something's going wrong, use `journalctl -f` to get your system logs. If you are not familiar with Linux and how you can fix issues, we recommend to use our Home Assistant OS.
|
||||
|
||||
[](https://www.openhomefoundation.org/)
|
||||
|
||||
## NOTE
|
||||
|
||||
verificare i servizi in systemd di Home assistant
|
||||
|
||||
```haos-agent.service``` Home Assistant OS Agent
|
||||
|
||||
```hassio-apparmor.service``` Hass.io AppArmor
|
||||
|
||||
```hassio-supervisor.service``` Hass.io supervisor
|
||||
|
||||
es
|
||||
```
|
||||
systemctl status hassio-supervisor.service
|
||||
```
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
Package: homeassistant-supervised
|
||||
Section: base
|
||||
Version: 2.0.0
|
||||
Version: 1.6.0
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Pre-Depends: curl, bash, docker-ce, dbus, network-manager, apparmor, jq, systemd, os-agent, systemd-journal-remote, systemd-resolved
|
||||
Depends: bluez, cifs-utils, nfs-common
|
||||
Depends: curl, bash, docker-ce, dbus, network-manager, apparmor, jq, systemd, os-agent, systemd-journal-remote, systemd-resolved | systemd (>=247.3-7+deb11), nfs-common, cifs-utils
|
||||
Maintainer: Matheson Steplock <https://mathesonsteplock.ca/>
|
||||
Homepage: https://www.home-assistant.io/
|
||||
Description: Home Assistant Supervised
|
||||
|
|
|
@ -14,7 +14,7 @@ SERVICE_DOCKER="docker.service"
|
|||
SERVICE_NM="NetworkManager.service"
|
||||
|
||||
# Read infos from web
|
||||
URL_CHECK_ONLINE="https://checkonline.home-assistant.io/online.txt"
|
||||
URL_CHECK_ONLINE="checkonline.home-assistant.io"
|
||||
URL_VERSION="https://version.home-assistant.io/stable.json"
|
||||
HASSIO_VERSION=$(curl -s ${URL_VERSION} | jq -e -r '.supervisor')
|
||||
URL_APPARMOR_PROFILE="https://version.home-assistant.io/apparmor.txt"
|
||||
|
@ -65,7 +65,7 @@ info "Restarting docker service"
|
|||
systemctl restart "${SERVICE_DOCKER}"
|
||||
|
||||
# Check network connection
|
||||
while ! curl -q ${URL_CHECK_ONLINE} >/dev/null 2>&1 ; do
|
||||
while ! ping -c 1 -W 1 ${URL_CHECK_ONLINE}; do
|
||||
info "Waiting for ${URL_CHECK_ONLINE} - network interface might be down..."
|
||||
sleep 2
|
||||
done
|
||||
|
|
|
@ -12,7 +12,7 @@ warn ""
|
|||
|
||||
# Check if we are running on a supported OS
|
||||
BYPASS_OS_CHECK=${BYPASS_OS_CHECK:-false}
|
||||
supported_os=("Debian GNU/Linux 12 (bookworm)")
|
||||
supported_os=("Debian GNU/Linux 11 (bullseye)" "Debian GNU/Linux 12 (bookworm)")
|
||||
|
||||
CURRENT_OS=$(lsb_release -d | awk -F"\t" '{print $2}')
|
||||
os_supported=false
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Template: ha/machine-type
|
||||
Type: Select
|
||||
Choices: generic-x86-64, odroid-c2, odroid-c4, odroid-n2, odroid-xu, qemuarm, qemuarm-64, qemux86, qemux86-64, raspberrypi, raspberrypi2, raspberrypi3, raspberrypi4, raspberrypi3-64, raspberrypi4-64, raspberrypi5-64, tinker, khadas-vim3
|
||||
Choices: generic-x86-64, odroid-c2, odroid-c4, odroid-n2, odroid-xu, qemuarm, qemuarm-64, qemux86, qemux86-64, raspberrypi, raspberrypi2, raspberrypi3, raspberrypi4, raspberrypi3-64, raspberrypi4-64, tinker, khadas-vim3
|
||||
Description: Select machine type
|
||||
|
|
Loading…
Reference in a new issue