Our team decided to use OMNETT++ to model our system process, as it allows us to easily modify the model to fit different environments.
Starting from the left most side, we have classified events into two categories, each with their respective "probabilities" of occurring: passive and emergency events.
Passive events are what we consider events that the user should be notified of but don't require immediate contact with emergency services, this could include events like unexpected movement or a door being left unlocked.
Emergency events are events that likely require immediate emergency service contact. This includes smoke detectors triggering, windows being broken, or anything the user deems serious enough.
All events that can be detected will be picked up by sensors and sent to our "security hub" which can determine which sensor detected the event and who needs to be contacted regarding the event. The three "sink" blocks on the right most side of the model represent the user's devices, the emergency services which our system would be able to contact, and reactionary modules, which will allow the system to respond to some emergencies with smart home integration.
Process Models
Our team has created models for two specific processes associated with our security system. Both systems are modeled using terminology associated with MQTT communication, a simple and effective method to quickly transmit critical security data
This model demonstrates how the system will let the user know and interact when a door/window is open/closed. MQTT is the protocol used to allow the user to know the status and allow them whether to update the status.
The model above demonstrates how the camera security aspect will be implemented. MQTT communication is used to use a publisher/subscriber to record and post to a camera topic. The video is saved as .mp4 and the camera keeps recording and repeats the cycle.