My home assistant setup.
·
Report Bug
·
Request Feature
·
This is my personal home assistant setup so it probably won't have much use for others. However, it may help someone.
-
Follow Customization
-
Install all dependencies using hacs-package-manager
hpm ci --haConfigPath="homeAssistantCore/" -
Configure home assistant
-
Login to cloud
-
Setup backup or restore from backup
-
Enable advanced mode under profile settings
-
Configure MQTT with:
Variable Value Brokereclipse-mosquittoPort1883UsernamemqttPasswordUse value of MQTT_PASSWORDfrom Customization -
Open Zigbee2mqtt dashboard on port
8124and rejoin all devices listed in configuration.yaml (Host differs from the Home assistant instance)
- For EnOcean switches press the button corisponding to the zigbee channel (default should be upper right) for 10 seconds.
-
Add all
ESP Homeintregrations listed here. The hostname is the project name -
Add
digital-alchemyuser and create a long live token and add it to env. -
Add all desired autodiscovered integrations:
-
Google Cast
-
Mobile App
-
Go to Mobile App setting
-
Add Homenetwork SSID
-
Setup URLs
-
-
OctoPrint
-
Sonos
-
CO2 Signal
Variable Value Access TokenSee ...Defaults -
UniFi Networks
Variable Value Track network clientstrueInclude wired network clientsfalseTrack network devices (Ubiquiti devices)false...Defaults
-
Add all devices to areas
-
Restart that
homeassistantconfigurations take effect -
Configure persons to your liking:
-
Profile picture
-
Device tracking
-
device_tracker.oneplus_a5000 -
device_tracker.oneplus5
-
-
delete unused areas
-
Setup Google Assistant
-
Setup BLE devices
- Create a
.envfile
touch .env- Overwrite variables as you like (format:
{variable name}={variable value})
| Variable | Description | Default value | Required |
|---|---|---|---|
POSTGRES_USER |
Postgres user | homeAssistantCore |
false |
POSTGRES_PASSWORD |
Postgres password | none | true |
POSTGRES_DB |
Postgres DB name | homeAssistantCore |
false |
HOME_ASSISTANT_IP |
Ip of the home assistant instance matching to SUBNET |
none | true |
MDNS_REFLECTOR_IP |
Ip of the mDNS reflector matching to SUBNET |
none | true |
LAN_NETWORK_DEVICE |
Network device to use for macvlan driver | none | true |
SUBNET |
Subnet for host network | none | true |
ZIGBEE_KEY |
See Change Zigbee network encryption key | none | true |
ZIGBEE2MQTT_AUTH_TOKEN |
Auth token for the Zigbee2MQTT frontend. See advanced-configuration | none | true |
ZIGBEE_USB_DEVICE |
USB Zigbee dongle | /dev/ttyACM0 |
false |
LATITUDE |
See | none | true |
LONGITUDE |
See | none | true |
MQTT_PASSWORD |
MQTT broker password | none | true |
HASS_TOKEN |
HomeAssistant Long Live Token token | none | true |