Skip to content

GraemeF/home-automation

Repository files navigation

Home Automation

This monorepo houses projects that can be used to automate your home.

Open your Home Assistant instance and show the add add-on repository dialog with this repository URL pre-filled.

Add-ons

This repository contains the following add-ons:

Combine TRVs with external temperature sensors to heat your home more efficiently.

Development

This monorepo uses Turborepo for task orchestration and caching.

Building Docker Images

Build Docker images from the repository root using the following commands:

Deep Heating (combined socketio + web):

docker build -f packages/deep-heating/Dockerfile -t deep-heating:latest .

Deep Heating SocketIO (standalone):

docker build -f packages/deep-heating-socketio/Dockerfile -t deep-heating-socketio:latest .

Deep Heating Web (standalone):

docker build -f packages/deep-heating-web/Dockerfile -t deep-heating-web:latest .

All Dockerfiles use turbo prune to create optimized multi-stage builds with proper caching layers.

Multi-platform builds

To build for multiple platforms (e.g., ARM64 for Raspberry Pi and AMD64):

docker buildx build --platform linux/amd64,linux/arm64 \
  -f packages/deep-heating/Dockerfile \
  -t your-registry/deep-heating:latest \
  --push .

Using npm scripts

npm run docker:build:deep-heating      # Build combined image
npm run docker:build:socketio          # Build socketio standalone
npm run docker:build:web               # Build web standalone
npm run docker:build:all               # Build all images

Development Tasks

  • npm run build - Build all packages
  • npm run test - Run all tests
  • npm run lint - Lint all packages
  • npm run dev - Start development servers
  • npm run serve - Serve built packages

About

Control your Hive heating with Hue sensors

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •