๐ My Home Assistant backup ๐ค
cp .env.tmpl .env
# Update .env
# Update .sop.yaml to include the age public key id
docker compose up -d
| Container | Port |
|---|---|
| Home Assistant | 8123 |
| ESPHome | 6052 |
| Node-RED | 1880 |
| Code Server | 8443 |
| Uptime Kuma | 3001 |
| Portainer | 9443 |
| Dozzle | 8081 |
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- 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
- Copy
- 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
...
- Intel NUC NUC10i3FNK
- Samsung SmartThings Hub Gen3 (Z-Wave)
- SkyConnect (ZigBee)
- NooElec NESDR Mini 2 SDR & DVB-T USB Stick (RTL2832 + R820T2)
- Aeotec Range Extender 7 (Z-Wave)
- Minoston Z-Wave Outlet Mini Plug-in Socket
- Innr Zigbee Smart Plugs
- GE Enbrighten Z-Wave Plus Smart Light Switch
- Enbrighten 14298 Z-Wave Plus Plug-In Outdoor Smart Switch, Gen5
- Aeotec Recessed Door Sensor Gen5
- GE 12730 Z-Wave Smart Fan Control
- Aeon Labs Aeotec Z-Wave Door/Window Sensor, 2nd Edition
- Aqara Door and Window
- Enbrighten Zigbee Smart Light Switch Outdoor Plug-In
โThis project was started in 2023 by โNicholas Wildeโ.
