Nizzies Home Automation Efforts

From NURDspace
Nizzies Home Automation Efforts
Home-assistant.png
Participants Dennis
Skills 1337 Skillz
Status Active
Niche Electronics
Purpose Fun
Tool No
Location Niz
Cost
Tool category

Nizzies Home Automation Efforts

Home-assistant.png {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

The brain: Banana Pi M1 with Home Assistant

I am using a Banana Pi M1 1GB with Armbian. It needs an SD card to boot, but after that everything runs from a connected 2'5" SATA disk. It sometimes has some issues with resetting SATA link. I suspect it has something to do with power, since it seemed worse with another 5V adapter. Still not ideal. I might at some point replace the disk with an SSD.

Home Assistant

Running Home Assistant Supervised, using this installer. This way I can update through the webGUI and install add-ons etc.

Sensors

MySensors

Home Assistant has excellent support for MySensors sensors.

Gateway

Hardware

This is a Lolin Nodemcu board.

Gateway function

The gateway communicates with the nodes using a NRF24L01+ radio and runs the MySensors ESP8266 Gateway code. It communicates with Home Assistant over wifi.

Gateway sensors

The gateway also acts as a platform for sensors on it's own.

DHT11

Humidity and temperature.

Pulse counter

Counts pulses coming from LED on my energy meter. This way I can calculate current power draw in the entire house.

Nodes

I am using the hardware designed by User:Zarya as mentioned in NrfSensorNode. They run arduino sketches using the library from https://www.mysensors.org/.

Sensors

DHT11

Humidity and temperature sensor. I only use humidity since the DS18B20 is more accurate for temperatures.

Dallas temperature

Dallas DS18B20 temperature sensor.

PIR

Simple PIR sensor connected to ESP8266 based board running [https://esphome.io/ ESPHome for detection of movement.

Lights

Philips Hue

Got some Philips Hue stuff for cheap. Hue integrates with Home Assistant very easily: https://home-assistant.io/components/light.hue/. Lights are automatically found once you give HA access to the bridge (push button on bridge when HA ask for it).

Hue Bridge v1

Talks to the lights over Zigbee Light Link and connects to the network over UTP

Hue color lamps

3 LED lights that work just fine, although 2 of them are missing the glass bit. They do whites and colors \o/.

LivingColors Aura

Does colors and whites.

Hue white

White light only, but are still dimmable. Got 2 of them.

LivingWhites

Also dimmable white light. Got 2.

Sonoff Basic

Sonoff basic running ESPHome that toggles two lights at the same time. Connects with Home Assistant through the Native API.

SK6812 LED string

These are 50 addressable SK6812 LEDs. They need a 5V power source and are connected to a NodeMCU DevKit board running ESPHome with the Neopixelbus component, since it was glitchy with the FastLED component. Connection with Home Assistant through the Native API.

Automations

Lights on on movement

In several rooms I use PIR sensors to trigger lights to turn on (when sun is down). For the bedroom PIR I use a condition: if my phone is charging (this typically means I'm asleep or trying to) the automation doesn't fire.

Opentherm gateway

I have the same gateway as we have in the space. It is working with the new opentherm_gw component in hass. I was experiencing similar issues as in this with Home Assistant 0.81.0.dev0, but since HASS 0.82.1 and since I updated the Espeasy on the nodemcu to mega-20181124 it works \o/.