SunFounder TS-10 10.1-inch Touch Screen
Here will introduce how to use the container environment to install and run Home Assistant. We recommend using
Docker as the container environment. The way to install Docker is very simple, just run the following commands.
curl
-
fsSL https:
//
get
.
docker
.
com
-
o get
-
docker
.
sh
sudo sh get
-
docker
.
sh
Note:
You can see more details in
Install Docker Engine on Debian
Install Home Assistant
After installing the container environment, if you are using
Raspberry Pi 3
, run the following commands to install
the Home Assistant.
sudo docker run
-
d \
--
name homeassistant \
--
privileged \
--
restart
=
unless
-
stopped \
-
e TZ
=
MY_TIME_ZONE \
-
v
/
home
/
pi
/
homeassistant:
/
config \
--
network
=
host \
ghcr
.
io
/
home
-
assistant
/
raspberrypi3
-
homeassistant:stable
If you are using
Raspberry Pi 4
, run the following commands to install the Home Assistant.
sudo docker run
-
d \
--
name homeassistant \
--
privileged \
--
restart
=
unless
-
stopped \
-
e TZ
=
MY_TIME_ZONE \
-
v
/
home
/
pi
/
homeassistant:
/
config \
--
network
=
host \
ghcr
.
io
/
home
-
assistant
/
raspberrypi4
-
homeassistant:stable
Note:
For more details, please see
Install Home Assistant Container
Start the Home Assistant Service
After the installation is complete, you can run the following command to start Home Assistant.
sudo docker start homeassistant
Use the following command to close Home Assistant.
sudo docker stop homeassistant
Restart Home Assistant with the following command.
sudo docker restart homeassistant
Enter Home Assistant Page
Now you can enter
http://<localhost>:8123
in the browser to enter the Home Assistant operation interface.
For example, my Raspberry Pi IP is 192.168.6.136, then visit
http ://192.168.6.136:8123
.
Note:
5.4. Home Assistant
53
Summary of Contents for TS-10
Page 1: ...SunFounder TS 10 10 1 inch Touch Screen www sunfounder com Nov 19 2021 ...
Page 2: ......
Page 6: ...SunFounder TS 10 10 1 inch Touch Screen 2 CONTENTS ...
Page 9: ...SunFounder TS 10 10 1 inch Touch Screen 5 ...
Page 10: ...SunFounder TS 10 10 1 inch Touch Screen 6 Chapter 1 HARDWARE DESCRIPTION ...
Page 16: ...SunFounder TS 10 10 1 inch Touch Screen 12 Chapter 2 INSTALL THE RASPBERRY PI OS ...
Page 21: ...SunFounder TS 10 10 1 inch Touch Screen pi 3 Step 5 17 ...
Page 141: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 137 ...
Page 165: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 161 ...
Page 167: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 163 ...
Page 181: ...SunFounder TS 10 10 1 inch Touch Screen 5 7 Scratch Projects 177 ...
Page 209: ...SunFounder TS 10 10 1 inch Touch Screen 205 ...
Page 210: ...SunFounder TS 10 10 1 inch Touch Screen 206 Chapter 7 3D PRINTED SUPPORT ...
Page 212: ...SunFounder TS 10 10 1 inch Touch Screen 208 Chapter 8 FAQ ...