Ceci est une ancienne révision du document !
Smart Objects and Services
Project Presentation
Name :
Ubiquidouche
Group Composition :
BOURSIER Alexandre CACCIUTTOLO Olivier MARIE Aurélien
Scenario :
- Jean enters the shower and opens the water
- When the water flow and temperature become constant shower head detects an early shower and requests to retrieve a target profile. Also a timer is started in order to deduce the average time at the end of shower.
- In the shower, the shower head measures the temperature at regular intervals in order to make an average temperature “Instant”.
- John turns off the water and get out of the shower
- When zero water flow for a specified time, the timer knob stops and starts an event “end of shower” over the network
- A server provides the information received in connection with the services being contacted (agenda, weather service ..).
- A friendly health service analyzes the data collection through a csv file.
Object Shape :
Name of the contact at Reims :
BELGIOINO Maxime
Sketch of the Object from Reims :
https://drive.google.com/file/d/0B4GQO5e_oFeKTTZxVkJJQ3l3bVE/edit?usp=sharing https://drive.google.com/file/d/0B4GQO5e_oFeKUVByNWVVbW1BTEU/edit?usp=sharing https://drive.google.com/file/d/0B4GQO5e_oFeKSWMyWHNfRGw3ek0/edit?usp=sharing
Picture of the Object without instruments and electronics :
Picture of the Object with instruments and electronics outside on the same table (put some circles and arrows on the picture to show where you're going to integrate all of these) :
https://drive.google.com/file/d/0B4GQO5e_oFeKdjRvUGJuZnE4Skk/edit?usp=sharing The sensors were not integretated in the object because they had to be outside it so we did not put it in the picture.
Picture of the finished Object (all is integrated):
Demonstration Video :
Hardware specifications :
List :
- Water Flow Sensor | http://www.gotronic.fr/art-capteur-de-debit-yfs201-18979.htm | Code 31320 | http://www.seeedstudio.com/wiki/index.php?title=G1/2_Water_Flow_sensor
Specifications and interface of the service on the object
The service on the object is connected through UpNp protocol. When the user take a shower for a certain time the bean sends informations throught UPnP Probe Event. The informations inside this event are :
the duration of the shower,
the average temperature,
the date and time of the beginning of the shower
The water flow sensor use a combination of timers to detect a beginning of the shower and also the end of the shower. The temperature sensors controls the leds comparing its value with a reference that can be changed : under 20 °C the yellow led shines but above it will be the red led that shines.
Specifications of the interface of high added value service
Note : (including a figure on the orchestration between services on objects and information systems)
The high added value service is connected to an UPnP proxy. When the service has received the three informations, it first writes them in a text file. Then the service converts the informations in JSON format. Then it makes a call to a weather service, a humidity service and a calendar service. All informations collected through those services are written in a CSV file.
https://docs.google.com/file/d/0B4GQO5e_oFeKWkY2U1laS3dpZ1E/edit
Project Files:
. wcc of the two containers (embedded and on the remote PC) :
WCC of the embedded container https://drive.google.com/file/d/0B4GQO5e_oFeKQ3lSS004Sm5aVXM/edit?usp=sharing
WCC of the remote PC https://docs.google.com/file/d/0B4GQO5e_oFeKemhqRi1aNlRtUEk/edit
Beans added for the embedded container (for the service on the object) ** (DLL and Source code for each of them)
Bean for the embedded container
https://docs.google.com/file/d/0B4GQO5e_oFeKR0pHeW41bjlsWTQ/edit
Source code
https://docs.google.com/file/d/0B4GQO5e_oFeKSUNWbVMzSnRFYVE/edit