Skip to content

2 ‐ Installation

Robert Peters edited this page Aug 13, 2025 · 1 revision

Installation

At this moment only installation using Docker is supported.

Docker

image: robertpeters/homeassistantstatemachine:dev (On Docker Hub)

The image has 2 settings of interest; port and settings folder. Default the port is 3080 to access the application (http) To store your settings outside the docker container (as you should ;-) ) you add a volume setting. The volume to map is /app/Setting

Example:

    ports:
      - "3080:3080"
    volumes:
      - ./Docker:/app/Settings

sample docker-compose.yml file that includes Home Assistant container:

services:
  hasm:
    image: robertpeters/homeassistantstatemachine:dev
    environment:
      - TZ=Europe/Amsterdam
    ports:
      - "3080:3080"
    volumes:
      - ./Docker:/app/Settings

  ha:
    image: ghcr.io/home-assistant/home-assistant:stable
    container_name: ha
    volumes:
      - ./Docker/ha:/config
    ports:
      - "8123:8123"
    restart: unless-stopped
    privileged: true

Clone this wiki locally