Event Engine Cog Examples

As Event Engine becomes more popular, I see a lot of 'how can I do this' type of questions coming. :wink: So wanted to setup a spot to post your favorite Cogs!

I think everyone will know how to turn a device on or off so lets see some of the more complex stuff!

Remember, at a the bottom of each Cog is an easy to read description containing all of the Cog's options needed to reproduce.

If you want your Cog Description added to this list, please PM me. Thanks


Auto Door Lock - Post 5
Keen Vent Control - Post 6
Keep a device on between two times, else off - Post 2
Notify when Heat/Cooling is on and Window/Door is open - Post 3
Recycle Week (every other week) - Post 2
Simple Contact Sensor Open/Close Warning - Post 2
Trash Night Reminder - Post 2
Washer or Dryer Notifications - Post 2
When things quiet down - Post 4

4 Likes

Event Engine Cog (2.5.1) - Office - Washer Notification

Conditions
***** Cog will fire when ALL Condition are true (Using AND)
- By Power Setpoints: [Office Washer Plug on Home] - setpoint High: false NA, setpoint Low: true 4
- Rolling Average: true - Use Whole Numbers: true - ResetTime: NA

Actions
- Delay Between Actions: 250

Notifications
- Use Speech: Follow Me
- Message when reading is too low: The Washer is Finished;Time to move the wet clothes



- Keep a device on between two times, else off -

Event Engine Cog (2.5.1) - Bathroom Towel Warmer

Conditions
***** Cog will fire when ALL Condition are true (Using AND)
- Between two times - From: Mon Dec 28 05:00:00 EST 2020 - To: Mon Dec 28 08:01:00 EST 2020 - as Restriction: false

Actions
- Switches to turn On: [Bathroom Towel Warmer on Home]
- Reverse: true
- Delay Between Actions: 250



- Trash Night Reminder -

Event Engine Cog (2.5.1) - Reminder - Tues Trash Night

Conditions
***** Cog will fire when ALL Condition are true (Using AND)
- By Days - [Tuesday] - as Restriction: true
- Certain Time - Mon Dec 28 19:00:00 EST 2020 - Repeat: false - Schedule: NA

Actions

Notifications
Notification: Use Speech: Follow Me
Notification: Message: Hey, don't forget to take out the trash;Yoo hoo, trash night



- Recycle Week (every other week) -

Event Engine Cog (2.5.1) - Reminder - Recycle Week

Conditions
***** Cog will fire when ALL Condition are true (Using AND)
- By Periodic - Run: 0 1 19 22/14 * ? * - Reverse: NA

Actions
- Delay Between Actions: 250

Notifications
Notification: Use Speech: Follow Me
Notification: Message: It's recycle week;All 4 barrels this week



- Simple Contact Sensor Open/Close Warning -

Event Engine Cog (2.5.1) - Outside - Package Shed Opened

Conditions
***** Cog will fire when ALL Condition are true (Using AND)
- By Contact Sensor: [Outside Package Shed Sensor on Home] - ClosedOpen: true, ANDOR: false

Actions
- Delay Between Actions: 250

Notifications
- Use Speech: Follow Me
- Message: The package shed has been opened

1 Like

- Notify when Heat/Cooling is on and Window/Door is open -

Triggers
Trigger: By Contact Sensor: [Test Virtual Contact Sensor 1 ON APPS] - ClosedOpen: true, ANDOR: false
Trigger: By Thermostat: [Test Virtual Thermostat]
Trigger Option: Set Delay: true - notifyDelay: 5 - Random Delay: false

Actions
Action: Switches to turn On: [Test Zwave Bulb - Inovelli Multi Color]
Action: Reverse: true - Delay On Reverse: false
Action: Use Permanent Dim: false - Permanent Dim Level: NA

Replace the old "When things quiet down" we used to have built into smartthings.

Triggers
Trigger: By Mode - [Home] - as Restriction: false
Trigger: Between two times - From: 2020-09-24T00:02:00.000-0400 - To: 2020-09-24T03:00:00.000-0400 - Midnight: false - as Restriction: false
Trigger: By Motion Sensor: [Kitchen Motion, Front Hall Motion, Den Motion, Living Room Motion, Upstairs Hall] - InactiveActive: false, ANDOR: false
Trigger Option: Set Delay: true - notifyDelay: 10 - Random Delay: false

Actions
Action: Change Mode to: Night
Action: Switches to turn Off: [Lights Off at night]
Action: Use Permanent Dim instead of Off: false - Level: NA

1 Like

- Auto Door Lock -

Event Engine Cog (2.5.1) - Kitchen Backdoor Auto Lock when Closed

Conditions
***** Cog will fire when ALL Condition are true (Using AND)
- Between two times - From: Mon Dec 28 21:00:00 EST 2020 - To: Tue Dec 29 06:00:00 EST 2020 - as Restriction: true
- By Contact Sensor: [Kitchen Back Door Sensor on Home] - ClosedOpen: false, ANDOR: false
- Set Delay: true - notifyDelay: 10 Second(s) - Random Delay: false

Actions
- Lock Devices: [Kitchen Back Door Lock on Home] - Unlock Devices: NA
- Delay Between Actions: 250

2 Likes

- Keen Vents -
Event Engine Cog (2.5.1) - Living Room Vents

Conditions
***** Cog will fire when ALL Condition are true (Using AND)
- By Temperature Setpoints: [AP - Living Room Temp on Home] - setpoint High: false NA, setpoint Low: true 70
- Rolling Average: false - Use Whole Numbers: false - ResetTime: NA

Actions
- Dimmers to Set: [Living Room Vent - Under Window on Home, Living Room Vent - Wall on Home] - On Level: 75 - Color: NA - Temp: NA
- Reverse High: false - Reverse Low: true - Reverse Between: false
- Use Permanent Dim: true - PD Level: 10 - PD Color: NA - Temp: NA
- Delay Between Actions: 250

1 Like

Download the Hubitat app