Uploaded January 2026 | Updated September 2026, 3 weeks ago
Example IP server 192.168.1.2
Web browser
https://192.168.1.2:8123 home assistant
https://192.168.1.2:9443 portainer
http://192.168.1.2:6052 esphome
http://192.168.1.2:61208 Glances monitoring
Repurpose your S905X2 or S905X Android TV box into a high-performance Home Automation hub. In this guide, we install Armbian Trixie, set up Docker and Portainer, and deploy Home Assistant and ESPHome Containers.
Service Port Description
Home Assistant 8123 Main Automation UI
Portainer 9443 Container Management
ESPHome 6052 DIY Device Dashboard
SSH 22 Command Line Access
00:00 Download Armbian OS
00:29 Select Android TV models
00:46 S905X2-hg680fj for S905X2
00:51 S905X-b850h for S905X
01:02 Download Armbian Trixie
01:03 Copy to MicroSD
01:22 Put microSD boot Android TV
01:39 microSD can boot
01:52 IP Android TV
02:01 Putty Terminal
02:09 Setup Armbian First Time
03:03 Install Program Armbian
Type armbian-software
03:3`Install docker (101)
Code 101
04:32 Install Portaner SSL NO (102)
04:52 N (Locally)
Option :
usermod -aG docker $USER
05:39 install Home Assistant via Portainer
Ex https://192.168.1.2:9443
05:54 Add Password (12 characters)
06:14 Add Home Assistant
Go to Stacks, add name homeassistant, put web editor below
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /home/admin/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
07:23 Setup Home Assistant First Time
07:51 Install ESPHome, via stacks
Add script below
Note, set path, data will save in this folder.
version: '3'
services:
esphome:
container_name: esphome
image: ghcr.io/esphome/esphome
volumes:
- /home/admin/esphome/config:/config
- /etc/lo caltime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host
08:55 Open ESPHome web
http://192.168.1.2:6052
09:10 Add ESPHome builder to Dashboard
10:26 HACS on Home Assistant
Example user name admin
Go to folder
/home/admin/homeassistant
type cd /home/admin/homeassistant
add this
wget -O - https://get.hacs.xyz | bash -
11:56 Reboot Home Assistant
12:09 Add HACS Menu
Settings - Devices & Services.
+ Add Integration
HACS
12:40 Open Github login
Login, and Add Authorize HACS with Copy Paste the Code.
12:54 Install Glances Monitoring
services:
glances:
image: nicolargo/glances:latest
container_name: glances
restart: always
network_mode: host
pid: host
environment:
- GLANCES_OPT=-w
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./glances/conf:/glances/conf
Armbian Command
-- View folder command
pwd
- View list file / folder
ls
- Change folder
cd
Info Web and download Armbian for Android TV
github.com/ophub/amlogic-s9xxx-armbian/releases
Using a TV box with an S905X2 is an efficient way to reuse hardware.
However, since you aren't using the dedicated HAOS
Install Armbian Trixie
Armbian (Trixie): Provides a Linux base.
Being on the "Trixie" (testing) branch gives you access to newer Python versions and libraries, which is helpful for modern smart home integrations.
Include install Docker, Portainer, Program etc
Install Docker
Docker: Ensures that if one service (like ESPHome) , it doesn't take down your entire Home Assistant instance.
Install Container
Portainer: Acts as your "Command Center," giving you a GUI to manage containers without needing to memorize complex CLI strings.
Managing Home Assistant in a Container
In a Docker environment, Home Assistant runs in "Host Network Mode." This is crucial because HA needs to "see" your network to auto-discover devices like LIFX bulbs, Google Cast, or DLNA players.
Best Practices for Stability
Persistent Storage: Always map your /config directory to a specific folder on your Armbian host (e.g., /home/user/hass-config). This ensures your settings survive a container update.
Install Home Assistant Container
More easy install, via Portainer.
Install HACS
This is option, if you want add smart device.
HACS (Home Assistant Community Store)
HACS is even more vital. It allows you to add custom cards and integrations that aren't part of the official core.
GitHub Token: You will need a GitHub account to generate a Personal Access Token.
Install ESPHome
ESPHome: The Hardware Bridge
ESPHome - for creating your own sensors using ESP8266 or ESP32 chips.
The Dashboard: You should run ESPHome as a separate Docker container via Portainer.
OTA Updates: Once the first flash is done, you can update your sensors over-the-air (OTA) without ever plugging them into the TV box again.
Music
Jean Pierre Still Water
Daily Instrumental Indian Hip-Hop
DP The Best Caminhando_Ambiente
Example IP server 192.168.1.2
Web browser
https://192.168.1.2:8123 home assistant
https://192.168.1.2:9443 portainer
http://192.168.1.2:6052 esphome
http://192.168.1.2:61208 Glances monitoring
Repurpose your S905X2 or S905X Android TV box into a high-performance Home Automation hub. In this guide, we install Armbian Trixie, set up Docker and Portainer, and deploy Home Assistant and ESPHome Containers.
Service Port Description
Home Assistant 8123 Main Automation UI
Portainer 9443 Container Management
ESPHome 6052 DIY Device Dashboard
SSH 22 Command Line Access
00:00 Download Armbian OS
00:29 Select Android TV models
00:46 S905X2-hg680fj for S905X2
00:51 S905X-b850h for S905X
01:02 Download Armbian Trixie
01:03 Copy to MicroSD
01:22 Put microSD boot Android TV
01:39 microSD can boot
01:52 IP Android TV
02:01 Putty Terminal
02:09 Setup Armbian First Time
03:03 Install Program Armbian
Type armbian-software
03:3`Install docker (101)
Code 101
04:32 Install Portaner SSL NO (102)
04:52 N (Locally)
Option :
usermod -aG docker $USER
05:39 install Home Assistant via Portainer
Ex https://192.168.1.2:9443
05:54 Add Password (12 characters)
06:14 Add Home Assistant
Go to Stacks, add name homeassistant, put web editor below
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /home/admin/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
07:23 Setup Home Assistant First Time
07:51 Install ESPHome, via stacks
Add script below
Note, set path, data will save in this folder.
version: '3'
services:
esphome:
container_name: esphome
image: ghcr.io/esphome/esphome
volumes:
- /home/admin/esphome/config:/config
- /etc/lo caltime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host
08:55 Open ESPHome web
http://192.168.1.2:6052
09:10 Add ESPHome builder to Dashboard
10:26 HACS on Home Assistant
Example user name admin
Go to folder
/home/admin/homeassistant
type cd /home/admin/homeassistant
add this
wget -O - https://get.hacs.xyz | bash -
11:56 Reboot Home Assistant
12:09 Add HACS Menu
Settings - Devices & Services.
+ Add Integration
HACS
12:40 Open Github login
Login, and Add Authorize HACS with Copy Paste the Code.
12:54 Install Glances Monitoring
services:
glances:
image: nicolargo/glances:latest
container_name: glances
restart: always
network_mode: host
pid: host
environment:
- GLANCES_OPT=-w
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./glances/conf:/glances/conf
Armbian Command
-- View folder command
pwd
- View list file / folder
ls
- Change folder
cd
Info Web and download Armbian for Android TV
github.com/ophub/amlogic-s9xxx-armbian/releases
Using a TV box with an S905X2 is an efficient way to reuse hardware.
However, since you aren't using the dedicated HAOS
Install Armbian Trixie
Armbian (Trixie): Provides a Linux base.
Being on the "Trixie" (testing) branch gives you access to newer Python versions and libraries, which is helpful for modern smart home integrations.
Include install Docker, Portainer, Program etc
Install Docker
Docker: Ensures that if one service (like ESPHome) , it doesn't take down your entire Home Assistant instance.
Install Container
Portainer: Acts as your "Command Center," giving you a GUI to manage containers without needing to memorize complex CLI strings.
Managing Home Assistant in a Container
In a Docker environment, Home Assistant runs in "Host Network Mode." This is crucial because HA needs to "see" your network to auto-discover devices like LIFX bulbs, Google Cast, or DLNA players.
Best Practices for Stability
Persistent Storage: Always map your /config directory to a specific folder on your Armbian host (e.g., /home/user/hass-config). This ensures your settings survive a container update.
Install Home Assistant Container
More easy install, via Portainer.
Install HACS
This is option, if you want add smart device.
HACS (Home Assistant Community Store)
HACS is even more vital. It allows you to add custom cards and integrations that aren't part of the official core.
GitHub Token: You will need a GitHub account to generate a Personal Access Token.
Install ESPHome
ESPHome: The Hardware Bridge
ESPHome - for creating your own sensors using ESP8266 or ESP32 chips.
The Dashboard: You should run ESPHome as a separate Docker container via Portainer.
OTA Updates: Once the first flash is done, you can update your sensors over-the-air (OTA) without ever plugging them into the TV box again.
Music
Jean Pierre Still Water
Daily Instrumental Indian Hip-Hop
DP The Best Caminhando_Ambiente










