Skip to content

cdouet/homeassistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home-AssistantConfig

This is my home assistant configuration.

Table of Contents

General

My house has the following layout:

  • Garden:
    • Front garden
    • Back garden
    • Outdoor patio
  • Ground floor:
    • Garage
    • Entry
    • Home office
    • Living room
    • Dining room
    • Under stairs
    • Pantry
    • Laundry
    • Toilet
    • Cat room
    • Greenhouse
  • First floor:
    • Mezzanine
    • Master bedroom (including bathroom, toilet, ensuite)
    • Sophie bedroom
    • Luna bedroom
    • Guest bedroom
    • Bathroom
    • Toilet

Hardware

Here is the list of hardwares installed accross the house:

Garden Hardware

Room Device type Description Link
Front Garden Light 4 sets of 12Vdc spots powered by the DIY solar system installed in the back garden
Light 1 set of 5Vdc WS2812B RGB LED Strip on top of the garage door Link
Device 1 set of GoodWe inverter GW5000D-NS Link
Back Garden Light 4 sets of 12Vdc spots powered by the DIY solar system installed in the back garden
Switch 1 set of SmartThings Smart Plug GP-WOU019BBEWA controling the terrace light Link
Device 1 set of MPPT solar charge controler Epever Tracer-AN serie Link
Device 1 set of Elfin EW11 WiFi Modbus Link
Switch 2 sets of ewelink wifi switch relays connected to the back garden lights and front garden lights Link

Garden

Room Device type Description Link
Outdoor Patio Sensor 1 set of zigbee motion sensor Aeotec GP-AEOMSSEU Link

Patio

Ground Floor Hardware

Room Device type Description Link
Garage Light 2 sets of Kogan KASB10RE27HA flashed with Tasmota Link
Sensor 2 sets of zigbee motion sensor Aeotec GP-AEOMSSEU Link
Camera XXXX Link
Switch 1 set of MHCOZY 1 Channel 12V ZigBee Smart Relay Switch to control the garage door Link
Switch 1 set of SmartThings Smart Plug GP-WOU019BBEWA controling the garden wall light Link

Garage

Room Device type Description Link
Entry Switch 1 set of zigbee smart 3-gang switch located in the entry controling the outdoor garage lights, entry light and patio light Link
Sensor 1 set of zigbee motion sensor Aeotec GP-AEOMSSEU Link

Entry

Room Device type Description Link
Office Light 1 set of Kogan KASB10RE27HA flashed with Tasmota Link
Light 1 set of 5Vdc WS2812B RGB LED Strip on top of a shelf Link
Sensor 1 set of zigbee motion sensor Aeotec GP-AEOMSSEU Link
Media Player 1 set of Google Nest Hub Link
Device 1 set of HP officeJet 5740 printer Link
Device 1 set of powerpal PPL-100 Link

Office

Room Device type Description Link
Living Room Light 1 set of DC5V SK6812 LED String Lights WS2812B Link
Camera 1 set of Dlink DCS-2136L Link
Sensor 1 set of Xiaomi Mi Light Detection Sensor GZCGQ01LM Link
Media Player 1 set of Google Nest Mini Link
Media Player 1 set of Sony Bravia KD55-X8500C Link
Media Player 1 set of Pioneer VSX 832 Link
Media Player 1 set of Sony Playstation 4 Link
Controller 1 set of Broadlink RM4 pro Link

Living room

Room Device type Description Link
Dining Room Light 1 set of 5Vdc WS2812B RGB LED Strip around the fridge Link
Switch 1 set of zigbee smart 3-gang switch controling the 2 kitchen lights and the entry light Link
Switch 1 set of zigbee smart 2-gang switch controling the 2 dining room lights Link
Media Player 1 set of Google Nest Hub Max Link
Media Player 1 set of Lenovo M10 Link
Device 1 set of Samsung AX90 air purifier Link

Dining room

Room Device type Description Link
Under stairs Light 1 set of Kogan KASB10RE27HA flashed with Tasmota Link
Sensor 1 set of Aeotec ZigBee SmartThings Multi Sensor Link

Under stairs

Room Device type Description Link
Pantry Light 1 set of Kogan KASB10RE27HA flashed with Tasmota Link
Sensor 1 set of Aeotec ZigBee SmartThings Multi Sensor Link

Pantry

Room Device type Description Link
Laundry Device 1 set of LG Front Loading Washing Machine WV5-1275W Link
Switch 1 set of zigbee smart 2-gang switch controling the laundry light and rubbish light Link

Laundry

Room Device type Description Link
Cat Room Device 1 set of Kogan SmarterHome™ 500mL Smart Aroma Diffuser (Light Wood) Link
Sensor 1 set of zigbee motion sensor Aeotec GP-AEOMSSEU Link
Switch 1 set of zigbee smart 2-gang switch controling the ceiling light and the fan Link

Cat room

Room Device type Description Link
Greenhouse Switch 2 sets of Kogan SmarterHome™ Smart Plug With Energy Meter flashed with Tasmota controling a grow light/grow heat system each Link

Greenhouse

First Floor Hardware

Room Device type Description Link
Mezzanine Device 1 set of Raspberry Pi 4
Device 1 set of QNAP TS219 as backup server Link
Device 1 set of Synology DS213j as main fileserver Link
Device 1 set of server to run Plex
Device 1 set of Cyberpower OR1500ERM1U UPS Link
Device 1 set of Cisco Switch SGE-2000P Link
Light 1 set of 5Vdc WS2812B RGB LED Strip Link
Light 1 set of Kogan KASB10RE27HA flashed with Tasmota Link
Device 1 set of Dlink AX1800 COVR1873 Link
Switch 1 set of zigbee smart 1-gang switch controling the ceiling light Link

Mezzanine

Room Device type Description Link
Master bedroom Light 1 set of Kogan KASB10RE27HA flashed with Tasmota Link
Media Player 1 set of Google Nest Hub Link
Switch 1 set of Kogan SmarterHome™ Smart Plug With Energy Meter flashed with Tasmota controling a bed heater Link
Device 1 set of Sensibo Sky - Smart Air Conditioner WiFi Controller Link
Switch 1 set of zigbee smart 1-gang switch controling the ceiling light Link

Master bedroom

Room Device type Description Link
Sophie bedroom Switch 1 set of zigbee smart 1-gang switch controling the ceiling light Link
Switch 1 set of SmartThings Smart Plug GP-WOU019BBEWA controling the flower light Link
Media Player 1 set of Google Nest Mini Link
Sensor 1 set of Aeotec ZigBee SmartThings Multi Sensor Link
Device 1 set of Xiaomi Smart Mi Air Purifier Filter 2S, OLED Monitor Link
Device 1 set of Sensibo Sky - Smart Air Conditioner WiFi Controller Link

Sophie bedroom

Room Device type Description Link
Luna bedroom Media Player 1 set of Google Nest Mini Link
Device 1 set of Mitsubishi air conditioner MSZAP25VGKIT with Mitsubishi Wi-Fi Adaptor MAC-568IF-E Link
Device 1 set of Xiaomi Smart Mi Air Purifier Filter 3H, OLED Monitor Link
Switch 1 set of zigbee smart 1-gang switch controling the ceiling light Link

Luna bedroom

Integrations

I have the following home assistant integrations:

Integration Purpose
Accuweather Used to simply display the weather forecast data on the Garden view
Adguard Home Used to monitor the status of the adguard server
Android TV Used to control the TV in the Living Room
Blitzorung Used to display data about incoming lightning on the Garden View
Bluetooth Not used yet
Broadlink Used to control the fireplace in the Living Room
Browser Mod Used to pop up a window on the Dining Room tablet when the garage door is opened
Certificate Expiry Not used yet
DeConz Used to control all the Zigbee devices
DLNA Digital Media Renderer Not used yet
DLNA Digital Media Server Not used yet
ECHONETLite Used to control the AC in Luna bedroom
Ecowitt Used to monitor the moisture level accross several garden beds
Fully Kiosk Browser Used to control the tablet in the Dining Room
Generic Camera Used to control cameras
GoodWe inverter Used to monitor the solar panel inverter
Google Assistant Not used yet
Google Calendars Used to synchronize the Google Calendars
Google Cast Used to cast media to the Google Home devices
Google Home Used to control the Google Home media players
Grocy Used to control the chores on the Home view and Tasks view
HACS Used to get new integrations and frontend features
Home Assistant iOS Not used yet
Home Assistant Supervisor Used to control all the official add on and core features
HP Printer Used to monitor the printer in the Office
Internet Printing Protocol Used to monitor the printer in the Office
LocalTuya Used to control the aroma diffuser in the Catroom
Meteorologisk institutt (Met.no) Used for the weather forecast card on the Home view
MJPEG IP Camera Used to control cameras
Mobile App Used to control and monitor the mobile devices
MQTT Used to communicate with MQTT devices
Music Assistant Used to control media
Nest Used to control the camera on the Google Nest Max in the Dining Room
Network UPS Tools (NUT) Used to monitor the UPS in the Mezzanine
Notifications for Android TV Used to display notifications on the TV in the Living Room
Orbit B-hyve Used to control the irrigation system
Plex Media Server Used to monitor the plex server
Powerpal Used to monitor the power consumption
Public Transport Victoria Used to display the upcoming train schedules
Radio Browser Used to control radios
Raspberry Pi Power Supply Checker Used to monitor the Rpi power supply
Season Not used yet
Sensibo Used to control the AC in Master Bedroom and Sophie Bedroom
Shopping List Used to control the shopping list
Smartthings Used to control the kitchen air purifier
SmartThinQ LGE Sensors Used to monitor the washing machine cycles
Sonoff Used to control the light relays in the garden and the garage door
Sony Bravia TV Used to control the TV in the Living Room
Sony PlayStation 4 Used to control the PS4 in the Living Room
SpeedTest Used to monitor the download and upload speeds
Spotify Used to cast Spotify on the media players
Sun Not used yet
Tasmota Used to control the devices flashed with Tasmota
UPnP/IGD Not used yet
Uptime Not used yet
Version Not used yet
Wled Used to control the Wled lights
Xiaomi Miio Used to control the air purifiers in Sophie and Luna Bedrooms

Lovelace Views

The frontend has a number of available pages which are globally representative of the various rooms and ordered by priority. Each view has a number of corresponding and relevant sections. Lovelace has the following pages and page sections :

Home Lovelace View

View Content
Home Upcoming event (conditional card shown when an event is occuring in less than 7 days)
Upcoming todo
Climate control
Air purifier control
Cameras
Locations (conditional card shown when either Dorothy or Charles or both are not home)
Weather forecast
Scenes (conditional card shown when either Dorothy or Charles or both are home)
Irrigation
Actions
Light controls
Next trains (conditional card shown when Charles phone is home, time is between 6am and 4pm and the day is a workday)
Media players (conditional card shown when a media player is playing)

Home

Luna Lovelace View

View Content
Luna Camera
Climate control with:
- Air conditioning control
- Turn on/off time control
- Generic thermostat mode control
- Temperature history graph
Media player (conditional card shown when Luna media player is playing)
White noise card
Air purifier control
Light control for ceiling light

Luna

Sophie Lovelace View

View Content
Sophie Camera
Climate control with:
- Air conditioning control
- Turn on/off time control
- Generic thermostat mode control
- Temperature history graph
- Humidity history graph
Light control for:
- Flower light
- Ceiling light
Media players (conditional card shown when a media player is playing)
Door status
Text to speech
Air purifier control

Sophie

Master Lovelace View

View Content
Master bedroom Light control for:
- Charles bedside light
- Ceiling light
Climate control with:
- Air conditioning control
- Bed heater control
- Temperature history graph
Media players (conditional card shown when a media player is playing)
Scenes
Door status
Text to speech

Master

Dining Lovelace View

View Content
Dining room Camera
Fridge Door status
Light control for:
- Kitchen light
- Island light
- Dining lights
- Fridge WLED
Air purifier control
Media player (conditional card shown when a media player is playing)
Temperature history graph
Tablet with:
- Tablet controls
- Tablet battery level history graph

Dining

Living Lovelace View

View Content
Living room Camera
Light control for:
- Chinese light
- Entry light
- firepplace light
- Sticks WLED
Text to speech
Scenes
Temperature history graph
TV remote (under testing)
Media player (conditional card shown when a media player is playing)

Living

Garage Lovelace View

View Content
Garage Camera
Garage door with:
- Garage door control
- Garage door status
Light control for:
- Garage light 1t
- Garage light 2
Greenhouse control for:
- Grow lightt
- Grow heat
Temperature history graph
Alarm control for:
- Disabling garage door alarm
- Disabling garage alarm
Media player (conditional card shown when a media player is playing)

Garage

Office Lovelace View

View Content
Office Light control for:
- Ceiling light
- Office WLED
Media player (conditional card shown when a media player is playing)
Temperature history graph
Text to speech

Office

Garden Lovelace View

View Content
Garden Light control for:
- Garden Light
- Garden wall light
- Back garden light
- Front garden light
- Outdoor garage light
- Patio light
- Garage WLED
Garden bed control and monitoring with:
- Sprinkler control
- Moisture monitoring
Light effect controls
Scenes
Lightning monitoring
Weather forecast

Garden

Mezzanine Lovelace View

View Content
Mezzanine Camera
Light control for:
- Mezzanine
- Cabinet WLED
- Ceiling light
Home assistant statistics
Rapberry Pi monitoring data
Backup server monitoring data
Network connection monitoring data

Mezzanine

Media Lovelace View

View Content
Media Audio player selection
Record selection
Band selection
Compilation selection
Radio selection
Video player selection
Show selection
Music assistant link
Spotify

Media

Laundry Lovelace View

View Content
Laundry Washing machine monitoring
Light control for:
- Ceiling light
- Rubbish area

Laundry

Cat Room Lovelace View

View Content
Catroom Air purifier control
Temperature history graph
Light control for:
- Ceiling light
- Fan

Catroom

Tasks Lovelace View

View Content
Tasks Shopping list control
Chore control

Tasks

Solar Lovelace View

View Content
Solar Garden solar charge controler monitoring
Solar panel inverter monitoring
Link to Energy dashboard

Solar

Monitoring Lovelace View

View Content
Monitoring Battery monitoring
Temperature monitoring

Monitoring

Automations

Battery Automations

Send notifications if device XYZ battery is low

  • Trigger:
    • binary_sensor.device_xyz_battery goes from OFF to ON
  • Condition:
    • Nil
  • Action:
    • Notify Charles mobile phone home assistant app to change the battery

Cat Room Automations

Turn on the fan for 2 minutes and the aroma diffuser for 5 minutes when motion detected by catroom motion sensors

  • Trigger(s):
    • Catroom Motion Sensor detects motion
  • Condition(s):
    • Nil
  • Action(s):
    • Turn the cat room fan on
    • Wait 120s
    • Turn the cat room fan off
    • Turn the cat room diffuser on
    • Wait 300s
    • Turn the cat room diffuser off

Turn on the fan for 2 minutes and the aroma diffuser on for 5 mins every hour between 5:55am and 11:05pm

  • Trigger(s):
    • Every hour
  • Condition(s):
    • Between 05:50am and 11:05pm
  • Action(s):
    • Turn the cat room diffuser on
    • Wait 300s
    • Turn the cat room diffuser off

Raise alarm if the temperature in the catroom is over 35 degrees

  • Trigger(s):
    • Catroom temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in the catroom is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in the catroom is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in the catroom is over 35 degrees." on TV
    • Notify "The temperature in the catroom is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Turn on catroom light when motion is detected in the catroom in the evening

  • Trigger(s):
    • Catroom Motion Sensor detects motion
  • Condition(s):
    • Charles mobile is not charging
    • input boolean for lounge scene is 1
  • Action(s):
    • Turn the catroom light on

Dining Room Automations

Turn off the kitchen lights off after no movement after 8am

  • Trigger(s):
    • Dining Room Motion Sensor detects motion
  • Condition(s):
    • After 8am
  • Action(s):
    • Turn kitchen light 1 off
    • Turn kitchen light 2 off

Turn on the kitchen lights when motion detected in the kitchen during night

  • Trigger(s):
    • Dining Room Motion Sensor detects motion
  • Condition(s):
    • Sun elevation below a defined angle
  • Action(s):
    • Turn kitchen light 2 on

Turn off the kicthen lights after last movement in the kitchen during night

  • Trigger(s):
    • Dining Room Motion Sensor does not detect motion for 5 mins
  • Condition(s):
    • Sun elevation below a defined angle
  • Action(s):
    • Turn kitchen light 1 off
    • Turn kitchen light 2 off

Send a camera snapshot when motion is detected in the kitchen during night

  • Trigger(s):
    • Dining Room Motion Sensor detects motion
  • Condition(s):
    • Between 11pm and 6am
  • Action(s):
    • Snapchot from kitchen display
    • Snapshot from kitchen tablet

Read text on kitchen media player

  • Trigger(s):
    • Text input on kitchen lovelace view
  • Condition(s):
    • Nil
  • Action(s):
    • Announce the input text on the kitchen display

Send notifications if the fridge door is opened more than 1 min

  • Trigger(s):
    • Fridge door sensor is opened for 1 min
  • Condition(s):
    • Between 8pm and 7am AND
    • Living room speaker not in use
  • Action(s):
    • Turn on fridge WLED with sinelon effect
    • Announce "Please close the fridge door. Thank you" at 50% on living room speaker
    • Notify "Please close the fridge door. Thank you" on TV

Turn on fridge wled when fridge door is opened

  • Trigger(s):
    • Fridge door sensor is opened
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off fridge WLED
    • Turn on fridge WLED with solid effect in blue

Turn on fridge wled to red when fridge door is opened more than 30s

  • Trigger(s):
    • Fridge door sensor is opened for 30s
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on fridge WLED with solid effect in red

Turn off fridge wled when fridge door is closed

  • Trigger(s):
    • Fridge door sensor is closed
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on fridge WLED with chunchun effect in blue
    • Wait 5s
    • Turn off fridge WLED

Turn on switch to charge tablet battery

  • Trigger(s):
    • Tablet battery is below 20%
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on the tablet switch

Turn off switch to charge tablet battery

  • Trigger(s):
    • Tablet battery is above 80%
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off the tablet switch

Turn on kitchen air purifier at 6am if Dorothy is home

  • Trigger(s):
    • Time is 6am
  • Condition(s):
    • Dorothy is home
  • Action(s):
    • Turn on the kitchen air purifier
    • Notify "Kitchen air purifier turned on" on TV

Turn off kitchen air purifier at 8pm

  • Trigger(s):
    • Time is 8pm
  • Condition(s):
    • Nill
  • Action(s):
    • Turn off the kitchen air purifier
    • Notify "Kitchen air purifier turned off" on TV

Turn on kitchen air purifier when Dorothy comes back home

  • Trigger(s):
    • Dorothy enters the proximity zone
  • Condition(s):
    • Time between 6am and 8pm
  • Action(s):
    • Turn on the kitchen air purifier
    • Notify "Kitchen air purifier turned on" on TV

Turn off kitchen air purifier when Dorothy leaves home

  • Trigger(s):
    • Dorothy leaves the proximity zone
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off the kitchen air purifier
    • Notify "Kitchen air purifier turned off" on TV

Raise alarm if the temperature in the dining room is over 35 degrees

  • Trigger(s):
    • Dining room temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in the dining room is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in the dining room is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in the dining room is over 35 degrees." on Charles mobile phone
    • Notify "The temperature in the dining room is over 35 degrees." on TV
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Garage Automations

Send notifications if the garage door is opened more than 5 mins

  • Trigger(s):
    • Garage door sensor is opened more than 5 mins
  • Condition(s):
    • Garage door alarm is active
  • Action(s):
    • Notify "The garage door has been opened for more than 5 mins. Please close the garage door. Thank you" at 50% on garage speaker
    • Notify "The garage door has been opened for more than 5 mins. Please close the garage door. Thank you" at 50% on living room speaker
    • Notify "The garage door has been opened for more than 5 mins. Please close the garage door. Thank you" at 50% on kitchen display if the kitchen display is not in use
    • Notify "The garage door has been opened for more than 5 mins. Please close the garage door. Thank you" at 50% on master bedroom display
    • Notify "The garage door has been opened for more than 5 mins. Please close the garage door. Thank you" at 50% on office display
    • Notify "The garage door has been opened for more than 5 mins. Please close the garage door. Thank you" on TV
    • Turn on fridge WLED with breathe effect

Send notifications if the garage door is opened more than 10 mins

  • Trigger(s):
    • Garage door sensor is opened more than 10 mins
  • Condition(s):
    • Garage door alarm is active
  • Action(s):
    • Notify "The garage door has been opened for more than 10 mins. Please close the garage door. Thank you" at 50% on garage speaker
    • Notify "The garage door has been opened for more than 10 mins. Please close the garage door. Thank you" at 50% on living room speaker
    • Notify "The garage door has been opened for more than 10 mins. Please close the garage door. Thank you" at 50% on kitchen display if the kitchen display is not in use
    • Notify "The garage door has been opened for more than 10 mins. Please close the garage door. Thank you" at 50% on master bedroom display
    • Notify "The garage door has been opened for more than 10 mins. Please close the garage door. Thank you" at 50% on office display
    • Notify "The garage door has been opened for more than 10 mins. Please close the garage door. Thank you" on TV
    • Turn on fridge WLED with blink effect

Close the garage door after 12 mins if the garage alarm is enabled

  • Trigger(s):
    • Garage door sensor is opened more than 12 mins
  • Condition(s):
    • Garage door alarm is active
  • Action(s):
    • Notify "The garage door is about to close" at 50% on garage speaker
    • Turn the garage lights to red
    • Wait 10s
    • Close the garage door

Raise alarm if the temperature in the garage is over 35 degrees

  • Trigger(s):
    • Garage temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in the garage is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in the garage is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in the garage is over 35 degrees." on TV
    • Notify "The temperature in the garage is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Send notifications if the fridge is off for 30 mins

  • Trigger(s):
    • Garage fridge switch current is below 300mA for 30 mins
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on the garage light in red
    • Turn on the master bedroom bedside light in red
    • Announce "The garage fridge is off." at 50% on living room speaker
    • Announce "The garage fridge is off." at 50% on master bedroom display
    • Notify "The garage fridge is off." on TV
    • Notify "The garage fridge is off." on Charles mobile phone

Send notifications if of motion detected in garage during night

  • Trigger(s):
    • Garage motion sensor is on for 15s
  • Condition(s):
    • Time between midnight and 6am
    • input_boolean.disable_garage_alarm is off
  • Action(s):
    • Turn on the garage light in red
    • Turn on the master bedroom bedside light in red
    • Play alarm sound on master bedroom display
    • Play alarm sound on living room speaker

Garden Automations

Send notifications about incoming rain

  • Trigger(s):
    • Forecast precipitation binary sensor changes from on to off
  • Condition(s):
    • Time between 8am and 8pm
  • Action(s):
    • Notify "Heavy rain is coming. Please bring the clothes in" at 50% on living room speaker
    • Notify "Heavy rain is coming. Please bring the clothes in" on TV
    • Turn on sticks WLED with rain effect
    • Turn on fridge WLED with rain effect
    • Wait 20s
    • Turn off sticks WLED
    • Turn off fridge WLED

Turn on the garden bed X faucet at a specific time if moisture below level

  • Trigger(s):
    • Time reaches a specific time
  • Condition(s):
    • Garden bed X moisture range binary sensor is off
  • Action(s):
    • Turn on the garden bed X faucet
    • Notify "The faucet on the garden bed 1 has been turned on" at 50% on living room speaker if not in use

Turn off the garden bed X faucet at a specific time

  • Trigger(s):
    • Time reaches a specific time
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off the garden bed X faucet

Turn off the garden bed X faucet at a specific time if moisture is within range

  • Trigger(s):
    • Garden bed X moisture range binary sensor is on
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off the garden bed X faucet

Greenhouse Automations

Turn on grow heater 1 if garage temperature is below 13 between 7pm and 7am

  • Trigger(s):
    • Garage temperature is below 13
  • Condition(s):
    • Time between 7pm and 7am
  • Action(s):
    • Turn on the grow heater 1
    • Notify "The grow heater 1 has been turned on!" on Charles mobile phone home assistant app

Turn off grow heater 1 if garage temperature is above 17 between 7pm and 7am

  • Trigger(s):
    • Garage temperature is above 17
  • Condition(s):
    • Time between 7pm and 7am
  • Action(s):
    • Turn off the grow heater 1
    • Notify "The grow heater 1 has been turned off!" on Charles mobile phone home assistant app

Turn off grow heater X at 8am

  • Trigger(s):
    • Time is 8am
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off the grow heater 1

Turn on grow light 1 at 8:30am

  • Trigger(s):
    • Time is 8:30am
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on grow light 1

Turn off grow light 1 at 5pm

  • Trigger(s):
    • Time is 5pm
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off grow light 1

Laundry Automations

Notify that the clothes are washed

  • Trigger(s):
    • washer_wash_completed binary sensor goes from off to on
  • Condition(s):
    • Time before 8pm AND
  • Action(s):
    • Notify "The washing machine cycle is completed. The clothes are washed." at 50% on living room speaker if not in use
    • Notify "The washing machine cycle is completed. The clothes are washed." on TV
    • Turn on fridge WLED with fire 2012 effect
    • Wait 15s
    • Turn off fridge WLED

Living room Automations

Turn on entry light when motion is detected in the entry

  • Trigger(s):
    • Entry presence binary sensor goes from off to on for 2s
  • Condition(s):
    • Sun elevation is below a defined angle
  • Action(s):
    • Turn on entry light 1

Turn off entry light when no motion is detected for 2 minutes in the entry

  • Trigger(s):
    • Entry presence binary sensor goes from on to off for 2 mins
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off entry light 1

Turn off fireplace if TV is switched off after 10pm

  • Trigger(s):
    • Living room TV goes from playing to off for 10s
  • Condition(s):
    • Time after 10pm
  • Action(s):
    • Send command to broadlink to turn off the fireplace

Turn off entry light when the TV switches on

  • Trigger(s):
    • Living room TV goes from off to playing for 10s
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off entry light 1

Turn on chinese light and entry light when the TV switches off after the sun elevation is below a defined angle and before 8:15pm

  • Trigger(s):
    • Living room TV goes from playing to off for 10s
  • Condition(s):
    • Sun elevation is below a defined angle AND
    • Time before 8:15pm
  • Action(s):
    • Turn on chinese light
    • Turn on entry light
    • Turn on sticks WLED with candle effect

Turn off TV if Charles is not home at 10:00pm

  • Trigger(s):
    • Time is 10pm
  • Condition(s):
    • Charles is not home
  • Action(s):
    • Notify "The TV will be switched off in 2 mins" on TV
    • Wait 120s
    • Turn off TV

Send a camera snapshot when motion is detected in the entry at night

  • Trigger(s):
    • Entry presence binary sensor goes from off to on
  • Condition(s):
    • Time before 9pm and 7am
  • Action(s):
    • Snapshot from living room camera

Read text on living room speaker

  • Trigger(s):
    • Text input on living room lovelace view
  • Condition(s):
    • Nil
  • Action(s):
    • Announce the input text on the living room speaker

Pause the TV if Charles is on a call then restart when call is finished

  • Trigger(s):
    • Charles phone state is offhook
  • Condition(s):
    • Charles is home
  • Action(s):
    • Pause living room TV
    • Resume living room TV after Charles phone state is idle

Luna bedroom automations

Turn on Luna air purifier at 7:30pm

  • Trigger(s):
    • Time is 7:30pm
  • Condition(s):
    • Charles is home OR
    • Dorothy is home
  • Action(s):
    • Turn on Luna air purifier
    • Notify "Luna air purifier turned on." on TV

Turn off Luna air purifier at 7am

  • Trigger(s):
    • Time is 7am
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off Luna air purifier
    • Notify "Luna air purifier turned off." on TV

Turn off Luna AC at specified time

  • Trigger(s):
    • Time reaches the specified time
  • Condition(s):
    • luna_ac_active_timer is active
  • Action(s):
    • Turn off Luna AC
    • Reset the sepcified time to 7am
    • Deactivate luna_ac_active_timer
    • Notify "Luna AC turned off." on TV

Turn on Luna AC at specified time

  • Trigger(s):
    • Time reaches the specified time
  • Condition(s):
    • luna_ac_active_timer is active
  • Action(s):
    • Turn on Luna AC to heat
    • Reset the sepcified time to 7am
    • Deactivate luna_ac_active_timer
    • Notify "Luna AC turned on to heat." on TV

Reset Luna AC timer at 10am

  • Trigger(s):
    • Time is 10am
  • Condition(s):
    • Nil
  • Action(s):
    • Deactivate luna_ac_active_timer

Raise alarm if the temperature in Luna bedroom is over 35 degrees

  • Trigger(s):
    • Luna bedroom temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in Luna bedroom is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in Luna bedroom is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in Luna bedroom is over 35 degrees." on TV
    • Notify "The temperature in Luna bedroom is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Master bedroom automations

Turn on the bed heater at 9:30pm if master bedroom temperature is below 18

  • Trigger(s):
    • Time is 9:30am
  • Condition(s):
    • Master bedroom temperature is below 18
  • Action(s):
    • Turn on the bed heater
    • Notify "The bed heater has been turned on." on TV

Turn off the bed heater at midnight

  • Trigger(s):
    • Time is 12am
  • Condition(s):
    • Master bedroom temperature is below 18
  • Action(s):
    • Turn off the bed heater
    • Notify "The bed heater has been turned off." on TV

Read text on master bedroom display

  • Trigger(s):
    • Text input on master bedroom lovelace view
  • Condition(s):
    • Nil
  • Action(s):
    • Announce the input text on the master bedroom display

Raise alarm if the temperature in the master bedroom is over 35 degrees

  • Trigger(s):
    • Master bedroom temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in the master bedroom is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in the master bedroom is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in the master bedroom is over 35 degrees." on TV
    • Notify "The temperature in the master bedroom is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Mezzanine automations

Turn on the cabinet and office wleds to red if the UPS is discharging

  • Trigger(s):
    • UPS data goes from OL to OB DISCHRG for 10s
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on cabinet WLED with blink effect
    • Turn on office WLED with blink effect

Turn off the cabinet and office wled if the UPS is normal

  • Trigger(s):
    • UPS data goes from OB DISCHRG to OL for 10s
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off cabinet WLED
    • Turn off office WLED

Turn on the cabinet and office wled to red if a critical device is disconnected

  • Trigger(s):
    • critical_device_status binary sensor goes from on to off for 2s
  • Condition(s):
    • Time is after 7am
  • Action(s):
    • Turn on cabinet WLED with solid effect
    • Turn on office WLED with solid effect
    • Notify "A critical device is disconnected." on TV

Turn off the cabinet and office wled if all critical devices are connected

  • Trigger(s):
    • critical_device_status binary sensor goes from off to on for 2s
  • Condition(s):
    • Time is after 7am
  • Action(s):
    • Turn off cabinet WLED
    • Turn off office WLED

Office automations

Turn on office light when motion is detected in the office in the evening

  • Trigger(s):
    • office motion sensor detects presence for 2s
  • Condition(s):
    • Sun elevation is below a defined angle AND
    • Time is after 1pm AND
    • Activate_halloween_time boolean is off
  • Action(s):
    • Turn on office ceiling light

Turn off office light when no motion is detected for 5 mins in the office in the evening

  • Trigger(s):
    • office motion sensor does not detect presence for 5 mins
  • Condition(s):
    • Sun elevation is below a defined angle AND
    • Time is after 1pm AND
    • activate_halloween_time boolean is off
  • Action(s):
    • Turn off office ceiling light

Turn on office WLED when office display is playing music

  • Trigger(s):
    • Office display state is playing
  • Condition(s):
    • Nil
  • Action(s):
    • Launch the random_office_wled scipt

Turn off office WLED when office display is not playing music

  • Trigger(s):
    • Office display state is off
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off office WLED

Send notifications if device X is disconnected

  • Trigger(s):
    • Device X status binary sensor is off for 1 min
  • Condition(s):
    • Nil
  • Action(s):
    • Notify "Device X is disconnected" at 50% on office speaker
    • Notify "Device X is disconnected." on TV
    • Wait 20s
    • Turn off office WLED

Read text on office display

  • Trigger(s):
    • Text input on office lovelace view
  • Condition(s):
    • Nil
  • Action(s):
    • Announce the input text on the office display

Pause the office display if Charles is on a call then restart when call is finished

  • Trigger(s):
    • Charles phone state is offhook
  • Condition(s):
    • Charles is home
  • Action(s):
    • Pause office display
    • Resume office display after Charles phone state is idle

Pause the office display if Charles is on TEAMS then restart when call is finished

  • Trigger(s):
    • micactivesensor binary sensor is on
  • Condition(s):
    • Charles is home
  • Action(s):
    • Pause office display
    • Resume office display after Charles phone state is idle

Raise alarm if the temperature in the office is over 35 degrees

  • Trigger(s):
    • Office temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in the office is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in the office is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in the office is over 35 degrees." on TV
    • Notify "The temperature in the office is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Pantry automations

Send notifications if the pantry door is opened more than 2 mins

  • Trigger(s):
    • Pantry door sensor goes from off to on for 2 mins
  • Condition(s):
    • Time between 7am and 10pm
  • Action(s):
    • Turn on pantry light to red
    • Notify "Please close the pantry door. Thank you." on TV
    • Notify "Please close the pantry door. Thank you." at 50% on living room speaker if not in use

Turn on pantry light when pantry door is opened

  • Trigger(s):
    • Pantry door sensor goes from off to on
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on pantry light to white

Turn off pantry light when pantry door is closed

  • Trigger(s):
    • Pantry door sensor goes from on to off for 2s
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off pantry light

Raise alarm if the temperature in the pantry is over 35 degrees

  • Trigger(s):
    • Pantry temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in the pantry is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in the pantry is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in the pantry is over 35 degrees." on TV
    • Notify "The temperature in the pantry is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Patio automations

Turn on the patio light when motion detected by patio motion sensor

  • Trigger(s):

    • Patio motion sensor goes from off to on for 2s
  • Condition(s):

    • Sun elevation is below a defined angle
  • Action(s):

    • Turn on patio light

    Turn off the patio light 2 minutes after last movement detected by patio motion sensor

  • Trigger(s):

    • Patio motion sensor goes from on to off for 2 mins
  • Condition(s):

    • Nil
  • Action(s):

    • Turn off patio light

Turn on the halloween sound under the patio when motion is detected under the patio and halloween mode is active

  • Trigger(s):
    • Patio motion sensor goes from off to on for 2s
  • Condition(s):
    • activate_halloween_time input boolean is active
  • Action(s):
    • Launch halloween_sound script

Sophie bedroom automations

Turn on Sophie air purifier at 7:30pm

  • Trigger(s):
    • Time is 7:30pm
  • Condition(s):
    • Charles is home OR
    • Dorothy is home
  • Action(s):
    • Turn on Sophie air purifier
    • Notify "Sophie air purifier turned on." on TV

Turn off Sophie air purifier at 7am

  • Trigger(s):
    • Time is 7am
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off Sophie air purifier
    • Notify "Sophie air purifier turned off." on TV

Turn on Sophie AC to cool if temperature is above 23 at 7:30pm

  • Trigger(s):
    • Time is 7:30pm
  • Condition(s):
    • Sophie bedroom temperature is above 23 AND
    • Charles is home OR
    • Dorothy is home
  • Action(s):
    • Set Sophie AC mode to cool to 22 degrees
    • Notify "Sophie AC turned to cool" on TV
    • Notify "Sophie AC turned to cool" at 50% on sophie bedroom speaker

Turn on Sophie AC to heat if temperature is below 19 at 7:30pm

  • Trigger(s):
    • Time is 7:30pm
  • Condition(s):
    • Sophie bedroom temperature is below 19 AND
    • Charles is home OR
    • Dorothy is home
  • Action(s):
    • Set Sophie AC mode to heat to 22 degrees
    • Notify "Sophie AC turned to heat" on TV
    • Notify "Sophie AC turned to heat" at 50% on sophie bedroom speaker

Turn on Sophie AC to cool if temperature is above 23 during nap on Saturdays and Sundays

  • Trigger(s):
    • Sophie bedroom temperature is above 23
  • Condition(s):
    • Day is Saturday or Sunday AND
    • Time is between 12:30pm and 4pm AND
    • Charles is home OR
    • Dorothy is home
  • Action(s):
    • Set Sophie AC mode to cool to 22 degrees
    • Notify "Sophie AC turned to cool" on TV

Turn on Sophie AC to cool if temperature is above 23 at 12:30pm on Saturdays and Sundays

  • Trigger(s):
    • Time is 12:30pm
  • Condition(s):
    • Day is Saturday or Sunday AND
    • Sophie bedroom temperature is above 23 AND
    • Charles is home OR
    • Dorothy is home
  • Action(s):
    • Set Sophie AC mode to cool to 22 degrees
    • Notify "Sophie AC turned to cool" on TV
    • Notify "Sophie AC turned to cool" at 50% on sophie bedroom speaker

Turn on Sophie AC to heat if temperature is below 19 at 12:30pm on Saturdays and Sundays

  • Trigger(s):
    • Time is 12:30pm
  • Condition(s):
    • Day is Saturday or Sunday AND
    • Sophie bedroom temperature is below 19 AND
    • Charles is home OR
    • Dorothy is home
  • Action(s):
    • Set Sophie AC mode to heat to 22 degrees
    • Notify "Sophie AC turned to heat" on TV
    • Notify "Sophie AC turned to heat" at 50% on sophie bedroom speaker

Turn off Sophie AC at 7am

  • Trigger(s):
    • Time is 7am
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off Sophie AC

Turn off Sophie AC at 4pm

  • Trigger(s):
    • Time is 4pm
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off Sophie AC
    • Notify "Sophie AC turned off" on TV

Turn off Sophie AC at specified time

  • Trigger(s):
    • Time reaches specified time
  • Condition(s):
    • sophie_ac_active_timer input boolean is on
  • Action(s):
    • Turn off Sophie AC
    • Wait 15s
    • Set input_datetime.sophie_ac_off to 7am
    • Turn off sophie_ac_active_timer input boolean
    • Notify "Sophie AC turned off" on TV

Reset Sophie AC timer

  • Trigger(s):
    • Time is 10 am
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off sophie_ac_active_timer input boolean

Turn on Sophie flower light and mezzanine light during night if Sophie opens her bedroom door

  • Trigger(s):
    • sophie_door_sensor binary sensor goes from off to on for 2s
  • Condition(s):
    • Time between 9pm and 06:45am
  • Action(s):
    • Turn on Sophie flower light
    • Turn on mezzanine light

Turn off lights after Sophie goes back to sleep

  • Trigger(s):
    • sophie_door_sensor binary sensor goes from on to off for 2s
  • Condition(s):
    • Time between 9pm and 06:45am
  • Action(s):
    • Wait 30s
    • Turn off Sophie flower light
    • Turn off mezzanine light

Turn off sophie ceiling and flower lights when pressing the sophie ceiling light button between 07pm and 9pm

  • Trigger(s):
    • sophie_ceiling_light goes from on to off for 2s
  • Condition(s):
    • Time between 7pm and 9pm
  • Action(s):
    • Turn off Sophie flower light
    • Turn off Sophie ceiling light

Read text on Sophie speaker

  • Trigger(s):
    • Text input on Sophie bedroom lovelace view
  • Condition(s):
    • Nil
  • Action(s):
    • Announce the input text on the Sophie speaker

Raise alarm if the temperature in Sophie bedroom is over 35 degrees

  • Trigger(s):
    • Sophie bedroom temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature in Sophie bedroom is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature in Sophie bedroom is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature in Sophie bedroom is over 35 degrees." on TV
    • Notify "The temperature in Sophie bedroom is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Under stairs automations

Turn on under the stairs light when under the stairs door is opened

  • Trigger(s):
    • understairs_sensor binary sensor goes from off to on
  • Condition(s):
    • Nil
  • Action(s):
    • Turn on under stairs light to white

Turn off under the stairs light when under the stairs door is closed

  • Trigger(s):
    • understairs_sensor binary sensor goes from on to off for 2s
  • Condition(s):
    • Nil
  • Action(s):
    • Turn off under stairs light

Raise alarm if the temperature under the stairs is over 35 degrees

  • Trigger(s):
    • Under the stairs temperature is over 35 degrees
  • Condition(s):
    • Nil
  • Action(s):
    • Announce "The temperature under the stairs is over 35 degrees." at 50% on living room speaker
    • Announce "The temperature under the stairs is over 35 degrees." at 50% on master bedroom display
    • Notify "The temperature under the stairs is over 35 degrees." on TV
    • Notify "The temperature under the stairs is over 35 degrees." on Charles mobile phone
    • Turn on fridge WLED with solid effect in red
    • Turn on master bedroom bedside light in red

Scripts

Bloody Dorothy Phone Scripts

Sequence:

  • Notify "Answer your bloody phone. Thank you" on living room speaker
  • Notify "Answer your bloody phone. Thank you" on master bedroom speaker
  • Notify "Answer your bloody phone. Thank you" on kitchen display
  • Notify "Answer your bloody phone. Thank you" on office display

Halloween Scripts

Halloween light

  • Sequence:
    • Turn on the garage_wled_master light
    • Turn off the garage_wled_segment_1 light
    • Turn off the garage_wled_segment_2 light
    • Turn on the garage_wled, garage_wled_master, garage_wled_segment_1 and garage_wled_segment_2 lights with halloween effect
    • Turn on the front_garden light
    • Turn on the patio light
    • Turn on the office_ceiling light in red
    • Turn on the office_wled light with solid effect in red
    • Repeat toggle front_garden, patio, office_ceiling and office_wled lights with a random duration between 200 and 2000ms

Halloween sound

  • Sequence:
    • Play a random local halloween sound at 50% on garage speaker

Radio Paradise Scripts

  • Sequence:
    • Set volume to 35% on the selected media player
    • Play the Radio Paradise playlist URL on the selected media player

Record Scripts

  • Sequence:
    • Set volume to 35% on the selected media player
    • Play the selected record on the selected media player

Spotify Scripts

  • Sequence:
    • Set volume to 35% on the selected media player
    • Play the selected Spotify playlist URL on the selected media player

TV Programs Scripts

  • Sequence:
    • Turn on the Sony Bravia TV
    • Turn on the Pioneer receiver
    • Wait 10s
    • Set selected source
    • Play selected programme

WLED Scripts

Random garage WLED

  • Sequence:
    • Turn on the garage_wled_master light
    • Turn off the garage_wled_segment_1 light
    • Turn off the garage_wled_segment_2 light
    • Turn on the garage_wled, garage_wled_master, garage_wled_segment_1 and garage_wled_segment_2 lights with random effect

Random office WLED

  • Sequence:
    • Turn on the office_wled light with random effect

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published