Skip to content

nicholaswilde/home-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

home-assistant

pre-commit task

๐Ÿ  My Home Assistant backup ๐Ÿค–

screenshot


๐Ÿš€ ย  TL;DR

cp .env.tmpl .env
# Update .env
# Update .sop.yaml to include the age public key id
docker compose up -d

๐Ÿ”Œ ย  Ports

Container Port
Home Assistant 8123
ESPHome 6052
Node-RED 1880
Code Server 8443
Uptime Kuma 3001
Portainer 9443
Dozzle 8081

๐Ÿ”‘ ย  SOPS

SOPS is used to encrypt files that contain secrets. The encrypted copy of the file ends in *.enc.

# sops-age = lpass entry name
# att-2571789250549588435-38084 = lpass attach id of keys.txt in sops-age entry
mkdir -p ~/.config/sops/age
lpass show sops-age --attach=att-2571789250549588435-38084 -q > ~/.config/sops/age/keys.txt
# or
age-keygen -o ~/.config/sops/age/keys.txt
sops -e --input-type yaml --output-type yaml ./ha/secrets.yaml > ./ha/secrets.yaml.enc
sops -d --input-type yaml --output-type yaml ./ha/secrets.yaml.enc > ./ha/secrets.yaml

๐Ÿ“ ย  Notes

  • My setup is using the UI Lovelace Minimalist theme.
  • Remove unwanted entities - Development tools โ†’ Services โ†’ recorder.purge_entities
  • Remove ZHA device
    • Copy Settings โ†’ Devices & services โ†’ Zigbee Home Automation โ†’ <Device> โ†’ Device info โ†’ Zigbee info โ†’ IEEE
    • Development tools โ†’ Services โ†’ zha.remove
  • Debug rtl_433 - Settings โ†’ Devices & services โ†’ MQTT โ†’ Configure โ†’ Listen to a topic โ†’ rtl_433/# โ†’ Start listening
  • List all entities Template โ†’ {{ states | map(attribute='entity_id') | list | join('\n') }}
lsusb
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
# /etc/udev/rules.d/99-rtl433.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", SYMLINK+="rtl433"
# compose.yaml
...
services:
  rtl433:
    devices:
      - /dev/rtl433:/dev/bus/usb/001/003
...

๐Ÿ› ๏ธ ย  Hardware


โ€‹:balance_scale:โ€‹ย โ€‹ License

โ€‹โ€‹Apache License 2.0


โ€‹:pencil:โ€‹ย โ€‹ Author

โ€‹This project was started in 2023 by โ€‹Nicholas Wildeโ€‹.

About

๐Ÿ  My Home Assistant backup ๐Ÿค–

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published