A server: it will store the information of the application and will be the base of the web application.
Sensors: used to connect to home automation devices. They will be placed in windows and doors and maybe in some home appliances.
Smartband (Fitbit): to monitorize the movements of the sleepwalking user.
Something to control the opening or locking of the elements of the house that will be dangerous.
Web app/ mobile app: to let the user interact and configure the application. In the first implementation we will develop the web, the mobile app will be implemented in the second version.
Actuators: will perform the action when it’s required.
Android mobile devices or computers to display useful information of the system.
SOFTWARE ARCHITECTURE
REST Server: It will be the brain of the application, it will store the movements of the user wearing the bracelet while the user is sleeping in his/her house. It will tell the obstacles (doors and windows) how to react to the movements of the user for example blocking them. Running on a computer and written in Python.
Web app: Will be used to display information that shows the user his/her movements during the night. The user will be able to create a profile and configure the application. Also, the user will be able to read some information about somnambulism.
Mobile app: Will be used to display information on an android smartphone or tablet that shows the user his/her movements during the night.
Communication between the components above: The REST Server will store the movements of the user and the obstacles’ (doors and windows) reactions to a database. The apps will read that information from the database and show it to the user.
HARDWARE ARCHITECTURE
REST Server: It is the main part of the application that saves the movements of the users during the night for them to track their nights.
Smartband: Fitbit bracelet.
Actuators: We are thinking to use the “Contatto magnetico” device for the demo of the door and the “IRYDE phone touch” for the demo of the window.
Obstacles: Doors, windows…
Computer or mobile devices to use the web app.
Android mobile devices to use the android mobile app.