Skip to content

cmbuckley/home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant

Scripts for smart home. Almost everything is managed via Home Assistant in ha directory, with some other legacy/ancilliary scripts elsewhere.

To Do

Script the following:

  • Update (below)
    • Should do regular updates, ideally with a canary image and testing the config against the new version
  • Nightly backups of DB

Other Things

Updating

Some useful commands, not necessarily in this order:

# if tearing things down and backing up
docker-compose down
docker rm homeassistant
cp -r ha ha-bak
docker commit -p $(docker ps -f name=homeassistant -q) homeassistant-backup
docker save homeassistant-backup | gzip > homeassistant.tar.gz

# standard update
docker-compose pull
docker-compose up -d --remove-orphans
docker logs -f homeassistant
docker system prune -a

About

Home Assistant

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages