I have a detached wood shop, and am starting to use HA for assorted things in and around the shop. This post is about some security-related monitoring.
This is still a work in progress, as I work my way through learning HA. I will provide updates as I have them, or just ask!
When I built my workshop, I installed door switches in the door frame - so I have a trigger when the door is opened. The shop lights are controlled with a Lutron Caseta switch. These two are used for the workshop alarm in it’s current state. I am using a Shelly One Plus for the door sensor. I have additional plans for this device as well.
When the door is opened, the status of the light switch is checked - if the lights are on, the shop is assumed to be ‘open’ and a doorbell chime sounds. If the lights are off, multiple things happen.
- The lights are turned on
- A message is sent to my phone
- An alert tone plays
- An announcement that the door has been opened plays
- An entry timer starts
When the timer expires, the alert plays again - and repeats on a loop until reset. Another message is sent to my phone that the alarm is triggered. When the reset is triggered, another message is sent to my phone. If the reset is tripped before the timer expires, the reset message is sent to my phone, but the alert does not replay and loop.
The other thing I wanted was to have an alert if the door is left open. When the door is opened, a timer is started. When it expires, a door open message plays, and repeats on an interval. I have a button on the shop dashboard that triggers a reset for the door open timers - if the door is left open on purpose, I don’t want to hear about it. Closing the door also disables/stops the door open alerts.
This is all done using Node-red. In the flow below, the timers are set to 15s - so I don’t have to wait multiple minutes while testing.
What is not done - I do not have the actual alarm reset/disarm set up yet - which is temporarily represented by the Test Trigger. I am also planning an RFID card for reset/disarm/unlock for the shop - that is still under development, and is not part of this workflow/automation.
If you have any questions, let me know!


