Skip to content

BeardedTinker/Home-Assistant_Config

Repository files navigation



Each commit is automaticlly verified with GitHub CI - where it's tested against Current installed version, Latest, Dev and Beta release. RemarkLint and YAML is also checked.

Contents

Intro

Here you can find all of the configuration files from my Home Assistant installation - main system or if you prefer to call it production enviroment. Updates are pushed whenever there is a change and I do try to work on the system as much as time allows. But lately it's been slow
I wish to thank all of the Home Assistant community for being inspiration for lot of the things I did here.
I tried to list original authors of the code or parts of the code I used, but if something is missing, I appologise.

YouTube Channel?

A lot of integrations and automations have videos on my YouTube channel - neraly 400 videos, with at least 250 of them being Home Assistant How To's.

If you want to get in touch, you can always find me on Discord Server - BeardedHome.

Also, if you have time you can try and join me while streaming and there should be at 1 or 2 streams each month!

Note Do you want to support me, you can do so by becoming my YouTube Channel member - just click link here and select one of the membership levels - or go to my merchandise store and get something there!

Hardware

Heart of my smart home is Home Assistant OS running in Virtual Machine on Synology DSM920+ - DSM version 6.2.4.

Plugged in Synology is Zigbee USB CC2652RB stick from slae.sh with Zigbee2mqtt firmware from Koenkk (Latest available firmware).

And yes, it does have extra RAM installed for total of 20GB RAM.

From other devices that I use, here is a list:

IKEA DEVICES
  • IKEA TRADFRI remote control (E1524/E1810)
  • IKEA TRADFRI ON/OFF switch (E1743)
  • IKEA TRADFRI control outlet (E1603/E1702)
  • IKEA TRADFRI various bulbs of all sizes and shapes (LED1545G12, LED1623G12, LED1650R5, LED1536G5, LED1649C5, LED1736G9)
  • IKEA TRADFRI shortcut (E1812)
XIAOMI DEVICES
SHELLY DEVICES

Plus some Shelly devices that are waiting installation and/or testing:

  • Shelly Uno
  • Shelly UV light
  • Shelly Plus 1
  • Shelly Plus 1PM
SWITCHBOT DEVICES
SMART SPEAKERS, DISPLAYS AND SIMILAR
HEATING
CAMERAS
OTHER INTEGRATED DEVICES

- Tile Mate 2020

AddOns

As I'm running this on Synology, I have mix of Docker containers and Home Assistant add-ons. Here is a list:

Add-ons:

  • Advanced SSH & Web Terminal
  • ESPHome - link
  • openWakeWorkd
  • Piper
  • Samba Backup - link
  • Samba share - link
  • Studio Code Server - link
  • Terminal & SSH - link
  • Uptime Kuma - link
  • Whisper
  • Zigbee2MQTT -link
  • ZigStar Silicon Labs FW Flasher
  • ZigStar TI CC2652P/P7 FW Flasher

Containers:

  • VaultWarden - opens source version of BitWarden as password manager
  • Grafana - only used currently for Storj node status
  • MQTT - used by all Zigbee devices, some Shelly devices, printing and more
  • Portainer - for Docker management and monitoring
  • Prometheus - for Storj node data logging
  • Smokeping - tracking network device activity
  • Storagenode - Storj node for renting free space
  • Storj Exporter - exports statistics from node to Prometheus
  • UniFi controller - configuration and management of UniFi devices

Integrations

There are too many integrations to list them all, but some of the main ones are:

  • Telegram for notifications and control
  • Zigbee2MQTT for controlling (and now also updating) my Zigbee devices
  • Google for integration with Google Assistant and various Home devices
  • Synology for Surveillence station and Synology system statistics & info
  • HACS - Home Assistant Community Store - for even more custom components and plugins etc...

Following is a list of active Integrations that are visible at Configuration->Integration page:

  • AccuWeather
  • AirVisual
  • Alexa Media Player
  • Android Debug Bridge
  • Android TV Remote
  • Anniversaries
  • Apple TV
  • Battery Note (*)
  • Blitzortung (HACS)
  • Certificate Expiry
  • Cloudflare
  • ColorExtractor
  • Discord
  • DLNA server
  • Electricity maps
  • Elgato Key Light
  • ESPHome
  • FAst.com (*)
  • Forcast Solar
  • Generic camera
  • GitHub
  • GDACS
  • Google Assistant
  • Google Assistant SDK
  • Google Calendar
  • Google Cast
  • Google Sheets
  • HACS
  • HASS Agent
  • Home Assistant Supervisor
  • HomeKit Devices
  • iBeacon Tracker
  • International Space Station
  • Internet Printing Protocol
  • Jellyfin
  • Launch library
  • LG webOS Smart TV
  • Met.No
  • Mikrotik
  • Minecraft Server
  • MJPEG IP Camera
  • Mobile App
  • Moon
  • MQTT
  • Network UPS Tool
  • Nuki lock
  • ONVIF
  • OpenUV
  • OurGroceries (*)
  • Ping (*)
  • PowerCalc
  • Radio Browser
  • Reolink IP/NVR Camera
  • Season
  • Sensor Community
  • Shelly
  • Shopping List
  • Sonos
  • SpeedTest
  • Sun
  • SwitchBot
  • Synology DSM
  • Tado
  • Thread
  • Tile
  • Tuya Local
  • Twitch
  • UniFi Network
  • Uptime
  • Uptime Kuma
  • Version
  • Voice over IP
  • Watchman
  • Withings
  • WLED on QuinLED Dig-Uno boards
  • Workday
  • Wyoming Protocol
  • Xiaomi BLE
  • Xiaomi Miio
  • yTubeMusic

(*) marks new since last update

Folder and files

Insipred by Franck I've broken my configuration in various files.

It looks overwhelming at first, but when you get the hang of it, this structure is much easier to maintain and find something. Also disabeling parts of the integrations is just a rename away :)

Counters

Up-to-date count of various things in Home Assistant

Type Count
Alerts 4
Automations 193
Binary sensors 321
Cameras 15
Climates 17
Counters 4
Device trackers 163
Entities 4017
Groups 17
Image Processing 0
Input Boolean 19
Input Date/Time 29
Input Number 8
Input Select 8
Input Text 7
Lights 49
Lines of code (YAML) 102141
Locks 7
Media players 31
Persons 6
Plants 9
Rest commands 13
Scripts 23
Sensors 2394
Switches 190
Timers 4
Utility Meters 5
Vacuums 1
Weather 3
  • Updated: 07.01.2024 11:00 AM

Missing files

Due to privacy, security,... some files are not included as well as some folders.

Here is a list of them sorted:

Missing folders

  • www/community

Missing files

Warning Even if you don't make your configuration private - please use secrets.yaml file to store all your application credentials if needed for Home Assistant.

Most of the missing files now have sample version. This is edited version with "fake" information, so you are able to reuse code.

  • ip_bans.yaml - could contain IP addresses - added SAMPLE
  • secrets.yaml - contains credentials and some private infos - added SAMPLE
  • known_devices.yaml - contains indentifiers - added SAMPLE
  • customize.yaml - contains private information - added SAMPLE
  • facebox-*.yaml - contains information for face recognition - added SAMPLE
  • google_calendars.yaml - contains private information - added SAMPLE
  • telegram_gps_response_andrej.yaml - contains identifiers - added SAMPLE
  • telegram_gps_response_luka.yaml - contains identifiers
  • telegram_gps_response_mirta.yaml - contains identifiers

Also missing are certificates, json files, cookies,...