0% found this document useful (0 votes)
11 views5 pages

Lab Task

Uploaded by

Abdul Momin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views5 pages

Lab Task

Uploaded by

Abdul Momin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

LAB TASK

UML DIAGRAMS AND


IMPLEMENTATION

ABDUL MOMIN | FA22-BSE-006


Software Design and
Architecture
SIR MUKHTIAR ZAMIN

Submission Due Date

Oct 15, 2024


COMSATS UNIVERSITY ISLAMABAD

CASE STUDY: HOME AUTOMATION SYSTEM

1. Case Study:

Brief Overview: The Home Automation System allows users to control various appliances and
features in their home remotely. Major functionalities include:

• Controlling lights, garage doors, and home appliances


• Monitoring smoke and motion detectors
• Viewing live CCTV camera streams
• Managing security alarms for intruder detection
• Voice-activated locking mechanisms
• Monitoring temperature, water tank levels, and more

2. Use Case Diagram:

HOME AUTOMATION SYSTEM

Login
Motion
Alarm
Control Home Appliances

Motion
Open/Close Motion Detector
lights
Garrage Door

Adjust Temperature

Smoke Smoke Detector


View Camera Alarm

User
<<includes>>
Dim Light

Control
light
Temp Sensor
<<includes>>
Turn on/off
Show Temp

Intruder
Detection and Door status
Alarm
Open door
Alarm Open Door Detector

Check water tank


level

Voice activated
lock

Logout

2
COMSATS UNIVERSITY ISLAMABAD

3. Fully Dressed Use Case:

Use Case Name: Control Lights


Primary Actor: User
Stakeholders: User, Home Automation System
Preconditions: User must be logged into the system.
Postconditions: The lights are turned on or off, depending on the user’s input.
Main Success Scenario:
1. The user selects the option to control the lights.
2. The system displays the status of the lights (ON or OFF).
3. The user chooses to turn the lights ON or OFF.
4. The system changes the status of the lights accordingly and confirms the action.
Extensions
2a. If there’s an error in retrieving the status of the lights, the system will show an error
message.
3a. If the system cannot control the lights due to a failure, the system will notify the user.

4. System Sequence Diagram:

3
COMSATS UNIVERSITY ISLAMABAD

5. Communication Diagram:

6. Class Diagram:

4
COMSATS UNIVERSITY ISLAMABAD

You might also like