sman97 / Home-Assistant_Config

BeardedTinker Home Assistant configuration. Feel free to browse, edit, tweak, improve, criticize and suggest.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



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 - almost 300 videos as of Today, with at least 200 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 If 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 (August 5th: Still haven't updated to latest 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:

  • ESPHome - link - Rhasspy Junior - link
  • Samba share - link
  • Samba Backup - link
  • Studio Code Server - link
  • Terminal & SSH - link
  • Uptime Kuma - link
  • Zigbee2MQTT -link

Containers:

  • VaultWarden - opens source version of BitWarden as password manager - Facebox - used for face recognition
  • Grafana - only used currently for Storj node status - InfluxDB - not active
  • MQTT - used by all Zigbee devices, some Shelly devices, printing and more - Node-RED - not used anymore
  • 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
  • influxDB - storing data generated by Home Assistant
  • OctoPrint - to see what my Ender 3 Pro 3D printer is doing etc...

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

  • AccuWeather
  • AirVisual
  • Alexa Media Player
  • Android TV
  • Anniversaries
  • Blitzortung (HACS)
  • Certificate Expiry
  • CO2Signal - COVID-19
  • Discord
  • DLNA server - Dwains Dashboard
  • Elgato Key Light
  • ESPHome
  • Forcast Solar
  • Garbage collection
  • Generic camera
  • GitHub
  • GDACS
  • Google Assistant SDK
  • Google Assistant
  • Google Calendar
  • Google Cast
  • Google Sheets
  • HACS
  • HASS Agent
  • Home Assistant Supervisor
  • HomeKit controller
  • iBeacon
  • International Space Station
  • Internet Printing Protocol
  • Launch library
  • LG TV
  • Met.No - Local Tuya
  • Mikrotik
  • Minecraft Server
  • MJPEG IP Camera
  • Mobile App
  • Mold Risk Index
  • Moon
  • MQTT - Music Assistant
  • Network UPS Tool
  • Nuki
  • ONVIF
  • OpenUV
  • PowerCalc
  • Radio Browser
  • Reolink
  • Season
  • Sensor Community
  • Shelly
  • Shopping List
  • Sonos - SpaceX
  • SpeedTest
  • Sun
  • SwitchBot
  • Synology DSM
  • Tado
  • Tile - Tuya
  • Tuya Local
  • Ubiquity UniFi
  • Uptime Kuma
  • Uptime
  • Version
  • Watchan
  • Withings
  • WLED on QuinLED Dig-Uno boards
  • Xiaomi BLE
  • Xiaomi Miio
  • yTubeMusic

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 318
Cameras 15
Climates 15
Counters 4
Device trackers 154
Entities 3688
Groups 17
Image Processing 0
Input Boolean 19
Input Date/Time 29
Input Number 8
Input Select 8
Input Text 7
Lights 51
Lines of code (YAML) 107524
Locks 5
Media players 40
Persons 6
Plants 8
Rest commands 13
Scripts 23
Sensors 2209
Switches 174
Timers 4
Utility Meters 5
Vacuums 1
Weather 3
  • Updated: 30.07.2023 11:30 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,...

About

BeardedTinker Home Assistant configuration. Feel free to browse, edit, tweak, improve, criticize and suggest.

License:MIT License


Languages

Language:Python 63.2%Language:JavaScript 35.2%Language:C++ 1.7%