80 likes | 363 Views
Panic. Panic. All – {On}. On. On. Power Off. Input Ready. Timeout. All – {On, Panic}. Password Input. State diagram for SafeHome security function. Start(on). off/ powerOff. systemOK. initializing. Idle. Reset(reset). failureDetected. Activate(away). Deactivate (stay).
E N D
Panic Panic All – {On} On On Power Off Input Ready Timeout All – {On, Panic} Password Input
State diagram for SafeHome security function Start(on) off/powerOff systemOK initializing Idle Reset(reset) failureDetected Activate(away) Deactivate (stay) Deactivate (stay) Deactivate(stay) panic Emergency panic panic timeOut Monitoring Alarm sensorTriggered/restartTimer sensorTriggered/startTimer
Power on Press a button/ Ignore Press button 1 initializing failureDetected
Password check #1 Password check #2 Abstract password input Press Button 0-9/ Store digits Press button 2(off) Press button #,* valid Idle Password Input Password Check Timeout Invalid Abstract password input Press Button 0-9, #,*/ Store digits Press Button 0-9, #,*/ Store digits Press Button 0-9, #,*/ Store digits Press button 2(off) valid Password Input #2 Password Input #4 Password Check Idle Password Input #1 … Timeout Timeout Timeout Invalid
Reset systemOK Resetting Idle Invalid, timeout Press button 3(reset) valid Abstract Password Input Panic valid Idle Abstract Password Input Invalid, timeout Press button *, Press button # Press Button 8(stay) Monitoring Emergency Alarm Press button *, Press button # Press button *, Press button #
Stay to Away deactivatePassword Monitoring Idle Invalid, timeout valid Not Ready Press button 7(away) Abstract Password Input Check Ready Ready Away to Stay Activate Idle Monitoring Invalid, timeout Press Button 8(stay) valid Abstract Password Input
Verifying new password/ Change password New password/ Store digits Valid old password Press button 9(code) Abstract Password Input Abstract Password Input Abstract Password Input Idle Invalid, Timeout Timeout Timeout