Assystme
Welcome to the technical page of our project: here you can get more detailed information about the implementation
Check it out

Purpose and scope

The system is an assistant thought for elders living alone, that have memory loss problems and that are quite distracted. Assystme is able to safeguard them: infact, it is capable of detecting whether someone is at home or not, and it eventually helps the user to do not forget dangerous things like a faucet open or an even more serious issue like the gas left open, by sensing an excessive water flow or the gas presence in the environment. The user can accept the help of the system by simply answering to its request of assistance, resulting in a closing of the faucet and gas. If the hazard at issue is potentially mortal, Assystme immediately acts and, only afterwards, it will ask for the user’s health conditions in order to, if needed, warn a family member through a Telegram Bot; a warning will be also sent in case of no reply or if the user tries to leave the house at night, since it could be potentially dangerous.

Project Features

This is the list of all the features implemented in our system

N Description Priority
0 Detection of the user's presence 1
1 Detection of gas leakages in the environment 1
2 Automatic gas source closing system 1
3 Detection of faucets erroneously left open 1
4 Notification of the user's family in case of non-response 1
5 Voice interaction with the user 1
6 Automatic faucets closing system 2
7 Notification of the relatives in case the user tries to leave home at night 2

System architecture

This is the scheme of the system architecture of our project



Assystme have two main computational nodes for computing data given by sensors. The technologies implemented are: multisensor detecting movement, gas sensor, microphone, ultrasonic sensor detecting water flow, solenoid valve. The main user interface is a vocal/audio interface, the most simple and immediate we could think of.






Hardware architecture







Software architecture

As software module, we want to develop an application running on the main computational node in order to collect and elaborate data received from sensor. This will also manage the voice comunication between the system and the user.

  • Gas Controller
    • It has the main function of controlling the gas sensor and, in case of a leak of gas, it closes the gas sources. In a second time it asks for a feedback on the user health.
    • Running on the central unit
  • Front Door Lock (to be modified)
    • It controls the main door lock: the system keeps locked the front door during certains hours in the day. If the elder tries to go outside, it notifies the family member using the communication module.
    • Running on the central unit
  • Faucets Control
    • Similarly to the Gas Controller, it controls the closure of the faucets and, in case one has been left open, the system notifies the user and asks him whether it can adoperate to close it autonomously.
    • Running on the central unit


Network architecture



As the image suggests, sensors are connected to the central unit in the following way:
Gas, and ultrasonic sensors are connected to Arduino. Presence sensor runs in the dedicated Z-wave server. Solenoid valve, door control, user alarm button, speakers and microphone used for the interaction between the system and the user, communicates with Raspberry.
The Raspberry Pi needs an internet connection in order to set the current time.

Open issues

An updated list of open issues and tricky feature we want to implement in our project

Issue N Description Date
1 Inter process communication between main program and telegram bot (signals?) 24/05/2018
2 User detection: zwave or presence sensor with arduino? 24/05/2018
All issues has been addressed

Selected Components

A list of selected components to use for this project

Description Quantity Availability in Ladispe
Presence sensor 1 Proximity sensors
Gas sensor 1 NO
Water flow sensor 1 NO
Raspberry Pi 3 1 YES
Microphones 1 YES
Speakers 1 YES
Solenoid valve 1
For closing gas and closing water flow
NO