Giter Site home page Giter Site logo

avbor / homeassistantconfig Goto Github PK

View Code? Open in Web Editor NEW
70.0 5.0 25.0 82.22 MB

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

Home Page: https://simple-ha.ru

License: The Unlicense

Python 92.52% JavaScript 7.06% C++ 0.41% Jinja 0.01%
home-assistant-config home-assistant home-automation xiaomi homeassistant-config homeassistant smart-home homeautomation esphome esphome-config

homeassistantconfig's Introduction

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

  • 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 22.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"

homeassistantconfig's People

Contributors

avbor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homeassistantconfig's Issues

Problem with daikin_ir.h integration

Hey man, thank you so much for making your configuration public, I was trying to integrate the daikin_ir.h file with esphome, i copied your smartir configuration, and I tried to compile the file, but I get an error;
In file included from src/main.cpp:54: src/daikin_ir_v2.h:11:5: error: 'sensor' does not name a type 11 | sensor::Sensor *sensor_{nullptr}; | ^~~~~~ src/daikin_ir_v2.h:13:21: error: 'sensor' has not been declared 13 | void set_sensor(sensor::Sensor *sensor) { this->sensor_ = sensor; } | ^~~~~~ src/daikin_ir_v2.h:13:36: error: expected ',' or '...' before '*' token 13 | void set_sensor(sensor::Sensor *sensor) { this->sensor_ = sensor; } | ^ src/daikin_ir_v2.h: In member function 'void DaikinAC::set_sensor(int)': src/daikin_ir_v2.h:13:53: error: 'class DaikinAC' has no member named 'sensor_' 13 | void set_sensor(sensor::Sensor *sensor) { this->sensor_ = sensor; } | ^~~~~~~ src/daikin_ir_v2.h:13:63: error: 'sensor' was not declared in this scope; did you mean 'Sensor'? 13 | void set_sensor(sensor::Sensor *sensor) { this->sensor_ = sensor; } | ^~~~~~ | Sensor src/daikin_ir_v2.h: In member function 'virtual void DaikinAC::setup()': src/daikin_ir_v2.h:17:17: error: 'class DaikinAC' has no member named 'sensor_' 17 | if (this->sensor_) { | ^~~~~~~ src/daikin_ir_v2.h:18:15: error: 'class DaikinAC' has no member named 'sensor_' 18 | this->sensor_->add_on_state_callback([this](float state) { | ^~~~~~~ src/daikin_ir_v2.h:22:43: error: 'class DaikinAC' has no member named 'sensor_' 22 | this->current_temperature = this->sensor_->state; | ^~~~~~~ src/daikin_ir_v2.h: In member function 'virtual esphome::climate::ClimateTraits DaikinAC::traits()': src/daikin_ir_v2.h:106:53: error: 'class DaikinAC' has no member named 'sensor_' 106 | traits.set_supports_current_temperature(this->sensor_ != nullptr); | ^~~~~~~ *** [/data/ac-cucina/.pioenvs/ac-cucina/src/main.cpp.o] Error 1

That's my configuration;
`
esphome:
name: ac-cucina
friendly_name: AC-Cucina
includes:
- include/daikin_ir_v2.h
libraries:
- IRremoteESP8266
esp8266:
board: esp01_1m

logger:

api:
encryption:
key:

ota:
password:

wifi:
ssid:
password:

ap:
ssid: "Ac-Cucina Fallback Hotspot"
password: "HrxpWj1hmHnY"

captive_portal:

remote_receiver:
id: ir_receiver
pin:
number: GPIO14
inverted: True
mode:
input: true
pullup: true
tolerance: 55%
dump: all

remote_transmitter:
id: ir_transmit
pin: GPIO4
carrier_duty_percent: 50%

climate:

  • platform: custom
    lambda: |-
    auto my_daikinac = new DaikinAC();
    App.register_component(my_daikinac);
    return {my_daikinac};

    climates:

    • name: "Living Room AC"

`

Would you be so kind as to give me a little help?
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.