Proj-2013-2014-COQP/SRS

=1.  Introduction=

1.1 Purpose of the requirements document
This Software Requirements Specification identifies the requirements for the COQP project. We must present the requirement to others contributors in case of a open source project. This document is a guideline about the feature of our system.

1.2 Scope of the product

 * Our software is a software who show the state of a room (empty oroccupied) and stream a video of the room in the same interface
 * It's used enocean sensor . This sensor are wireless and self-powered
 * We use Openhab to create or interface . This software is open-source

1.3 Definitions, acronyms and abbreviations

 * Openhab :openHAB is a software for integrating different home automation systems and technologies into one single solution that allows over-arching automation rules and that offers uniform user interfaces.
 * MQTT: MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol.
 * EnOcean: A kind of various sensors wireless and self powered . Enocean sells sensor and software to use it.
 * VLC: VLC is a multimedia player who can translate a lot of flux and streaming.

1.4 References

 * differents pages:

Openhab wiki to have tutoriel :

1.5 Overview of the remainder of the document
=2.  General description=

2.5 Assumptions and dependencies
=3.   Specific requirements=

3.1 Functional, non-functional and interface requirements

 * document external interfaces,
 * describe system functionality and performance
 * specify logical database requirements,
 * design constraints,
 * emergent system properties and quality characteristics.

Function
For the raspberry Pi


 * - Establish the communication between sensors and the raspberry pi and between the raspberry pi and dysoweb.
 * - Analyse data from sensor to deduct if someone is inside the room
 * - Analyse data from dysoweb to know if the room should be taken
 * - Send the state of te room to dysoweb

For the android's tablet


 * - Book a room with the tablet
 * - Establish the communication between dysoweb and the tablet

Inputs

 * - sensor's data message
 * - room's calendar
 * - notification of reservation

Source

 * -A sensolux presence sensor to send data to raspberry pi via EnOcean radio signal
 * -A Dysoweb calendar to have the state of the room
 * -A android's tablet to send notification of reservation to Dysoweb

Outputs

 * -Android's tablet
 * - Calendar of the room on Dysoweb

Destination

 * -Users of Dysoweb
 * -Users in front of the android's tablet

Action

 * -The programm detect if a person is inside the room
 * -The programm check on Dysoweb if the room is booked or not
 * -The programm make a book for the room

Non functional requirements

 * -Nothing hides the SENSOLUX Presence sensor
 * -Have a source of ligth inside the room to charge the energy storage device
 * Have a wifi internet connection to connect the android tablet and the raspberry pi

Pre-condition

 * materials conditions:
 * - A Sensolux presence sensor inside the selected room.
 * - A linux server connected to Dysoweb and sensors.
 * - A android tablet connected to Dysoweb.


 * Software conditions:
 * - Install openHab software on the linux server.
 * - Install the COQP android application.

Post-condition

 * -The user can book a room with the tablet if it's empty
 * -The user have a feedback on the state of the room via dysoweb or the tablet

Side-effects
=4. Product evolution= =5. Appendices=

5.4. SRS structure
The document is based on template of the Software Requirements Specification (SRS) inspired of the IEEE/ANSI 830-1998 Standard.

References: =6. Index=
 * http://www.cs.st-andrews.ac.uk/~ifs/Books/SE9/Presentations/PPTX/Ch4.pptx
 * http://en.wikipedia.org/wiki/Software_requirements_specification
 * IEEE Recommended Practice for Software Requirements Specifications IEEE Std 830-1998