2024年11月24日星期日 上午5:56:15

Installing Home Assistant docker via VMWare Player 17 on windows10

11 个月 前
#23994 引用
Installing Home Assistant docker via VMWare Player 17 on windows10

My desktop PC running by windows10
0
11 个月 前
#23995 引用
Installation type : Home Assistant Container

Installed version

Windows10
VMWare Player 17
Debian12

Home Assistant Container :  core-2023.12.1
0
11 个月 前
#23996 引用
1
0
11 个月 前
#23997 引用
20231212
debian12:/home/husband# sudo docker pull ghcr.io/home-assistant/home-assistant:stable

0
11 个月 前
#23998 引用


docker run -d --name="ha" -e "TZ=Europe/Sofia" -v "/homeassistant:/config" -p 8123:8123 ghcr.io/home-assistant/home-assistant:stable


docker restart 0b53a0356e8f
0
11 个月 前
#23999 引用
http://192.168.2.3:8123/config/repairs



## System Information

version | core-2023.12.1
-- | --
installation_type | Home Assistant Container
dev | false
hassio | false
docker | true
user | root
virtualenv | false
python_version | 3.11.6
os_name | Linux
os_version | 6.1.0-10-amd64
arch | x86_64
timezone | Asia/Shanghai
config_dir | /config

<details><summary>Home Assistant Cloud</summary>

logged_in | false
-- | --
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok

</details>

<details><summary>Dashboards</summary>

dashboards | 1
-- | --
resources | 0
mode | auto-gen

</details>

<details><summary>Recorder</summary>

oldest_recorder_run | 2023年12月12日 21:46
-- | --
current_recorder_run | 2023年12月13日 05:46
estimated_db_size | 0.16 MiB
database_engine | sqlite
database_version | 3.41.2

</details>


0
11 个月 前
#24000 引用
home assistant docker is managed in the file called “/config”  “/homeassistant”,


/homeassistant



@debian12:/home/husband# cd /homeassistant
root@debian12:/homeassistant# ls -l
total 784
-rw-r--r-- 1 root root      2 Dec 12 12:46 automations.yaml
drwxr-xr-x 4 root root   4096 Dec 12 12:46 blueprints
-rw-r--r-- 1 root root    265 Dec 12 12:46 configuration.yaml
drwxr-xr-x 2 root root   4096 Dec 12 12:46 deps
-rw-r--r-- 1 root root      0 Dec 12 12:46 home-assistant.log
-rw-r--r-- 1 root root      0 Dec 12 12:46 home-assistant.log.1
-rw-r--r-- 1 root root      0 Dec 12 12:46 home-assistant.log.fault
-rw-r--r-- 1 root root   4096 Dec 12 12:46 home-assistant_v2.db
-rw-r--r-- 1 root root  32768 Dec 12 12:55 home-assistant_v2.db-shm
-rw-r--r-- 1 root root 737512 Dec 12 12:55 home-assistant_v2.db-wal
-rw-r--r-- 1 root root      0 Dec 12 12:46 scenes.yaml
-rw-r--r-- 1 root root      0 Dec 12 12:46 scripts.yaml
-rw-r--r-- 1 root root    161 Dec 12 12:46 secrets.yaml
drwxr-xr-x 2 root root   4096 Dec 12 12:46 tts


0
11 个月 前
#24001 引用
1
0
11 个月 前
#24002 引用
docker ps -a



root@debian12:/homeassistant#  docker ps -a
CONTAINER ID   IMAGE                                            COMMAND   CREATED          STATUS                   PORTS                                       NAMES
0b53a0356e8f   ghcr.io/home-assistant/home-assistant:stable     "/init"   17 minutes ago   Up 17 minutes            0.0.0.0:8123->8123/tcp, :::8123->8123/tcp   ha

0
11 个月 前
#24003 引用

sudo docker stop [CONTAINER ID ]

sudo docker stop 0b53a0356e8f


output

root@debian12:/homeassistant# sudo docker stop 0b53a0356e8f

0b53a0356e8f
root@debian12:/homeassistant#  docker ps -a
CONTAINER ID   IMAGE                                            COMMAND   CREATED          STATUS                      PORTS     NAMES
0b53a0356e8f   ghcr.io/home-assistant/home-assistant:stable     "/init"   19 minutes ago   Exited (0) 11 seconds ago             ha
0