bench2012 / HomeAssistantConfig

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 from my HA can be found here.


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


Hardware

Server:

  • Intel NUC NUC7PJYH:
    • CPU: Intel Pentium Silver J5005
    • RAM: 8 Gb
    • SD 64 Gb A2 (OS)
    • HDD 500 Gb (Data)

Network:

  • Router Keenetic Giga (KN-1010)
    2 WAN with automatic failover
    Also as Device Tracker via "Keenetic NDMS2 Routers"

  • Access Point Xiaomi Mi WiFi 3G (v1) flashed to OpenWRT
    ~35-40 wireless clients, generally 2.4Ghz - IoT, 5Ghz - mobile clients

  • Switch TP-Link TL-SG116E

ZigBee/BT Gateways:

  • Xiaomi Gateway 2 (DGNWG02LM, lumi.gateway.v3)
    Integration "Xiaomi Gateway (Aqara)"

  • Xiaomi Gateway 3 (ZNDMWG03LM, lumi.gateway.mgl03)
    Integration "Xiaomi Gateway 3" by AlexxIT & "Zigbee Home Automation (ZHA)"

WiFi Devices:

  • Relays:

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

    • Sonoff Basic R2 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"

  • 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
      Integrations "Generic Camera" & "MJPEG IP 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"

    • Xiaomi Xiao AI Smart Alarm Clock (AI01ZM, zimi.clock.myk01)
      Not used in HA

ZigBee Devices:

  • Relays:

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

    • MiJia Smart Power Plug 2 (ZNCZ02LM, lumi.plug)
  • Light:

    • Ikea TRÅDFRI LED Bulb E14 (LED1649C5, ikea.light.led1649c5)
  • Switches:

    • MiJia Wireless Switch (WXKG01LM, lumi.sensor_switch)
    • Aqara Wireless Switch with Gyroscope (WXKG12LM, lumi.sensor_switch.aq3)
  • Sensors:

    • MiJia Door & Window Sensor (MCCGQ01LM, lumi.sensor_magnet)
    • 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)
  • Other:

    • Aqara Cube (MFKZQ01LM, lumi.sensor_cube.aqgl01)

Bluetooth Devices:

  • Sensors:
    • Xiaomi TH Sensor 2 (LYWSD03MMC, miaomiaoche.sensor_ht.t2)
      Via Xiaomi Gateway 3

    • Xiaomi TH Digital Clock (LYWSD02MMC, miaomiaoche.sensor_ht.t1)
      Via Xiaomi Gateway 3

Media Players:

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

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

  • Google Home Mini
    Integration "Google Cast"

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

  • Samsung TV Series 7 (RU, 2019 model year)
    Integration "SamsungTV Tizen" by jaruba

  • Plex Media Server
    Integration "Plex Media Server"

Other:

  • Neptun Bugatti Base
    Via modified Xiaomi Magnet Sensors, Aqara 2ch Relay and Sonoff Mini for power control

  • SAURES R2 m3
    Integration "Integration Saures controllers with HA" by volshebniks

  • AC Daikin FTXB-C Series
    Via Tuya SmartIR flashed to ESPHome, IRremoteESP8266 lib and Xiaomi Magnet Sensors

  • Electrolux Centurio IQ 2.0 with ECH/WF-01 module
    Integration "Electrolux Remote" by Ailme

Software

Server:

  • Ubuntu Server 20.04 LTS
  • Home Assistant (KVM Virtual Machine)
  • Nginx

WiFi Access Point:

  • OpenWRT 19.07

Used DB:

  • MariaDB
  • InfluxDB

Used HA Add-ons:

  • ESPHome
  • Grafana
  • InfluxDB
  • MariaDB
  • Mosquitto broker
  • SSH & Web Terminal
  • Visual Studio Code
  • Loki
  • Promtail

Mobile Apps:

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

About

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

License:The Unlicense


Languages

Language:Python 89.4%Language:JavaScript 10.3%Language:C++ 0.3%