Skip to content

feat(home-automation): Add smart home stack with Home Assistant, Node-RED, etc.#334

Open
ljapptest-art wants to merge 1 commit intoillbnm:masterfrom
ljapptest-art:feature/home-automation-stack
Open

feat(home-automation): Add smart home stack with Home Assistant, Node-RED, etc.#334
ljapptest-art wants to merge 1 commit intoillbnm:masterfrom
ljapptest-art:feature/home-automation-stack

Conversation

@ljapptest-art
Copy link

Implements Issue #7 - Home Automation Stack.

Services (5 total)

  • Home Assistant 2024.9.3 (smart home hub, host network)
  • Node-RED 4.0.3 (visual programming)
  • Mosquitto 2.0.19 (MQTT broker)
  • Zigbee2MQTT 1.40.2 (Zigbee gateway)
  • ESPHome 2024.9.3 (ESP firmware)

Features

  • Home Assistant host network for mDNS discovery
  • Mosquitto with WebSocket support
  • Zigbee2MQTT auto-discovery
  • ESPHome OTA updates
  • Health checks for all services

Validation

  • ✅ YAML syntax verified
  • ✅ Image versions match Issue requirements
  • ✅ 5 health checks configured

Closes #7

…-RED, etc.

- Docker Compose with exact versions per Issue illbnm#7:
  - ghcr.io/home-assistant/home-assistant:2024.9.3
  - nodered/node-red:4.0.3
  - eclipse-mosquitto:2.0.19
  - koenkk/zigbee2mqtt:1.40.2
  - ghcr.io/esphome/esphome:2024.9.3

- Services:
  - Home Assistant: Smart home hub (host network for mDNS)
  - Node-RED: Visual flow programming
  - Mosquitto: MQTT broker
  - Zigbee2MQTT: Zigbee gateway
  - ESPHome: ESP device firmware management

- Features:
  - Home Assistant uses network_mode: host for mDNS discovery
  - Mosquitto with WebSocket support
  - Zigbee2MQTT with device auto-discovery
  - ESPHome with OTA updates
  - Health checks for all services
  - Traefik reverse proxy (except Home Assistant)

Closes illbnm#7
@ljapptest-art
Copy link
Author

✅ Test Results

Validation

Test Status
YAML syntax ✅ Pass
Zigbee2MQTT config ✅ Pass
Health checks ✅ 5 services

Image Versions (per Issue #7)

Service Required Actual Status
Home Assistant ghcr.io/home-assistant/home-assistant:2024.9.3 ghcr.io/home-assistant/home-assistant:2024.9.3
Node-RED nodered/node-red:4.0.3 nodered/node-red:4.0.3
Mosquitto eclipse-mosquitto:2.0.19 eclipse-mosquitto:2.0.19
Zigbee2MQTT koenkk/zigbee2mqtt:1.40.2 koenkk/zigbee2mqtt:1.40.2
ESPHome ghcr.io/esphome/esphome:2024.9.3 ghcr.io/esphome/esphome:2024.9.3

Acceptance Criteria

Criteria Status
5 services configured
Home Assistant host network
Health checks ✅ (5 services)
Zigbee device mapping
MQTT configuration
ESPHome privileged mode

Files

  • stacks/home-automation/docker-compose.yml (229 lines)
  • stacks/home-automation/.env.example (16 lines)
  • stacks/home-automation/README.md (312 lines)
  • config/mosquitto/mosquitto.conf (41 lines)
  • config/zigbee2mqtt/configuration.yaml (51 lines)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY $130] Home Automation — Home Assistant + Node-RED + Zigbee2MQTT

1 participant