CCOSTAN / Home-AssistantConfig

:house: Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to :star: it. Updated FREQUENTLY!
https://www.vCloudInfo.com
Other
4.82k stars 505 forks source link
alexa amazon automation hacktoberfest home-assistant home-assistant-config home-automation homeassistant homeassistant-config homeautomation hue iot led-controller lovelace nest raspberry-pi smart-home smarthome youtube youtube-videos

Bear Stone Smart Home
Bear Stone Smart Home Documentation

Be sure to :star: my configuration repo so you can keep up to date on any daily progress!

Recent Commits to Bear Stone Smart Home

[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&label=talk&logo=twitter&style=for-the-badge)](https://x.com/ccostan) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&logo=Github&style=for-the-badge)](https://github.com/CCOSTAN)

This Repo is designed for Smart Home inspiration. The configuration, devices, layout, linked Blog posts and YouTube videos should help inspire you to jump head first into the IOT world. This is the live working configuration of my Smart Home. Use the menu links to jump between sections. All of the code is under the config directory and free to use and contribute to. Be sure to subscribe to the Blog Mailing list and YouTube Channel. (https://YouTube.com/vCloudInfo)

Blog | Devices | Todo List | Smart Home Stats | Follow Me | Code | Diagram | Youtube | Merch

Screenshot of Home Assistant Header

As of 2018, I have migrated everything to a Docker based platform. You can read all about it here: Migration Blog Post


Notable Software on my Laptop Host:

Screenshot of SmartHome Lots of my gear comes from BetaBound for Beta Testing and reviews. Be sure to use the referral code 'Reliable jaguar' so we both get priority for Beta Tests!

Smart Home Diagram - Get your icons (here).

Here is how all the parts talk to each other. Keep reading to see code examples and explanations. Smart Home Diagram

Smart Home diagram (PNG). Made with Draw.io (XML source file).

Batteries | Networking | Alexa | Mobile Devices | Nest | Voice | Hubs | Lights | Switches | Landscaping | DIY LED Lights | Garage | TV Streaming | Security | Cameras | Sensors

#### Battery Backups - [UPS Blog write-up](https://www.vCloudInfo.com/2017/06/home-protection-from-power-outages-sort.html)
[3 Prong UPS](https://amzn.to/2HJerU8) [2 Prong UPS](https://amzn.to/2CijVG3) [Tesla Powerwall 2](https://www.vCloudInfo.com/2018/01/going-green-to-save-some-green-in-2018.html)
There aren't really automations for the Batteries yet. Electricity is the life blood for the house and only really the Tesla Battery has smarts so maybe in the future, you'll see a Powerwall automation in this space. But be sure to check out the Videos below:
How To Port Forward Home Assistant on Arris TG1682

Write Up and YouTube Video

Adding Powerwall Sensors to Home Assistant

[![Adding Powerwall Sensors to Home Assistant](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Adding%20Powerwall%20Sensors%20to%20Home%20Assistant.jpeg)](https://youtu.be/KHaLddx5wPg "Adding Powerwall Sensors to Home Assistant")

#### Networking
[Ubiquiti Networks Unifi 802.11ac Pro](https://amzn.to/2mBSfE9) [Unifi Controller in the Cloud](https://hostifi.net/?via=carlo) [NetGear 16 Port unmanaged Switch](https://amzn.to/2GJwyIb) [Circle by Disney](https://mbsy.co/circlemedia/41927098)
Using the APs (3 of them), The house monitors all Connected devices for Online/Offline status and uses '' for presence detection. Any critical device down for more than 5 minutes and an alert is sent out. Circle is a Parental Control device. When a new device is discovered on the network, HA notifies us and also plays a TTS reminder over the speakers to classify in Circle. Most things are Wifi connected but a good gigabit switch is needed for a good foundation.
Tips to avoid WiFi Interference with your APs

[![Using WiFi Analyzer to Pick Channels](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Using%20WiFi%20Analyzer%20to%20Pick%20Channels.jpeg)](https://youtu.be/vIj77givKrU "How to Fix WiFi interference with WiFi Analyzer")

#### Alexa Echo Devices - [Alexa Device Blog Post](https://www.vCloudInfo.com/2017/09/new-alexa-goodies-announced.html)
[Amazon Echo](https://amzn.to/2dSVbK4) [Amazon Echo DOT](https://amzn.to/2e3vHFQ) [Amazon Echo Tap](https://amzn.to/2sz891k) [Amazon Dash Wand](https://www.amazon.com/Amazon-Dash-Wand-With-Alexa/dp/B01MQMJFDK/ref=sr_1_1_a_it?ie=UTF8&qid=1498928735&sr=8-1&keywords=dash+wand)
The Alexa devices in my house are for automation overrides. They are primarily an input device into Home Assistant. Using HA `Cloud` component, I am able to turn on /off most HA devices even if they don't have native Alexa support. The DOTs are littered around the house, the Tap is for Shower and Garage since it is super portable and the main echo fills the upstairs with Music. Voice input and playing [Whole House Music](https://www.vCloudInfo.com/2017/08/multi-room-audio-for-echo-its-finally.html) are where Echoes excel! The Wand is pool side for quick commands and controlling the music if need be.
Ability to ask Alexa to repeat the last Voice notification - 'Alexa, Turn on Last message'.

Last Message Package - /config/packages/triggers/last_message.yaml

Guest mode to disable certain interior automations. Trigger via Alexa. 'Alexa, Turn on Guest Mode.'

Defining Guest Mode - /config/input_boolean/home_modes.yaml#L1-L4
Using Guest mode as a condition - /config/script/speech_engine.yaml#L26-L28

Track garbage days and chore days for the kids. Voice reminders and Alexa intergration/request for info.'

Defining responsibilities trigger - /config/input_boolean/hidden_booleans.yaml#L5-L7
Responsibility Speech Code - /config/script/speech_engine.yaml#L56-L68

Context aware lighting control.

Read about it here on vCloudInfo.com

View the Alexa related videos on the vCloudInfo Youtube Channel.

Be sure to Like and Subscribe if you enjoy this type of content.

#### Mobile Devices and Tablets - [FloorPlan Blog post](https://www.vCloudInfo.com/2017/07/visualizing-smart-home-using-home.html)
[iPads](https://amzn.to/2l2qyRb) [iPhones](https://amzn.to/2P5RCz8) [Dash Buttons](https://youtu.be/rwQVe6sIi9w) [Amazon Fire Tablets Gen 7](https://amzn.to/2tqlMCW)
Dash Button Video
Mobile devices are a critical part of my Home Automation. They establish presence in the house and are the basis for many automations. Home? Turn on the lights. Leave? Turn them all off kind of thing. We use [NMAP](https://github.com/CCOSTAN/Home-AssistantConfig/tree/master/config/device_tracker) for presence detection.
IOS Notifications for Offline Devices, BadLogins, HA Startups, new HA versions and IP Changes for DNS.

External IP changes - /config/automation/System/ip_change.yaml
Network Monitor package - /config/packages/network.yaml
Away triggers -/config/automation/away.yaml
Shut interior script -/config/script/interior_off.yaml
Late night Helper Automation -/config/automation/late_night_helper.yaml

Reminders to take my medicine sent as IOS notifications ONLY when I arrive back home for the night.

IOS Package - /config/packages/ios.yaml


The Tablets are for the awesome FloorPlan that you see in the images. We have 2 in the house mounted for quick consumption of all the HA data in a glance. We also leverage them as TTS endpoints. During certain times of the day, TTS is only played on the tablets rather than over the whole house. Other times, Notifications are sent only to the Mobile Devices rather than using speech.

Custom Component Fire Tablet Media Player

Kiosk TTS Custom component - /config/custom_components/media_player

#### Nest Products and SleepIQ - [Thermostat Basics Blog post](https://www.vCloudInfo.com/2018/02/smart-home-basics-thermostats.html)
[Nest Thermostats](https://amzn.to/2eAhB1k) [Nest Protects](https://amzn.to/2poqKhu) [SleepNumber Bed i8](https://amzn.to/2kxdXXI) [Withings](https://amzn.to/2kr78nW)
This group of devices is basically for additional presence control. The Nest thermostats and Protects basically run themselves. The thermostat 'away' mode triggers my away scripts which turn items off. The Protects are SOLID [smoke detectors](https://www.vCloudInfo.com/2017/06/psa-check-out-your-smoke-detectors-once.html). They really came in handy during [Irma](https://www.vCloudInfo.com/2017/09/smart-home-lessons-from-hurricane-irma.html). The SleepIQ bed adds to my presence detection. It will notify HA if either side of the bed is occupied. More controls are coming but I use this extensively. The WiThings scale also triggers morning and goodnight routines depending on when I step on it during the day.
Turn off lights when Nest Thermostats detects we are away. (Upstairs and Downstairs)

Away scripting - /config/automation/away.yaml#L7-L9

Turn on Upstairs lights if Nest Thermostats detects people and it's nighttime.

Upstairs Automation - /config/automation/upstairs_motion_ifttt.yaml

(IFTTT) Trigger Good Night routine when I step on the Withings scale after 10pm.

WiThings Scale

Turn on bathroom accent lights when either of us steps out of bed at night. Turns them back off when we are back in bed.

Master Bath Automation - /config/automation/master_bath_accents.yaml

Turn off all interior lights when the last person gets into bed.

Good night Automation - /config/automation/good_night.yaml

Silence all Voice notifications if anyone is in bed. Redirect to Fire Tablets.

Timed AMP turnoff Automation - /config/automation/Timed_Triggers/2200.yaml
AMP redirect script - /config/script/amp_settings.yam

#### Voice Notifications - [Giving Voice to the Smart Home Blog Post](https://www.vCloudInfo.com/2017/07/giving-voice-to-smart-home.html)
[ChromeCast Audios](https://amzn.to/2EO8Gqt) [AMPs](https://amzn.to/2j18dlT) [Mixer](https://amzn.to/2v9Zp3x) [TP-Link Smart Plug](https://amzn.to/2zF5msP)
To me, Voice is the coolest part of the smart home. It gives it personality. It's something not just anyone has and helps your house stand apart from the pack. I use the [Amazon Polly TTS](https://www.home-assistant.io/integrations/tts/) component since it sounds the closest to Alexa. This gives a seemless transition from Alexa to Home Assistant responding. Most think it is just one system. The mixer allows TTS to mix right in over Music. The TP-Link Outlet is used to turn off the Mixer and AMP when we do not need it. It's a great inexpensive solution.
Turn off all the voice devices when we are not home or in bed.

Away Automation - /config/automation/away.yaml
Good Night Automation - /config/automation/good_night.yaml

All voice notifications are pushed though a speech engine. Random words and sentences are used to give the house some personality.

Speech Engine - /config/script/speech_engine.yaml

Voice announcements whenever someone comes home.

People Greeter - /config/automation/Speech/announcements.yaml

Voice notifications for all sorts of things related to the house. (Temps, presence, doors open, windows open, garage door statuses, sunset.)

Speech Macros are called by automation scripts - /script/speech_engine.yaml

Digital Cuckoo Clock that goes off each hour and on the half just like a real Cuckoo Clock.

Cuckoo Clock - /config/automation/System/CucKoo_Clock.yaml

Click here for YouTube Videos related to Voice.

[![Breaking down my Home Assistant Volume Control](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Breaking%20down%20my%20Home%20Assistant%20Volume%20Control.jpeg)](https://youtu.be/f65fanwU3Ig "Breaking down my Home Assistant Volume Control")


Once you can teach your house to talk, you just keep expanding on its vocabulary. It's addicting. :)
#### Various Hubs - [Smart Home Parts/Sum Blog Post](https://www.vCloudInfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)
[Philips Hue Hub Gen 2](https://amzn.to/2eoQTJy) [Wink Hub](https://amzn.to/2orGEWo) [RM Pro by Broadlink](https://amzn.to/2z6IZtH) [Philips Hue Hub Gen 1](https://amzn.to/2kTmUdd)
The Hubs help the home communicate across all the various protocols running in the house. The Hue hubs (I have 2 actually) talk to most of the lights. The Gen 1 handles upstairs and outside and the gen 2 handles everything else. Some lights and switches talk over Zwave to the Wink Hub. The RM Pro talks 433Mhz to my EtekCity outlets.
Using Etekcity Outlets to control accent lighting above kitchen cabinets and room cutouts.

Kitchen Accents Automation - /config/automation/kitchen_lights_and_accents.yaml
Master Bath Accents Automation - /config/automation/master_bath_accents.yaml

Turn on Hallway light for no more than 20 minutes when Pantry door is opened.

Hallway Automation - /config/automation/zwave_hallway_door_sensor.yaml

Detects when lights are turned on and adjusts them to correct brightness based on time of day.

Auto Light adjustment Automation - /config/automation/System/detect_and_adjust_lights.yaml


Think of the Hubs each as bridges for HA to talk to various hardware around the house.
#### Lights [Smart Home Parts/Sum Blog Post](https://www.vCloudInfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)
[Hue Colored lights](https://amzn.to/2l2viGK) [GE Link Lightbulbs](https://amzn.to/2GJ66i5) [Hue Go](https://amzn.to/2iB36Ii) [Hue Lightstrip](https://amzn.to/2JlIIgg)
Almost all my lights (40+) are white GE Link lights. I bought them early on before Hue came out with inexpensive white A19s. Even Ikea has great lights now. Colored lights are in the front sconces and also used in the living room. The Go lights are specifically for the kids since they are both wireless and also have a button on them making them very tactile for kids. I use the Lightstrips for TV backlighting and also couch accent lighting.
Turn on TV Time Lights (dim and color) at Sunset (if home and TV is on)

TV Time Automations - /config/automation/tv_time_on_and_off.yaml

Sets up the front lights in the house with preset colors depending on the ~~month~~ day!.

Holiday Lights Script - /config/script/monthly_color_scene.yaml
Holiday Lights Scenes - /config/scene/monthly_colors.yam

https://www.vmwareinfo.com/2017/08/diy-outdoor-smart-home-led-strips.html Turns living room lights `red` when a Window or Door is opened past sunset. Resets to `yellow/gold` when all doors/windows are closed.

DIY Alarm package - /config/packages/alarm.yaml

Two part series on replacing a fluorescent light with a Hue Smart Light - Step by Step [![Part 1 - Adding to the Hue Bridges](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Part%201%20-%20Adding%20to%20the%20Hue%20Bridges.jpeg)](https://youtu.be/Q0KUu20w71s "Part 1 - Adding to the Hue Bridges") [![Part 2 - Adding to Automations](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Part%202%20-%20Adding%20to%20Automations.jpeg)](https://youtu.be/lyjRHYKkG98 "Part 2 - Adding to Automations")
Click here for YouTube Demos of the Holiday lights [![Valentine's Day Video](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Valentine's%20Day%20Video.jpeg)](https://youtu.be/nsWq4uVrQ0g "Valentine's Day Video") [![Halloween Light Video](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Halloween%20Light%20Video.jpeg)](https://youtu.be/ylPzQ0s7zxc "Halloween Light Video")
#### Switches
[Noon Switches](https://amzn.to/2J9aGeu) [Nunet Smart Plug](https://amzn.to/2PDBNNK) [Switches Get Stitches](https://amzn.to/2HXSx2M) [Etekcity Outlets](https://amzn.to/2efNoBP)
In the Master Bedroom and Bathroom, I have deployed a starter set of 5 Noon Switches. These switches control the toilet light, both vanities and bedroom overhead light. They work on the wall and are also IFTTT compatible. The EtekCity outlets are the most inexpensive ($6) yet reliable outlets out there. I have them deployed all over the house as accent lighting with some rope lights in most of the home's cut outs.
When interior light script is triggered, IFTTT is notified to turn off the Bathroom Noon switches.

Interior Turn off Script - /config/script/interior_off.yaml

I've taken the Smart plugs and put them in a weatherproof case for holiday lights

Full write up and blog post

#### Security
[NodeMCU Development Boards](https://amzn.to/2ou0NON) [Aura Home Monitoring Motion Alarm](https://amzn.to/2sLX8v6) [Hue Go](https://amzn.to/2iB36Ii) [Fake Dog](https://amzn.to/2CMo1lr)
The ESPs while technically not a Hub do bridge the connection to all the windows and door sensors that are hardwired in my house. One set acts as my [DIY alarm system](https://www.vCloudInfo.com/2017/06/building-my-home-alarm-system-hardware.html) while the other act as [DIY Motion Sensors](https://www.vCloudInfo.com/2017/11/yet-another-inexpensive-motion-sensor.html). The Aura system uses Wifi waves to detect motion through walls. It covers the entire house. Scenes are activated via IFTTT/HA integration. When all else fails though, a good recording of a Bull Mastiff is sure to do the trick!
Shut down HVAC system if a Window or Door is left open for more than 5 minutes.

HVAC Watchdog Automation - /config/packages/alarm.yaml#L209

Play chime on all window and door open/closes.

Door Chime Automation - /config/automation/System/door_chime.yaml

Change Aura scenes based on presence and sleep.

Aura Package - /config/packages/aurahome.yaml

#### Cameras
[SkyBell HD](https://amzn.to/2dcexIB) [Foscam 1080p Outdoor Camera](https://amzn.to/2ExKrMe) [Surveillance Drives](https://amzn.to/2G3iBEF) [Meraki MS220 8 port PoE switch](https://amzn.to/2LsdyAv)
Cameras are both for security and data sensors. They can trigger motion events, lighting conditions or for doorbells, when someone presses it. Cameras and Access points are feed power via the Meraki PoE switch.
On motion from Doorbell turns front lights to Bright White lights for 10 minutes and then back to original colors. Fake Dog barking when there is motion by the house.

Skybell HD script - /config/script/skybell_pressed.yaml
Dog Bark script - /config/automation/guard_dog.yaml

When someone rings the Doorbell, the backyard and Bathroom lights Flash - Since we might not hear the doorbell. Fake Dog barks as well (which can be snoozed for 30 minutes via Alexa).

Skybell HD script - /config/script/skybell_pressed.yaml
Dog Bark script - /config/automation/guard_dog.yaml

#### Outdoor Landscaping
[Rachio Sprinkler system](https://amzn.to/2eoPKBW) [GE ZWave Outdoor Power Module](https://amzn.to/2q17R4S) [Teckin SS31 Outdoor Outlets](https://amzn.to/31oNhuK) [Outdoor LED Lighting](https://www.vCloudInfo.com/2017/08/diy-outdoor-smart-home-led-strips.html)
The great outdoors can be automated too! Mainly lights but also the sprinkler system and water supply. The Phyn leak detector was announced in CES. It looks for abnormal flows and if senses them, alerts me and shuts water main. The Teckin SS31 outlets are hooked up to my 12v transformers allowing me to turn the landscaping lights on and off. The LED strips are DIY and the recipe is in the next section.
Click Here for YouTube Videos!

[![Unboxing and setup of the Philips Hue Calla Landscape Lights](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Unboxing%20and%20setup%20of%20the%20Philips%20Hue%20Calla%20Landscape%20Lights.jpeg)](https://youtu.be/FcBVu_yk2iY "Unboxing and setup of the Philips Hue Calla Landscape Lights") [![Adding Smart Landscaping lights to the Yard with Home Assistant](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Adding%20Smart%20Landscaping%20lights%20to%20the%20Yard%20with%20Home%20Assistant.jpeg)](https://youtu.be/Z673mYcKt70 "Adding Smart Landscaping lights to the Yard with Home Assistant")

(IFTTT) Add a 1 day rain delay to Rachio Sprinkler system if it is going to rain tomorrow also logged to MQTT.

Rain Delay Package - /config/automation/System/rachio_rain_delay.yaml

(IFTTT) Blink ALL lights if Winds get to 70MPH - Hurricane warning.

Flash Light automation - /config/automation/flash_all.yaml

Turn on some outdoor Lights at Sunset, Turn off 4 hours before sunrise.

Sunset automation - /config/automation/Timed_Triggers/sunset_turn_on.yaml

Turn off interior and backyardlights when we go to sleep.

Good Night automation - /config/automation/good_night.yaml

#### Outdoor LED Accents - [DIY Blog Post](https://www.vCloudInfo.com/2017/08/diy-outdoor-smart-home-led-strips.html) - [#71](https://github.com/CCOSTAN/Home-AssistantConfig/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc/71)
[LED RGB Wifi Controller - flux_led compatible](https://amzn.to/2jUBSBE) [LED Strip kits](https://amzn.to/2gJYfZ5) [Aluminum light Diffusers](https://amzn.to/2CIId82) [Outdoor Housing](https://amzn.to/2m2dG0X)
Mentioned above, this is one of my favorite projects for the house. The ability to completely change the look of the house on the drop of a dime and on a dime budget is awesome. Read the blog post linked above for all the parts details but here are some automations I love. You can also watch the following Video (https://www.vcloudinfo.com/2018/10/easy-smart-home-gadgets-i-use-for-my.html)
Change the front colors of the LED lights based on holidays. The best part is the LED controller works with HA right out of the box. No fiddling around with it at all. HUGE Plus in my book.

Holiday Lights Script - /config/script/monthly_color_scene.yaml
Holiday Lights Scenes - /config/scene/monthly_colors.yam

When the garage doors open, change all lights in the front of the house to bright white.

Garadget automations - /master/config/automation/garadget.yaml

On motion, turn all the lights to a bright white outside for a random amount of time before resuming the daily color choice.

Motion automations - /config/script/front_house_motion.yaml

Click Here for YouTube Demos of the Holiday lights [![Valentine's Day Video](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Valentine's%20Day%20Video.jpeg)](https://youtu.be/nsWq4uVrQ0g "Valentine's Day Video") [![Halloween Light Video](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Halloween%20Light%20Video.jpeg)](https://youtu.be/ylPzQ0s7zxc "Halloween Light Video")
#### Garage Gadgets
[Garadget](https://amzn.to/2jQLpVQ) [JuiceBox Pro 40 EVSE](https://amzn.to/2AIdSdx) [Tesla Model Y Electric Car](https://amzn.to/3UM4BZ5) [Siri, are my garage doors closed?](https://www.vCloudInfo.com/2017/07/my-smart-home-look-at-parts-that-make.html)
Garage doors, Cars, charging stations. Going green. All part of a complete home automation setup. The garage door openers are probably the most important. No one wants to forget that they left them open when they've left or gone to bed. Closing forgotten garage doors makes it all worth it.
Notifications when the garage door is left open at night or when we leave the house.

Garage Speech Automations - /config/automation/Speech/garage_closed.yaml

Videos and Write up on Garadget Garage Door Opener

Garadget Garage Door Opener video and Write up

Monitor the reflection rates of Garadget and notify when they being to drop too low when closed (indicating a shift in the controller)

Garage reflection Automations - /config/automation/garadget.yaml

Tweet out charging status of the car and how many KwH were charged in a session. #Stat

Tweet Automations - /config/script/tweet.yaml

Monitor AMPs and Voltage and alert if charge ever goes over 24A to prevent breaker tripping. (Juicebox is software derated to 24A on a 30A circuit.) Also restart Unit if unable to connect to eMotorWerks servers.

Juicebox package - /config/packages/juicenet.yaml

#### TVs and Streaming Devices
[Samsung Smart TV](https://amzn.to/2efNNnq) [Rokus](https://amzn.to/2dpn89c) [Amazon Fire TV](https://amzn.to/2iiuaNT) [Synology NVR 1218](https://amzn.to/2COe9aU)
TV Automations are super cool. Turn on a movie and the lights begin to dim automatically. It's super cool. Out TVs are back lit with [Hue Lightstrips](https://amzn.to/2FGbPpL) so we can do some pretty neat effects with automations. We are #CordCutters as well so all out TV is streamed to the Rokus. FireTV for party games and the Snyology, I'll talk about later in the Survellance section.
Click here for YouTube Video

[![Cameras, Synology and Home Assistant](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Cameras,%20Synology%20and%20Home%20Assistant.jpeg)](https://youtu.be/GmpP52yG0S8 "Cameras, Synology and Home Assistant")

If any Doors or Windows are open, the TV backlights turn Red.

Alarm package - /config/packages/alarm.yaml

When the Roku reports we are watching Plex or TabloTV, TV Time scene is triggered dimming 2 of 4 living room lights.

TV Time Automations - /config/automation/tv_time_on_and_off.yaml

Rainy days trigger extra subtle light (TV back lights and other accent lighting) inside the house.

Rainy Day Automations - /config/automation/dark_rainy_day.yaml

#### Sensors
[Door Sensors (AEON Labs)](https://amzn.to/2e3xDxY) [Pi Zero](https://amzn.to/2ougZQ3) [Wireless Nub](https://amzn.to/2q38rg4) [Epson ET-7700 Printer](https://amzn.to/2HaiBUK)
Sensors add data to Home Assistant. Most of my Doors and windows are hardwired but for some interior doors, I also have the wireless sensors. They connect to my Wink Hub. [PiHole](https://pi-hole.net/) is running on my PiZero. It's super easy to install and runs DNS, DHCP and ad blocking for the whole house on a great little 5v form factor.
Tweet out daily Pi Hole stats. (Ads Blocked and % of bandwidth saved.)

Pi-Hole Package - /config/packages/pihole.yaml
Tweet script - /config/script/tweet.yaml
Blog Write Up - Pi Devices and Pi Hole

Leverage Alexa and Elekcity outlet to control Printer On/Off via Voice. Turns off automatically after 20 minutes.

Light watchdog Automations - /config/automation/System/watchdog_light.yaml

Click here for YouTube Videos!

[![Epson XP-7100 Small-in-One wireless Printer review and Unboxing](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Epson%20XP-7100%20Small-in-One%20wireless%20Printer%20review%20and%20Unboxing.jpeg)](https://youtu.be/y2xgCQRwTJg "Epson XP-7100 Small-in-One wireless Printer review and Unboxing") [![Home Assistant Raspberry Pi Day!](https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/www/custom_ui/floorplan/images/youtube/Home%20Assistant%20Raspberry%20Pi%20Day.jpeg)](https://youtu.be/woA88DFlH5c "Home Assistant Raspberry Pi Day!")

Sound door chimes whenever doors open or close.

Door Chimes Automations - /config/automation/System/door_chime.yaml

Watch and alert on Home Assistant's Disk usage and Pi Zero.

Process Monitor Package - /config/packages/processmonitor.yaml

Todo List

The issues section on github is where I store all my wishful ideas and future enhancements. Feel free to join the conversations there. Screenshot of Alarm Clock View Screenshot of Alarm View

All files are now being edited with Cursor.ai.

Still have questions on my Config?
Message me on X : Follow CCostan or Follow Bear Stone Home

Buy me a coffeeYou can buy me a coffeeBuy me a coffee


Affiliate Disclosure