Home Assistant And Node-RED Lighting Automation With ESPresence Detection

Published: 29 March 2023
on channel: Tech Tutorials - David McKone
9,552
123

In this video, we show you how to configure Node-Red in Home Assistant to automate your lighting and make use of presence detection

We want lights to be turned on when it's dark so first we set up a rule that allows us to know if it's night time

For rooms where people don't stay long i.e. transit areas, we'll use a motion sensor to detect movement and turn the lights on, then use a timer to turn the lights off when movement is no longer detected

Because motion sensors are not good at detecting presence, we use ESPresence to track which rooms people are in

This allows us to create room occupancy sensors to tell us which rooms are occupied which allows us to adapt our lighting rules to only turn lights off if a room is empty

Because there are times of year when it's dark in the morning, we use an additional rule to turn lights off after sunrise

ESPresence compatible hardware
Base Stations: https://amzn.to/3JaAnd1
Cables: https://amzn.to/3wqYYCE
Apple Watch: https://amzn.to/3WvKM6j
Xiaomi Mi Band 5: https://amzn.to/3XQDiM0

Philips Hue Dusk-to-Dawn Motion Sensor: https://amzn.to/40gVKiJ

NOTE: I am part of the Amazon affiliate program and may earn commission through Amazon website links if used. However, there is no additional cost to the buyer

=============================
SUPPORT THE CHANNEL
Donate through Paypal:
https://paypal.me/DavidMcKone
Donate through Buy Me A Coffee:
https://buymeacoffee.com/dmckone
Become a monthly contributor on Patreon:
  / dmckone  
Become a monthly contributor on YouTube:
   / techtutorialsdavidmckone  
==============================

=============================
MY RECORDING HARDWARE:
Blue Yeti USB Microphone
https://amzn.to/3IfL3qm
Blue Radius III Custom Shockmount for Yeti and Yeti Pro USB Microphones
https://amzn.to/3G3f89P
RØDE PSA1 Professional Studio Arm
https://amzn.to/3Z3lPBF
Aokeo Professional Microphone Pop Filter
https://amzn.to/3VuZl9H
Logitech StreamCam
https://amzn.to/3WyZTwl
Elgato Key Light Air - Professional 1400 lumens Desk Light
https://amzn.to/3G81OB9
Neewer 2 Packs Tabletop LED Video Light Kit
https://amzn.to/3CcuN5O
Elgato Green Screen
https://amzn.to/3CoJBOL
=============================

==============================
MEDIA LINKS:
Website - https://www.techtutorials.tv/
Twitter -   / dsmckone1  
Facebook -   / dsmckone  
Linkedin -   / dmckone  
Instagram -   / david.mckone  
==============================

Chapters
00:00 Intro
00:42 Assumptions
01:15 Night Time Rule
04:28 Lights On A Timer
11:07 Room Occupancy Rules
19:17 Additional Occupancy Rules
29:11 Sunrise Rule

light automation home assistant,light automation,home assistant node red sunset,home assistant node red motion sensor,home assistant node red presence detection,node red light automation,node red sunset lights on,node red presence detection,presence detection home assistant,home assistant lighting automation


Watch video Home Assistant And Node-RED Lighting Automation With ESPresence Detection online without registration, duration hours minute second in high quality. This video was added by user Tech Tutorials - David McKone 29 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,552 once and liked it 123 people.