Aller au contenu

Stack domotique

Domotique + MQTT + NVR. Fichier : compose/domotique/docker-compose.yml. Détail métier : Applicatif → Home Assistant, Frigate, Domotique/MQTT.

homeassistant — 172.16.0.4

  • Rôle : cœur domotique. Port : 8123homeassistant.tichnou.fr.
  • Bases : historique sur TimescaleDB / recorder (cf. recorder.yaml), LTSS/Scribe.
  • Webhooks reçus : /api/webhook/docker_unhealthy_alert (health-alerter), /api/webhook/raid_alert (raid-monitor).
  • MAJ : update-homeassistant.sh (rollback auto) — voir Mises à jour.
  • Mémoire Claude : ~/.claude/.../memory. Spécificités (volets, calibration pression Zigbee…) → page Home Assistant.

zigbee2mqtt — 172.16.0.5

  • Rôle : pont Zigbee ↔ MQTT. Port : 8080zigbee2mqtt.tichnou.fr. Publie sur emqx.
  • Clé USB Zigbee passée en devices: (voir compose). Surveillé par Gatus + Healthchecks.io.

emqx — 172.16.0.6

  • Rôle : broker MQTT. Ports : 1883 (MQTT), 18083 (dashboard → emqx.tichnou.fr).
  • Hub central : Z2M, ESPHome, Frigate, HA s'y connectent.

nodered — 172.16.0.7

  • Rôle : automatisations en flux. Port : 1880. Redis DB 2.

esphome — 172.16.0.19

  • Rôle : firmware capteurs ESP. Port : 6052esphome.tichnou.fr. Cache build dans cache/esphome/.

frigate — 172.16.0.25

  • Rôle : NVR détection IA. Ports : 8971/5000 (UI → frigate.tichnou.fr), RTSP/go2rtc 8554-8555.
  • GPU /dev/dri, enregistrements sur /mnt/frigate, reco faciale. Détail : Frigate.