I know that openhab2 supports IP phones,door/window sensors, motion sensors and IP cameras. It also supports asterisk ( Asterisk is a software implementation of a private branch exchange. ) Each room has a microphone and speakers.
The scenario: A burglar(s) commits a breaking and entering, this trips the armed alarm system, and notifies the alarm company.
Openhab then performs the following actions:
1:Turns on the lights.
2:The IP cameras inside the building starts recording. The activities in rooms can be monitored on a web page based on the motion sensors. The microphones are turned on based on the motion sensors and uses this to follow the burglars whereabouts, and records whatever the burglars are speaking about.
3: uses asterisk to call the house owners, so the owners can monitor the IP cameras and the sound in each room. If the first owner does not answer the phone,the second one is called.
4: the owner can press a DTMF key to turn on the speakers and politely inform the burglars that: Their actions are being monitored and recorded, and that the police are on their way, and that this is not a recorded message.
Is that possible to do?