Skip to content

Latest commit

 

History

History
452 lines (387 loc) · 12 KB

README.md

File metadata and controls

452 lines (387 loc) · 12 KB

HomeAssistant personal config

From 🇺🇾 to 🌎 !

This is a project focused on sharing ideas and solutions for the use of Home Assistant and home automation in general. I am currently running Docker on the Mini Intel Nuc Celeron J3455 8gb 1tb.

I will update my configuration files regularly. If you like what you see, feel fre to ⭐ my repo!

Stars Last Commit Commit activity Maintenance

HA Version Mosquitto Version VSCode Version MariaDB Version

Objectives

  • Energy saving
  • Cheap home automation
  • Simple user interface
  • Daily use automations to simplify the routine

Table of Contents

Screenshots

Dashboard - Home

Dashboard home 1

Dashboard - Personal

Dashboard personal

  • Device tracker
  • Phone status (location, battery, battery state, geocode and connected WiFi network)
  • WIP: Shopping list

Dashboard - Power consumption

Dashboard Power Consumption

  • Online power consumptions cost ($)
  • Online power consumptions (Home, AC, WaterHeater and Refrigerator)
  • Home power consumption (today, yesterday, week and month)
  • AC power consumption (today and yesterday)
  • WaterHeater power consumption (today and yesterday)
  • Refrigerator power consumption (today and yesterday)
  • Last 24h chart of power cnsumptions with max/min values

Dashboard - Tablet

Dashboard Tablet

Photos

Tablet

Dashboard Tablet

  • Wall mounted Tablet with Fully Kiosk Browser running HomeAssistant
  • Using tablet camera as security camera
  • Motion sensor with tablet camera
  • Automatic display on/off with motion sensor

Software

  • Docker server with Portainer
  • Mosquitto MQTT server to communicate with devices
  • MariaDB database to save all information
  • VSCode server to code in browser
  • ADB server to communicate with AndroidTV devices
  • HomeKit Bridge to make HomeAssistant entities available on Apple HomeKit

Devices

Quantity Device Use
1 drawing

Intel NUC J3455

Ubuntu server running Docker

2 drawing

Google Home Mini

Voice Assistant

1 drawing

Echo show

Voice Assistant

2 drawing

LED strip controller

Lights

2 drawing

Mi Box S

TV

1 drawing

Mi WiFi 3

WiFi router

1 drawing

RM mini

IR Blaster

1 drawing

PZEM

Home power meter

3 drawing

Sonoff POW

Switch / Power meter

4 drawing

Sonoff

Switch

1 drawing

Sonoff wall 2 gang

Lights switch

1 drawing

Wemos

Generic

1 drawing

Xiaomi Bulb

Light

2 drawing

Xiaomi button

Action button

2 drawing

Xiaomi door sensor

Door sensor

3 drawing

Xiaomi motion sensor

Motion sensor

2 Xiaomi temperature sensor

Xiaomi temperature/humidity sensor

Temperature and humidity sensor

1 Sniffer

CC2531 USB

Sniffer - Zigbee to MQTT

1 Yi dome camera

Yi Dome 1080p

Camera and movement detection

1 Sonoff 4ch

Sonoff 4 channel

4 channel switch

1 Sonoff 4ch

Tablet Fire 7

Dashboard mounted on wall with etsy wall mount

1 Sonoff 4ch

Xiaomi Aqara cube

Remote controller

1 Aqara temperature

Aqara temperature/humidity sensor

Outside temperature and humidity

1 Xiaomi vacuum

Xiaomi Mi Robot Vacuum-Mop Pro

Clean

1 Shelly 2.5

Shelly 2.5 double relay

Roller Shutter

Automations

Most important automations

Notify when the water heater is ready

Go to code!

Automation trigger

Every time Water Heater is turned on, this automation turns on. The Water Heater has a power meter. When this power meter reads 0w and the switch is on, this automations trigers. This automation only run if time is between 09:00HS and 05:00HS.

Automation tasks

  • Play on Google Home with TTS
  • Text notification with Telegram
Notify power consumption daily

Go to code!

Automation trigger

Every day at 23:59HS

Automation tasks

Notify power consumption monthly

Go to code!

Automation trigger

Last day of month at 23:59HS

Automation tasks

  • Notify month power consuption to Telegram
Notify when front door is open

Go to code!

Automation trigger

Front door sensor ON

Automation tasks

Secrets

You can find a complete list of secrets used on this project here.

ToDo list

  • Dashboard on Amazon Fire 7 tablet with Fully Kiosk Browser
  • Aqara cube automations
  • Hack motorized roller blind (433MHz)
  • Rain sensor
  • Add scenes
  • Improve ADB server to control TVs (open APPs, volume, turn on/off)
  • Hardware Topology
  • Add zigbee router/repeater to improve signal
  • Multi-room audio system
  • Add records to InfluxDB

Authors

Joaquin Beceiro