Git Product home page Git Product logo

hassio_config's Introduction

Home Assistant / HASS.io personal config Travis Status


My personal Home Assistant configuration. Used for control, measure, process and automate almost everything in the house.

What's here

  • Control over a lot of Hue lights and one Yeelight, a bunch of Etekcity RF outlets, a Xiaomi vacuum cleaner, some IP cameras, some SONOff apliances with custom firmware, multiple notification components, device trackers and cloud services.
  • A lot of ESP32 boards running custom firmware doing lot of things like controlling lights, electrical covers, the AC or the water heater, and measuring movement, temperature, humidity, light level and even electrical power. These communicate with HA over MQTT with QOS2 messages.
  • KODI in a RPI3b+ (LibreElec flavour) controlling the TV and the Home cinema over CEC.
  • A QNAP NAS with Container Station (:= docker) running multiple services (Influx, Grafana, Pi-hole and some custom SaaS)
  • More nerd stuff.
  • ...

How's organized

  • The hass.io instance runs in one dedicated, ethernet-connected, Raspberry PI 3, with some sensors attached and backup power supply.
  • Running as hass.io addons in that machine there are some other pieces of the puzzle:
    • AppDaemon running some apps like a Telegram Bot, a custom alarm clock, and much more.
    • Homebridge to publish some of the HA entities to HomeKit and talk to the house.
    • LAN access to the machine via secure SSH and authorized Samba.
    • Let's Encrypt certs with NO-IP service for WAN public access.
    • Mosquitto MQTT broker.
    • NGINX reverse proxy to properly access to HA and other SaaS from WAN.
  • In a QNAP NAS with a x64 processor and enough RAM, with the 'Container Station' app, I run docker to exec there other precious services as:
    • InfluxDB to accumulate all data the system is making (and play with it later).
    • Grafana to plot beautiful real-time graphs for everything.
    • MotionEye to control video streams for IP cams and process motion detection on them.
    • Other databases like MySQL (for the Kodi Media Library) and Mongo (for other projects), Redis, custom SaaS and more...

There are many addons that could just run in the little RPI3, but for SD endurance I prefer to outsource some. Next step for HA/Hass.io has to be docker swarm compatibility!

Because my HomeAssistant configuration is huge, it is splitted over multiple yaml files, and I am also using the packages technique to group components by room, by type or even by function. You can find here examples for AppDaemon apps, python scripts, automations, custom components, an interactive floorplan (awesome project!) and even the first tries with the new Lovelace UI, so, please, serve yourself.

Screenshots

Some screenshots of the frontend:

Home view

Kodi Control view

Weather view

Electricity view

hassio_config's People

Contributors

azogue avatar

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.