I built this to get the last date/time of each PIR (passive infrared sensor) that is hooked up to my home alarm system (plus uses rr4dj graphing for historical purposes) into OpenHAB. This could be handy to supplement home presence (although can’t be solely relied upon). Its one of those things that I built for the hell of it, but actually have found it quite handy at the times I’ve been out of the house…
Its a Bosch alarm. The setup may vary a little based on the make/model of one’s alarm, however the whole concept should be pretty much the same - there maybe slight changes you’d have to make for it to work. It was (arduino code and openhab rules specifically) hacked together fairly quick, but it works well. Thanks to a guy on another forum who pointed me in the LM339 comparator chip direction - made life a lot easier when building it!