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
-
Enable advanced mode under profile settings
-
Configure MQTT with:
Variable Value Broker
eclipse-mosquitto
Port
1883
Username
mqtt
Password
Use value of MQTT_PASSWORD
from Customization -
Open Zigbee2mqtt dashboard on port
8124
and 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 Home
intregrations listed here. The hostname is the project name -
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 Token
See ...
Defaults -
UniFi Networks
Variable Value Track network clients
true
Include wired network clients
false
Track network devices (Ubiquiti devices)
false
...
Defaults
-
Add all devices to areas
-
Restart that
homeassistant
configurations 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
.env
file
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 |