Skip to content

marcushowarth/homeassistant

Repository files navigation

Home Automation Stack 🏡

Docker Home Assistant Zigbee2MQTT Mosquitto MariaDB Ubuntu

🔗 Home Assistant Intro

A good intro/background to our setup can be found here

🔗 Home Assistant Automation Summaries

A categorized breakdown of key automations in this Home Assistant setup:

  • 📈 Energy Automations
    High-level automations for managing battery charging, grid import/export settings, and tariff-based behavior using Octopus Flux and PV forecasts to limit overnight charge levels using .

  • ⏰ Schedules Automations
    Time-based routines for indoor and outdoor lighting, appliances (e.g. dishwasher, Firestick), and seasonal behaviors like Christmas lights.

  • 💡 Switches Automations
    Motion-activated and context-aware control of lights, fans, and other smart switches throughout the home, often with dynamic brightness or temperature-based logic.

  • 💡 Scripts
    Making the most of Free Electricity sessions or handy tasks like turning off the garden lights at bedtime.

🔗 Notes


Home Assistant, Mosquitto MQTT, and Zigbee2MQTT Setup

This project runs a Home Automation stack using Docker Compose.
It includes:

  • 🏡 Home Assistant – Main home automation platform
  • 📡 Mosquitto – MQTT broker
  • 🧠 Zigbee2MQTT – Zigbee network manager and bridge

🐳 Docker Compose Services

Service Purpose URL
Home Assistant Main dashboard and automations http://farmington:8123
Mosquitto MQTT MQTT broker for Zigbee and HA MQTT on farmington:1883
Zigbee2MQTT Zigbee device controller + UI http://farmington:8080

📋 How to Use

# Start everything
docker compose up -d

# Stop everything
docker compose down

# See running containers
docker compose ps

# View logs (live follow)
docker compose logs -f

# Pull updated images
docker compose pull

# Restart a single service
docker compose restart zigbee2mqtt

About

backup of my HA config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published