Currently, if my house alarm is triggered I scan down all my sensors and see which has been triggered in or around the time the house alarm was triggered. However, this is a bit clunky, especially as I have lots of motion, door contact, vibration etc sensors to check.
I want to find a good way to very quickly identify on my dashboard which sensors have been triggered within X minutes before and Y minutes after my house alarm is triggered.
Any good ideas on the best way to achieve this?
I don’t think showing a log is helpful as it can be difficult to interpret very quickly. My thinking is having a solution which only shows an entity card / badge of sensors which have been triggered (and when) by reference to a period time before and after the point in time the house alarm was triggered.
What I’m thinking is that there shouldn’t be any triggers if everything is as it should.
So any trigger in between arming and disarming should be few, right?
So what if you make a triggered template that triggers on all the sensors, and the condition is that alarm is in armed mode.
Action is {{ trigger.entity_id }}.
That would save the last triggering entity.
Perhaps you could use {{ states('sensor.THIS ENTITY') ~ ", " ~ trigger.entity_id }}.
This should save all of them.
But then you need a choose to when disarmed and action: clear the entity.
Here’s a use case: a shock sensor detects vibration and triggers the house alarm. Is there an intruder or is it a false alarm?
Before going to investigate I want to check whether any sensors - which may not be connected to the house alarm - have detected motion.
If I can see that one or more motion sensors have also been triggered - just before or just after - I know it is likely an actual intrusion in our house and I can investigate accordingly.
If I see that no motion sensors have been triggered then I know it is likely a false alarm.