/HomeAssistantConfig

My Home Assistant Configuration. Feel free to :star: my repo if you found something useful here =)

Primary LanguagePythonThe UnlicenseUnlicense

Home Assistant

Here you can find my Home Assistant configuration and some information about used hardware and software.
Feel free to contact me by Telegram if you have any further questions.

Some screenshots (slightly outdated) from my HA can be found here.


На русском языке ряд тем более подробно описаны здесь.


Hardware

Servers:
(Mostly for work with media and AI (Frigate, Double-Take, Plex, PhotoPrism)

Storage:
(As well as VM and containers host, main HA VM also lives here)

UPS:

  • APC SmartUPS 1500 (SMT1500I)
    Integration "Network UPS Tools (NUT)"

Network:

Main site (city apartment):

  • Keenetic Peak (KN-2710) as Router, WiFi Mesh Controller, DNS and DHCP Servers
    and Wireguard VPN Server\Client
    2 WAN with automatic failover
    Also as Device Tracker via "Keenetic NDMS2 Routers"

  • Keenetic Voyager Pro (KN-3510) as Access Points in WiFi Mesh Network x3
    with Keenetic PoE+ Adapters (KN-4510)

  • Switch TP-Link TL-SG116E

  • Switch D-Link DGS-1008A/B1 for slow clients

Remote site (country house):

  • Huawei E5372 as LTE Modem with 4G Antenna (Baltic Signal OMEGA)
    Integration "Huawei LTE"

  • Keenetic Giga KN-1010 as Router, WiFi Mesh Controller, WireGuard VPN Client and Access Point

  • Keneetic Speedster KN-3010 as Access Point in WiFi Mesh Network

ZigBee/BT Gateways:

  • Sonoff ZBDongle-E
    Used by "Zigbee Home Automation (ZHA)" and "Thread" integration (Milti-PAN firmware & Silicon Labs Multiprotocol Add-on)

  • Sonoff ZBDongle-P
    Used by "Zigbee2MQTT"

  • Xiaomi Multi-Mode Gateway 2 (Hub 2) EU (DMWG03LM, lumi.gateway.mgl001)
    Integration "Xiaomi Gateway 3" by AlexxIT and "Zigbee2MQTT"

  • ESP32 D1 Mini with bluetooth_proxy component x5
    Integration "ESPHome"

  • M5Stack ATOM Lite ESP32 with bluetooth_proxy component
    Integration "ESPHome"

  • UGREEN CM109 (CSR8510A10) USB BT 5.0 Dongle
    Integration "Bluetooth"

  • Phoscon ConBee 2 by Dresden Elektronik
    Not used for now

  • Aqara Hub E1 (ZHWG16LM)
    Not used for now

  • Xiaomi Gateway 2 (DGNWG02LM, lumi.gateway.v3)
    Not used for now

  • Xiaomi Gateway 3 (ZNDMWG03LM, lumi.gateway.mgl03)
    Not used for now

WiFi Devices:

  • Relays:

    • Sonoff MINI & MINI R2
      Integration "Sonoff LAN" by AlexxIT & ESPHome

    • Sonoff Basic R2 flashed to ESPHome
      Integration "ESPHome"

    • eWelink DIN rail Switch with Energy Meter (SMT002, Coolkit PSF-X67)
      Integration "Sonoff LAN" by AlexxIT

    • Sonoff POW R3 16D Elite flashed to ESPHome
      Integration "ESPHome"

  • Plugs:

    • TP-Link HS110
      Integration "TP-Link Kasa Smart"

    • Xiaomi Mi Smart Plug EU (ZNCZ05CM)
      Integration "Xiaomi Miio"

    • Gosund SP111 flashed to ESPHome
      Integration "ESPHome"

    • BroadLink SP4L-EU
      Integration "Broadlink", not used for now.

  • Light:

    • Yeelight LED Color Bulb (YLDP03YL, yeelink.light.color3)
      Integration "Yeelight"

    • Yeelight LED Color Bulb 1S (YLDP13YL, yeelink.light.color2)
      Integration "Yeelight"

    • Yeelight Lightstrip Plus + Extension (YLDD04YL + YLOT01YL, yeelink.light.strip2)
      Integration "Yeelight"

    • Xiaomi Mi Desk Lamp (MJTD01YL, yeelink.light.lamp1)
      Integration "Yeelight"

  • Other

    • Xiaomi Smartmi Zhimi Air Humidifier 2 (CJXJSQ02ZM, zhimi.humidifier.ca1)
      Integration "Xiaomi Miio"

    • Xiaomi Mi Robot Vacuum Cleaner 1S (SDJQR03RR, roborock.vacuum.m1s)
      Integration "Xiaomi Miio"

    • Xiaomi Dafang 1080p (ZRM4040RT) flashed to Xiaomi DaFang Hacks
      Via go2rtc and "RTSPtoWebRTC" integration

    • Reolink RLC-510A
      Via go2rtc, "RTSPtoWebRTC" and "Reolink IP NVR/camera"

    • Tuya SmartIR Remote (UFO-R1 and similar) flashed to ESPHome
      Integration "ESPHome"

    • Analog intercom integrated via custom board based on ESP8266 and ESPHome
      Integration "ESPHome"

    • Shelly EM
      Integration "Shelly"

ZigBee Devices:

  • Relays:

    • Aqara Wireless Relay (LLKZMK11LM, lumi.relay.c2acn01)
    • Sonoff ZBMINI
  • Plugs:

    • MiJia Smart Power Plug 2 (ZNCZ02LM, lumi.plug)
    • BlitzWolf SHP13 (BW-SHP13, TS0121)
    • BlitzWolf SHP15 (BW-SHP15, TS011F)
    • Tuya NAS-WR01B (TS011F)
  • Light:

    • IKEA TRÅDFRI LED Bulb E14 400lm (LED1649C5, ikea.light.led1649c5)
    • IKEA TRÅDFRI LED Bulb E14 470lm (LED1835C6)
    • IKEA TRÅDFRI LED Bulb E14 600lm (LED1738G7)
    • IKEA TRÅDFRI LED Bulb E27 806lm (LED1836G9)
    • IKEA TRÅDFRI LED Bulb E27 1000lm (LED1732G11)
  • Switches:

    • MiJia Wireless Switch (WXKG01LM, lumi.sensor_switch)
    • Aqara Wireless Switch with Gyroscope (WXKG12LM, lumi.sensor_switch.aq3)
    • IKEA TRÅDFRI ON/OFF Switch (E1743)
    • IKEA TRÅDFRI Remote control (E1524)
    • IKEA STYRBAR Remote control (E2002)
  • Sensors:

    • MiJia Door & Window Sensor (MCCGQ01LM, lumi.sensor_magnet)
    • Aqara Door & Window Sensor (MCCGQ11LM)
    • MiJia Occupancy Sensor (RTCGQ01LM, lumi.sensor_motion)
    • Aqara Occupancy Sensor (RTCGQ11LM, lumi.sensor_motion.aq2)
    • MiJia Humidity & Temperature Sensor (WSDCGQ01LM, lumi.sensor_ht)
    • Aqara Humidity & Temperature Sensor (WSDCGQ11LM, lumi.weather)
    • Aqara Water Immersing Sensor (SJCGQ11LM, lumi.sensor_wleak.aq1)
    • MiJia Honeywell Gas Leak Detector (JTQJ-BF-01LM/BW, lumi.sensor_natgas.v1)
    • MiJia Light Sensor (GZCGQ01LM, lumi.sen_ill.mgl01)
    • Trust Motion Sensor (ZPIR-8000)
    • IKEA TRÅDFRI Motion Sensor (E1745)
    • TuYa Human Breathe Sensor (ZY-M100-S_2, TS0601, _TZE204_qasjif9e)
  • Other:

    • Aqara Cube (MFKZQ01LM, lumi.sensor_cube.aqgl01)
    • IKEA TRÅDFRI Repeater (E1746)
    • MoesHouse Blinds Drive (AM43-0.45/40-ES-EB, TS0601)

Bluetooth Devices:

  • Sensors:

    • Xiaomi TH Sensor 2 (LYWSD03MMC, miaomiaoche.sensor_ht.t2) with custom FW
      Integration "BTHome"

    • Xiaomi TH Digital Clock (LYWSD02MMC, miaomiaoche.sensor_ht.t1)
      Integration "Xiaomi BLE"

    • Qingping Air Monitor Lite (CGDN1)
      Integration "Qingping"

    • HHCC Flower Care (HHCCJCY01HHCC)
      Integration "Xiaomi BLE"

  • Other:

    • Mi Body Composition Scale 2 (NUN4048GL)
      Integration "ESPHome" (via xiaomi_miscale platform)

    • NUT Find3 Smart Tracker
      Integration "iBeacon", not used for now

    • Holyiot iBeacon\Eddystone Trackers
      Via ESPHome ble_tracker component

Media Players:

  • Google Chromecast (Gen 1)
    Integration "Google Cast"

  • Google Chromecast (Gen 3)
    Integration "Google Cast"

  • Google Home Mini
    Integration "Google Cast"

  • Yandex Station Lite
    Integration "Yandex.Station" by AlexxIT

  • Yandex Station Mini-2
    Integration "Yandex.Station" by AlexxIT

  • Samsung TV Series 5 (ES, 2012 model year)
    Integration "Samsung Smart TV"

  • Samsung TV Series 7 (RU, 2019 model year)
    Integration "Samsung Smart TV"

  • Plex Media Server
    Integration "Plex Media Server"

Other:

Software

Servers:

  • NUC10:

  • NUC7:

    • Ubuntu Server 24.04 LTS
    • QEMU + KVM + libvirt
    • Docker
    • Containers:
      • Watchtower
      • Minecraft
      • NetBox

Storage:

  • DSM 7.2
  • Virtual Machine Manager
  • Photos
  • Download Station
  • acme.sh
  • Containers:
    • Watchtower
    • Portainer
    • Nextcloud
    • PostgeSQL
    • Redis
    • OnlyOffice
    • Imaginary
    • Vaultwarden
    • Zabbix
    • MySQL
    • Grafana
    • Torrserver
    • vlmcsd

Used DBs:

  • MariaDB
  • MySQL
  • PostgeSQL
  • InfluxDB

Used HA Add-ons:

  • ESPHome
  • Grafana
  • InfluxDB
  • MariaDB
  • Mosquitto broker
  • SSH & Web Terminal
  • Visual Studio Code
  • Glances
  • phpMyAdmin
  • Silicon Labs Multiprotocol
  • Multipan Flasher
  • Zigbee2MQTT (Multiple instances)
  • Matter Server
  • Frigate Proxy

Mobile Apps:

  • Home Assistant official app on Android
    Also as Device Tracker via "Mobile App"

  • OwnTracks
    As Device Tracker via integration "OwnTracks"