Major Project Report SHA
Major Project Report SHA
A PROJECT REPORT
Submitted by
RITESH MANWANI
[RA2111026010455]
Under the Guidance of
Dr. Kamal Kishor Choure
Assistant Professor, Department Of Computational Intelligence
BACHELOR OF TECHNOLOGY
in
COMPUTER SCIENCE ENGINEERING
with specialization in Artificial Intelligence & Machine Learning
DEPARTMENT OF COMPUTATIONAL
INTELLIGENCE COLLEGE OF ENGINEERING
AND TECHNOLOGY
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
This sheet must be filled in (each box ticked to show that the condition has been met). It must
be signed and dated along with your student registration number and included with all
assignments you submit – work will not be marked unless this is done.
To be completed by the student for all assessments
I / We hereby certify that this assessment compiles with the University’s Rules and Regulations
relating to Academic misconduct and plagiarism**, as listed in the University Website,
Regulations, and the Education Committee guidelines.
I / We confirm that all the work contained in this assessment is my / our own except where
indicated, and that I / We have met the following conditions:
I understand that any false claim for this work will be penalized in accordance with the
University policies and regulations.
DECLARATION:
I am aware of and understand the University’s policy on Academic misconduct and plagiarism
and I certify that this assessment is my / our own work, except where indicated by referring,
and that I have followed the good academic practices noted above.
Ritesh Manwani
RA2111026010455
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
KATTANKULATHUR – 603 203
BONAFIDE CERTIFICATE
Certified that 18CSP109L - Major Project [18CSP109L- Major Project] report titled
“Smart Home Assistance: an IOT based approach” is the bonafide work of “RITESH
M A N WA N I [RA2111026010455]” who
carried out the project work under my supervision. Certified further, that to the best of my
knowledge the work reported herein does not form any other project report or dissertation
on the basis of which a degree or award was conferred on an earlier occasion on this or
any other candidate.
SIGNATURE SIGNATURE
EXAMINER I EXAMINER II
ACKNOWLEDGEMENTS
We extend our sincere thanks to Dr. Leenus Jesu Martin M, Dean-CET, SRM Institute of
Science and Technology, for his invaluable support.
We encompass our sincere thanks to, Dr. M. Pushpalatha, Professor and Associate
Chairperson - CS, School of Computing and Dr. Lakshmi, Professor and Associate
Chairperson -AI, School of Computing, SRM Institute of Science and Technology, for their
invaluable support.
We are incredibly grateful to our Head of the Department, Dr. R. Annie Uthra, Department
of Computational Intelligence, SRM Institute of Science and Technology, for her suggestions
and encouragement at all the stages of the project work.
We want to convey our thanks to our Project Coordinators, Panel Head, and Panel Members
Department of Computational Intelligence, SRM Institute of Science and Technology, for
their inputs during the project reviews and support.
We register our immeasurable thanks to our Faculty Advisor, Dr. Om Prakash, Department
of Computational Intelligence, SRM Institute of Science and Technology, for leading and
helping us to complete our course.
Our inexpressible respect and thanks to our guide, Dr. Kamal Kishor, Department of
Computational Intelligence, SRM Institute of Science and Technology, for providing us with
an opportunity to pursue our project under his mentorship. He provided us with the freedom
and support to explore the research topics of our interest.
We sincerely thank all the staff members of the Department of Computational Intelligence,
School of Computing, S.R.M Institute of Science and Technology, for their help during our
project.
Author
RITESH MANWANI
ABSTRACT
ABSTRACT
TABLE OF CONTENTS
LIST OF FIGURES
LIST OF TABLES
ABBREVIATIONS
1.INTRODUCTION 1
1.1.General (Introduction to Project) 2
1.2.Motivation 3
1.3.Sustainable Development Goal of the Project 4
1.4.Product Vision Statement 5
1.5. Product Goal 6
1.6.Product Backlog (Key User Stories with Desired Outcomes) 7
1.7.Product Release Plan 8
2.1.Sprint 1 10
2.1.1.Sprint Goal with User Stories of Sprint 1 11
2.1.2.Functional Document 12
2.1.3.Architecture Document 13
2.1.4.UI Design 14
2.1.5.Functional Test Cases 15
2.1.6.Daily Call Progress 16
2.1.7.Committed vs Completed User Stories 17
2.1.8.Sprint Retrospective 18
2.2.Sprint 2 19
2.2.1.Sprint Goal with User Stories of Sprint 2 20
2.2.2.Functional Document 21
2.2.3.Architecture Document 22
2.2.4.UI Design 23
2.2.5.Functional Test Cases 24
7. Committed vs Completed User Stories 26
8. Sprint Retrospective 27
2.3.Sprint 3 28
2.3.1.Sprint Goal with User Stories of Sprint 3 29
2.3.2.Functional Document 30
2.3.3.Architecture Document 31
2.3.4.UI Design 32
2.3.5.Functional Test Cases 33
7. Committed vs Completed User Stories 35
8. Sprint Retrospective 36
3.1.Project Outcomes 38
3.2.Committed vs Completed User Stories 39
4.1.Conclusions 41
4.2.Future Enhancements 42
REFERENCES
APPENDIX A
APPENDIX B
APPENDIX C
List of Figures
Figure 2.7: User story for managing the backend of course database
Figure 2.8: User story for easy navigation through the webpage
1
1.2 Motivation
The motivation behind the Smart Home Assistance Project stems from the
increasing demand for intelligent, user-centric home automation systems. As the
adoption of smart technology grows, many households seek solutions that offer
seamless integration and meaningful
control over their devices. However, the challenge lies in managing various devices
and ensuring they work together to serve the users’ needs. This platform addresses
the complexity of current smart systems by creating a cohesive ecosystem that
enables households to interact with technology effortlessly and enjoy enhanced
comfort and convenience.
Additionally, with rising energy costs and growing environmental concerns, there is
a strong need for systems that promote sustainable living. By optimizing device
usage, the platform aims to reduce unnecessary energy consumption, thus
minimizing environmental impact. The Smart Home Assistance Project not only
simplifies device management but also encourages efficient energy use, enabling
homeowners to save on utility costs while contributing to a greener future.
2
1.4 Product Vision Statement 1.4.1. Audience:
Primary Audience: Homeowners and tenants seeking a more convenient, secure,
and energy-efficient living environment through smart automation.
Secondary Audience: Property managers and eco-conscious individuals looking to
streamline energy usage and increase property security.
-
1.4.2. Needs:
• ● Primary Needs:
• ○ Centralized control for seamless management of smart home
devices.
• ○ Automation features that respond to user routines and
preferences.
• ○ Security alerts and customizable notifications for enhanced
safety.
• ● Secondary Needs:
• ○ Real-time energy monitoring and cost-saving recommendations.
• ○ User-friendly onboarding and configuration for easy setup.
• ○ Accessibility features that cater to all demographics, promoting
inclusive use
of smart home technology.
The Smart Home Assistance Project is not just an automation platform
but a comprehensive ecosystem designed to simplify, secure, and
sustainably optimize the modern home. Through innovative technology
and user-focused design, it empowers homeowners to achieve a more
connected, comfortable, and responsible lifestyle.
Ultimately, the product goal is to create an educational ecosystem that is not just about
acquiring information, but about building meaningful connections, promoting
collaboration, and driving sustainable development in communities. Through this blend of
AI-driven personalization and local skill-sharing, the platform aspires to make education
a collaborative, enriching, and socially impactful experience.
6. Product Backlog
4
S.No User Stories of AI E-Learning Application
#US 5 As a user, I want to set automation routines for common tasks, such
as adjusting lights at sunset, so I can save time and enhance comfort
at home.
5
The product backlog for Smart Home Assistance was organized using an Agile
board on MS Planner, depicted in Figure 1.1, detailing user stories for a
comprehensive smart home management solution.
6
7. Product Release Plan
● Core functionalities: Device integration, user profile setup, initial automation features.
7
CHAPTER 2
1. Sprint 1
The Goal of the first sprint is to construct the user landing page and to enable the search
functionalities such as skills and courses.
The following table 2.1 represents the detailed user stories of the sprint
8
Planner Board representation of user stories are mentioned below figures 2.1 and 2.2.
9
Figure 2.2 User story for taking inputs for preferences
10
1.2. Functional Document
1.2.1. Introduction
The AI-Powered Skill-Sharing and Learning Platform project aims to create a dynamic,
user-centric platform that combines artificial intelligence with community collaboration. This
designed to address the diverse needs of learners by providing tailored learning paths and live
engagement sessions.
The primary goal of this project is to develop a platform that enhances the learning
experience by personalizing content and enabling real-time peer interaction. The platform
aims to:
● Use AI to analyze user sentiment and adapt the learning experience accordingly.
Users:
11
Location:
● Target Location: Global, with particular emphasis on regions with high internet
● Users can register securely using their email or social media accounts.
sessions.
● The system generates personalized learning paths based on user interests, goals, and
learning history.
1.2.5. Features
1. Description:
o The platform provides personalized learning paths that guide users through
courses and sessions based on their interests, skills, and learning objectives.
2. User Story:
o As a user, I want the platform to recommend a learning path that aligns with
my goals, so I can learn efficiently and effectively.
1. Description:
o The platform allows users to join or host live learning sessions where they can
collaborate and learn from peers
12
in real-time.
2. User Story:
o As a user, I want to participate in live learning sessions to gain knowledge
from others in real-time.
1. Description:
o The platform offers advanced search options, allowing users to find learning
sessions and content based on specific criteria such as topic, difficulty level,
and user ratings.
2. User Story:
o As a user, I want to easily find the most relevant content using filters and
search tools, so I can quickly access what I need.
Guest User Limited access to browse available sessions and view public content.
Table 2.2 Access level Authorization Matrix
1.2.7. Assumptions
● The AI models for personalization and sentiment analysis will be trained using a
dataset that accurately reflects the diversity of the target audience.
● The development team will have continuous access to cloud infrastructure to test and
deploy features.
● Users and stakeholders will provide timely feedback during testing phases.
● The platform will comply with global data protection regulations, ensuring user
privacy and security.
13
1.3. Architecture Document
1.3.1. Application
Microservices:
● User Role Management Service: Controls role-based access, ensuring users have
appropriate permissions based on their roles (e.g., Student, Educator, Administrator).
Data exchanges are managed with careful consideration of timing and performance:
● Real-Time Exchanges: For critical operations like user authentication and course
enrolments, data is exchanged in real-time via APIs.
● Periodic Syncs: Non-critical data, such as user activity logs or historical performance
data, is synchronized at scheduled intervals.
Data Sets:
The platform handles several key data sets, each with specific exchange requirements:
● User Data: Includes personal details, credentials, and preferences. This data is
exchanged during login, profile updates, and role assignments.
● Course Data: Encompasses course details, content, and metadata, exchanged during
course creation, updates, and deletions.
● Enrolment Data: Tracks student progress and performance, exchanged when students
enroll, complete, or drop courses.
Various methods are used for data exchange across the platform:
● API: RESTful APIs facilitate real-time data exchanges between the front-end and
back-end services.
● Message Queues: Services such as RabbitMQ or AWS SQS are used for handling
asynchronous tasks like sending notifications or processing background jobs.
● File-Based Exchanges: Certain data, such as bulk uploads of course materials, are
handled via file exchanges, typically through S3 or similar storage services.
15
1.4. UI DESIGN
1.4.1. UI Elements
● This area is dedicated to showing video feeds. Since it says "Waiting for video
track," it seems that no video has started yet or there may be a connection issue.
16
● A chat window where the agent or user can type messages. It shows a
message history, where the agent has sent a message: "Hello I am Agent.
How may I help you?"
● A text input box at the bottom allows users to type a message and press "Send."
● The status section displays the room and agent connection status (both are
currently connected).
17
1.5. Functional Test Cases
18
1.6. Daily Call Progress
19
1.7. Committed Vs Completed User Stories
20
2. Sprint 2
The Goal of the first sprint is to construct the user landing page and to enable the search
functionalities such as skills and courses.
The following table 2.5 represents the detailed user stories of the sprint 2
21
Planner Board representation of user stories are mentioned below figures 2.7 and 2.8
Figure 2.7 User story for managing the backend of course database
22
Figure 2.8 user story for easily navigate through the webpage
23
2.2. Functional Document
2. Device Integration
● Fans and Air Conditioning: Outline how the assistant manages fan speed and AC settings
to maintain an ideal room temperature and air quality, even when the user is away.
● Lighting Control: Detail how lighting adjusts automatically based on the time of
day or occupancy sensors, saving energy when rooms are unoccupied or dimming
lights in the evening for comfort.
● Room Heating: Describe how the assistant balances heating to achieve comfort
without waste, potentially adjusting for different areas in the house based on user
location.
● TV and Entertainment Systems: Explain how the assistant can manage media devices,
like turning off the TV when no one is watching or adjusting volume and lighting for an
optimal viewing experience.
4. Communication Protocols
● Wi-Fi/Bluetooth/Infrared Control: Explain the use of different communication
protocols to control devices directly or through a centralized hub.
● Inter-device Coordination: Describe how the assistant ensures various devices
work in harmony (e.g., coordinating AC and fan settings), avoiding redundancy, and
enhancing efficiency.
24
2.3. Architecture Document
25
2.3.2. System Architecture
26
5. Functional Test Cases
27
6. COMMITTED Vs COMPLETED USER STORIES
7. Sprint Retrospective
28
3. Sprint 3
The Goal of the first sprint is to construct the user landing page and to enable the search
functionalities such as skills and courses.
The following table 2.9 represents the detailed user stories of the sprint 3
US #6 As a user, I want real-time feedback during peer learning sessions so that I can
immediately improve my skills and understanding based on the input from my
peers.
Table 2.9 Detailed User Stories of sprint 3
Planner Board representation of user stories are mentioned below figures 2.10 and 2.11
29
Figure 2.10 User story for collaborative learning environment
30
Figure 2.11 User story for real time feedback
31
3.2. Functional Document
1. Introduction
● Goal: Ensure that the project objective of delivering personalized learning paths and
enabling real-time peer-to-peer collaboration is communicated with clarity.
○ Refine the explanation of the platform’s AI-driven features, particularly
emphasizing enhancements in personalization and real-time sentiment analysis
during peer collaboration.
○ Focus on user feedback integration from the previous sprint, demonstrating
improvements in user experience and feature robustness.
2. Product Goal
32
4. Business Processes
5. Features
6. Authorization Matrix
7. Assumptions
34
3. Architecture Document
Goal: Ensure a robust microservices architecture, enabling independent and scalable services.
Key Microservices:
1. Authentication Service
○ Tasks:
■ Develop and test the login, two-factor authentication (2FA), and
account recovery functionality.
■ Ensure secure authentication and seamless user experience.
■ Testing: Verify login, 2FA functionality, and account recovery
processes work across devices.
2. Course Management Service
○ Tasks:
■ Build the service for course creation, categorization, and enrollment.
■ Ensure seamless integration with the front-end for a smooth course
management experience.
■ Testing: Test the creation, editing, and deletion of courses and ensure
the enrollment process is smooth for users.
3. User Role Management Service
○ Tasks:
■ Implement role-based access control (RBAC) for different user types
(Admin, Educator, Learner).
■ Ensure correct permissions are enforced across the platform based on
roles.
■ Testing: Check whether users have appropriate access levels for their
roles and validate access restrictions.
4. Notification Service
○ Tasks:
■ Develop a notification system to send real-time course updates and
account activity alerts.
35
■ Ensure notifications are sent via multiple channels (email, SMS, in-app
messaging).
■ Testing: Test the real-time and scheduled notifications for course
enrollments, deadlines, and updates.
36
Goal: Visualize the key system components and their interactions for seamless
communication across services.
● Tasks:
○ Design system architecture diagrams showing microservices communication,
front-end and back-end interactions.
○ Test RESTful API calls for smooth communication between the front-end and
back-end.
○ Test database connections and message queues for efficient data management
and background processing.
Goal: Ensure secure and efficient data exchange across the platform with minimal latency and
maximum reliability.
38
4. System Design
39
5. Functional Test Cases
40
Table 2.11 Sprint Retrospective for the Sprint 3
41
7. Sprint Retrospective
42
CHAPTER 3
1. Project Outcomes
44
CHAPTER 4
1. Conclusion
In conclusion, the Smart Home Assistance system developed in this project has
demonstrated its capability to provide a personalized and adaptive home automation
experience by analyzing individual preferences, device usage patterns, and environmental
factors. Utilizing machine learning algorithms and real-time data processing, the system
effectively automates routines and enhances comfort, security, and energy efficiency. The
project’s objectives of creating a scalable and flexible smart home solution have been met,
ensuring that the system can adapt to different household setups and a wide variety of
connected devices.
Key achievements include the system's ability to integrate multiple data points, such as
user activity, device status, and ambient conditions, to deliver automation routines that
respond dynamically to changing needs. This approach has significantly improved user
convenience and satisfaction, while reducing energy consumption through intelligent
device management. Furthermore, the system addresses a fundamental challenge in
modern smart home solutions: creating a user-centric experience that simplifies
technology management for diverse users, ensuring ease of use across various
demographics.
The successful integration of a responsive, adaptable system capable of learning from user
interactions underscores its potential as a reliable smart home assistant. By reducing
manual control and providing proactive recommendations, the platform allows users to
enjoy an automated environment tailored to their lifestyle, while maintaining robust
security and energy-saving features.
2. Future Enhancements
While the current Smart Home Assistance system provides significant value, there are
several areas for future improvement:
46
REFERENCES
1] Anderson, T., & Dron, J. (2011). Three generations of distance education pedagogy. International Review of
Research in Open and Distributed Learning, 12(3), 80–97. https://doi.org/10.19173/irrodl.v12i3.890
2] Alam, M. R., Reaz, M. B. I., & Ali, M. A. M. (2012). A review of smart homes—Past, present, and future.
IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 42(6), 1190–1203.
https://doi.org/10.1109/TSMCC.2012.2189204
3] Brusilovsky, P., & Millán, E. (2007). User models for adaptive hypermedia and adaptive educational systems.
In P. Brusilovsky, A. Kobsa, & W. Nejdl (Eds.), The adaptive web (pp. 3–53). Springer. https://doi.org/
10.1007/978-3-540-72079-9_1
4] Chen, C.-M., & Duh, L.-J. (2008). Personalized Web-based tutoring system based on fuzzy item response
theory. Expert Systems with Applications, 34(4), 2298–2315. https://doi.org/10.1016/j.eswa.2007.03.001
5] Koren, Y., Bell, R., & Volinsky, C. (2009). Matrix factorization techniques for recommender systems.
Computer, 42(8), 30–37. https://doi.org/10.1109/MC.2009.263
6] Liu, Q., Huang, Z., Yin, Y., Chen, E., Xiong, H., & Su, Y. (2019). EKT: Exercise-aware knowledge tracing
for student performance prediction. IEEE Transactions on Knowledge and Data Engineering, 33(1), 100–115.
https://doi.org/10.1109/TKDE.2019.2949812
7]Lu, Y., Huang, J., & Sadiq, S. (2018). Personalized learning path recommendation based on knowledge map.
Applied Intelligence, 48(12), 4838–4849. https://doi.org/10.1007/s10489-018-1284-5
8] Sadeghi, A.-R., Wachsmann, C., & Waidner, M. (2015). Security and privacy challenges in industrial Internet
of Things. Proceedings of the 52nd Annual Design Automation Conference. https://doi.org/
10.1145/2744769.2747942
9] Sun, L., Lin, Z., Yu, Y., Li, H., & Shi, Z. (2020). A personalized recommendation system based on
collaborative ltering and deep learning in smart education. IEEE Access, 8, 146457–146469. https://doi.org/
10.1109/ACCESS.2020.3014074
10] United Nations. (2015). Transforming our world: The 2030 agenda for sustainable development.https://
sdgs.un.org/2030agenda
47
fi
APPENDIX
A. SAMPLE CODING
48
similarity_data = [
"Pacing": course["Pacing"],
"Similarity": get_similarity_score(course["Course
Topic"], interested_topics)
df = pd.DataFrame(similarity_data)
if not df.empty:
X = df[['Similarity']].values
knn.fit(X)
_, indices = knn.kneighbors([[1]])
recommended_courses = df.iloc[indices[0]]
recommended_list =
recommended_courses.to_dict(orient='records')
print(json.dumps(recommended_list))
49
B. PLAGIARISM REPORT
50
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
(Deemed to be University u/s 3 of UGC Act, 1956)
REPORT FOR PLAGIARISM CHECK ON THE DISSERTATION/PROJECT REPORTS FOR UG/PG PROGRAMMES
(To be attached in the dissertation/ project report)
13 Plagiarism Details: (to attach the final report from the software)
51
Chapter Title of the Chapter Percentage Percentage % of
of similarity of similarity plagiarism
index index after
(including (Excluding excluding
self citation) self-citation) Quotes,
Bibliography, etc.,
1 Introduction
2 Literature Survey
4 Methodology
Appendices
We declare that the above information has been verified and found true to the best of our knowledge.
52
C. JOURNAL PROOF
'
E
MRARS131b4 - Acknowledgement from IJRAR regarding reeearsh geper submitting
Thank you Ibr submitting paper in IJRAR. You will be intimated for final selectšon & acoeptance of your paper very
Your pa{>er will undergo Lhe normal rev?eer process of tke Jorsnal. Tlse process rormally Fakes 1 as 3 Oays to
complete depe'rxIing on d¥e nianber of rouix:1s. the reviews need to take place.
IJRAB Jcxa•nol čs MOC and ISSN Eqsprased. Jcaa•nzg is S thožaržy open aceess ¢aaztals,
Peer•revieured, and
Refereed Joumals, Impact fac:tor 7.17 (Calcušate by googže scholw arrd Semwztšc Snfxflar AI•Poaeered
Resawcn Tooi} , ¥Xužt“xliccšpIinary, u<x3ttdy, irtdexk+g in aii major dataaasa &
uetadata, citat aenerator,
3iqital Dbiect ldentžfier{DOI}.
Paper Title°
s<aimiLsotsaB8¥gmifiI.eom
- This email ID will be used for arTy further nommunJcatélzn regarding publication process
scazus PubFication fees' 1S70 INR for lnrfiars author & 506 for foreign lnzemational
F auihor
“"” ”''* if any query email to ed itor@ijrar.org.
Womoiafie Publication yr-ooess: tJsir+g This Link AUTHDR HOk1E using your registration D {31115d) and email ID
{soraziil .sahad §¥gmaiIxzom).
you cvi check status og your paper by using paper track systern, your Regčsbat ID and
CorraEqaonding
Author mail lD. k sdžy go t rou$jh linžc: Mtp f/uzww.qraruzzg/Aut toržsorrsa{zsžogin.php
Editar in 'Chief,
53