FCIM CRI 161M Petru Groza
FCIM CRI 161M Petru Groza
FCIM CRI 161M Petru Groza
Masterand:
Groza Petru
Conducător:
lector superior, Cărbune Viorel
Chişinău – 2018
Adnotation
Thesis Web application for IoT system ”Intelligent House”, presented by Groza Petru
as a Master’s project, was developed at Technical University of Moldova in Chis, in˘au. It is
written in English and it contains 102 pages, 25 figures, 10 tables and 29 references.
The thesis is dedicated to study the method of managing and controlling the electric energy
that people use in their home, work or business places. The next step is to offer the ability to control
remotely all electric device linked to the main electrical system. The purpose of the project is to
research and build a user friendly platform that can be accessed from any device, from any where
using a internet connection. The other part of the platform must provide to its users a set of data
gathered by a smart energy meter, so they can visualize, conclude and make a decision about their
energy consumption.
A good example of similar services that monitor energy use are the power outlet energy mon-
itors. Unfortunately those products are hardware device that can be used one at a time for each
power outlet, which make them dependent and they require a human to initiate the control moni-
toring sequence. There are available Smart House systems that can do a lot more and can offer a
larger spectrum of possibilities, but unfortunately they are very expensive, which make them not
affordable for most people in Republic of Moldova.
The project aims to research and create a system that can offer flexibility, extension and can
be independent from humans and within itself. Because of the modular philosophy this can be
accomplished. The main goal is to offer great experience to the users by using the system and to
help them adjust their energy consumption life style. Another goal is to ensure that the system is
affordable by ordinary people and business. Last but not least it is important that the system will
be popular among all people of different age.
The thesis contains three chapters and conclusions. The chapters are: problem and domain
analysis, system analysis and design and system research. The first chapter describes the project
potential problems and domain analysis. The second chapter describes the project analysis and
implementation design in depth with example of code examples and UML diagrams. The last chapter
is one of the most critical, it tells more information on how the system is organized, works and other
observations based on the testing experiments. In the last chapter the purpose of the project is being
analyzed and what it transcribes based on some simulations.
Adnotarea
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction.........................................................................................................................10
3 System implementation.................................................................................................40
3.1 Overall description........................................................................................................................40
3.1.1 Project description...........................................................................................................40
3.1.2 System perspective..........................................................................................................41
3.1.3 Design and implementation constraints.........................................................................41
3.2 Software requirements.................................................................................................................41
3.2.1 Functional.................................................................................................................41
3.2.2 Non-functional..................................................................................................................42
3.3 Learning stage...............................................................................................................................42
3.4 Planning............................................................................................................................... 43
3.5 Server setup environment............................................................................................................45
3.6 Development setup environment................................................................................................48
3.7 Research and development..........................................................................................................51
3.7.1 Raspberry PI.........................................................................................................51
3.7.2 CubieTruck...........................................................................................................52
3.7.3 Raspberry Pi vs. CubieTruck...............................................................................52
3.8 Security implications............................................................................................................67
3.8.1 SSH protocol.............................................................................................................68
3.8.2 CSRF attack. The role of Sessions and Cookies..................................................69
3.8.3 Hash and Salt functions...........................................................................................71
3.9 Results.................................................................................................................................. 72
Conclusions.......................................................................................................................... 73
References....................................................................................................................................74
Appendix.............................................................................................................................. 76