2024年11月22日星期五 上午12:22:06

4.init first

9 个月 前
#28415 引用
create multi area  at first start for docker ha

  modified:   .storage/core.area_registry



https://github.com/mslycn/Home-AssistantConfig20221103/commit/9c27667ad6003a42d20fd8bd96021d9656ce34b6
0
9 个月 前
#28416 引用
create first living  zone

  modified:   .storage/core.restore_state


https://github.com/mslycn/Home-AssistantConfig20221103/commit/1ab257a82d8e3ca9081c19b965a2d4feb25ceaac



0
9 个月 前
#28417 引用
create multi zone

  modified:   .storage/core.entity_registry
  new file:   .storage/zone

https://github.com/mslycn/Home-AssistantConfig20221103/commit/9439ec2efc7516ff4b5bc092c96ca3e8294ee0bb
0
9 个月 前
#28419 引用
Add devices


ADD Broadlink Smart Plug SP4L-CN 30056 by Broadlink Integration

  
modified:   .storage/auth
  modified:   .storage/core.config_entries
  modified:   .storage/core.device_registry
  modified:   .storage/core.entity_registry
  modified:   .storage/core.restore_state


https://github.com/mslycn/Home-AssistantConfig20221103/commit/61981d41e1d1725b776a382d76de658e4830af78
0
9 个月 前
#28422 引用
add Yeelight Ceil26 0x1c5c4959 by Yeelight Integration by Broadlink Integration for docker ha

  
modified:   .storage/auth
  modified:   .storage/core.config_entries
  modified:   .storage/core.device_registry
  modified:   .storage/core.entity_registry
  modified:   .storage/core.restore_state


https://github.com/mslycn/Home-AssistantConfig20221103/commit/a3457b18bd231990434e41ff6e02f176cae93e62

rename to Yeelight Ceil26 0x1c5c4959 by Yeelight Integration in   Yeelight Integration

  
modified:   .storage/core.config_entries
  modified:   .storage/core.restore_state



https://github.com/mslycn/Home-AssistantConfig20221103/commit/e7e196424c368b2ade84a08012da434a9f5a5820


man rename light.192.168.2.103 to light.yeelight_ceil26_0x1c5c4959 in core.entity_registry by Yeelight Integration by Broadlink Integration for docker ha


https://github.com/mslycn/Home-AssistantConfig20221103/commit/7ead258f71f735e5c379e460cf276cd77a558169
0
9 个月 前
#28427 引用
Docker Discovery
http://localhost:4999/boards/topic/20881/discovery-not-possible-because-the-docker-container#28424

http://localhost:4999/boards/topic/15671/docker-cli/page/2#28426

设备不能自动发现,docker 调整为--networdk=host解决




docker run -d --name ha \
-v /home/homeassistant20221103:/config \
--network=host \
ghcr.io/home-assistant/home-assistant:stable



root@raspberrypi:/home# docker stop ha
ha
root@raspberrypi:/home# docker rm ha
ha
root@raspberrypi:/home# docker run -d --name ha \
-v /home//homeassistanttest:/config \
--network=host \
ghcr.io/home-assistant/home-assistant:stable
8183e84b4b1219e1244f33e7490a051cc62a0e9f95b109fc666905b82ccc199f
root@raspberrypi:/home# docker ps -a
CONTAINER ID   IMAGE                                                     COMMAND                  CREATED          STATUS                      PORTS                                         NAMES
8183e84b4b12   ghcr.io/home-assistant/home-assistant:stable              "/init"                  13 seconds ago   Up 12 seconds                                                             ha
7e692ecaa83b   ghcr.io/home-assistant/home-assistant:stable              "/init"                  23 hours ago     Exited (255) 23 hours ago                                                 ha2
e98a88812a99   ghcr.io/home-assistant/home-assistant:stable              "/init"                  45 hours ago     Up 17 hours                 0.0.0.0:58123->8123/tcp, :::58123->8123/tcp   hadocker
cbb03ce5bf23   ghcr.io/home-assistant-libs/python-matter-server:stable   "matter-server --sto…"   3 days ago       Up 23 hours                                                               matter-server
root@raspberrypi:/home# docker logs ha
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun home-assistant (no readiness notification)
s6-rc: info: service legacy-services successfully started
2024-01-23 20:48:59.958 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
0
9 个月 前
#28428 引用
change docker rm ha to docker run --network=host

  modified:   .storage/auth
  modified:   .storage/core.config_entries
  modified:   .storage/core.device_registry
  modified:   .storage/core.entity_registry
  modified:   .storage/core.restore_state

0
9 个月 前
#28440 引用
move devices  run ok

moved:   .storage/core.config_entries
moved:   .storage/core.device_registry
moved:   .storage/core.entity_registry
0
9 个月 前
#28441 引用
move input boolean configuration.yaml  first core 2024.1.5

https://github.com/mslycn/Home-AssistantConfig20221103/commit/f72563ad6f34e7c4e68a5fe604846d1a48ea7014
0
9 个月 前
#28442 引用
create new dashboard named with "new"

  
modified:   .storage/auth
  modified:   .storage/core.config_entries
  modified:   .storage/core.restore_state
  new file:   .storage/lovelace.dashboard_new
  new file:   .storage/lovelace_dashboards


.storage/lovelace_dashboards

{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace_dashboards",
  "data": {
    "items": [
      {
        "id": "dashboard_new",
        "show_in_sidebar": true,
        "title": "new",
        "require_admin": true,
        "mode": "storage",
        "url_path": "dashboard-new"
      }
    ]
  }
}




.storage/lovelace.dashboard_new


{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace.dashboard_new",
  "data": {
    "config": {
      "views": [
        {
          "title": "Home"
        }
      ]
    }
  }
}




https://github.com/mslycn/Home-AssistantConfig20221103/commit/dec99cfa57e5ccc3ae052812222f6e15803f6828
0