Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Dockerfile.appdaemon
README.md
config_prep.sh
customize.yaml
docker-compose.yml
requirements-appdaemon.txt
scripts.yaml
secrets.yaml
state_setter.py

README.md

home-automation-configs/testing

This directory provides some tools and configuration related to testing my custom code on a local system instead of my actual homeassistant/appdaemon/zoneminder machine.

While I run home-assistant and appdaemon installed in virtualenvs for my real install, this uses docker for ease and simplicity. It requires docker-compose.

Usage

Before Running docker-compose, run ./config_prep.sh.

  • Run services: docker-compose up -d
    • HASS will be available at http://localhost:8123 from a container named "hass"
    • AppDaemon will be in a container named "appdaemon"
  • See what's running: docker-compose ps
  • Get a shell in the HASS container: docker-compose exec hass /bin/sh
  • Restart HASS: docker-compose restart hass
  • View Logs: docker-compose logs [-f] [hass|appdaemon]
  • Stop everything: docker-compose down

Use state_setter.py to set initial states and update states. Requires requests.