[RELEASE CANDIDATE] Nutty Home Office (Set a "Work from Home" mode)

I work from home most days and start usually before my wife leaves for work. I wanted to run a routine to turn off lights, TV’s etc, close the garage door (my wife is notorious for leaving it open), and turn down/up the thermostats for all but the zone my office is in. I know there is already a SmartApp to do this but it isn’t very smart, it only triggers at the start time so if my wife leaves late or I run an errand during the day it doesn’t work. So I developed my own “Nutty” (my last name means nut tree) Home Office SmartApp. It will evaluate if the mode needs to change at the start time AND every time a selected presence sensor leaves or arrives and then sets the mode back to Home at the end of the work day. I have been using this for a couple of months now without any issues. Let me know if you see any issues.

https://github.com/nuttytree/Nutty-SmartThings/tree/master/smartapps/nuttytree/nutty-home-office.src

2 Likes