I have Home Assistant, Smart Things, Konnected, Hayward Omnipool, and ESP Home (and a little Hubitat too). I’m learning and experimenting with ESP Home as of late (quite enjoyable). I’m looking to learn more on ESP Home by adding a monitor for my physical pool equipment and a landscape lighting controller.
I plan to add a simple PIR/motion sensor and tamper switch in addition to 4 relays with a wifi ESP at the pool equipment pad. I’ve already got the sensors worked out and code working on both dev board and an integrated ESP with 4 onboard relays. I could try to integrate the Konnected yaml but have instead written from scratch.
My question… what’s the best way to approach the tamper and or motion aspects. I’m just reading on Alarmo. Do I need a state machine to latch the motion or tamper detction? I don’t necessarily want a full on code to deactivate the alarm, loud alarm noise (just a notification on tamper or motion is fine), maybe an auto-reset after 5m detection. Happy for some ideas.