Ceci est une ancienne révision du document !
SMART Building and ICT
Two chapters :
- Equipments for Home and Building Automation First Part : Equipment, Low level Hardware and Software for Smart Building
- Software for Operationnal Building Management
First Part and Lecture 1 : Introduction Smart Building and Home Automation
Software Architectures for Home automation and building management systems From classical architectures to a totally web services based architectures …
Second Part : Smart Building Management : Dashboard and Software Application
Project driven Learning
Then will be able to discuss your proposals during the wenesday course.
The preliminary description of the subject will be :
- A global topic (ex. security, energy consumption, pollution, etc.)
- A short explanation of the application you want to developp
- A list of the web service you're using to get informations from the building, but also from other information providers.
Send this description in an email to tigli@unice.fr.
The subject of the email must be :
[BAT4 IMMO PROJECT 2019] GROUP <group number> - <First student Name> - <Second student Name>
ex [BAT4 IMMO PROJECT 2018] GROUP 1 - Tigli - Collaviza
Lecture 2 & 3 : C#, Excel and Web Services
Lecture 2 : EXCEL as main application and C# for interroperability with other softwares
Lab :
- Interface with Excel: display a graphical chart like a curve of weather values stored in an excel file.
Resources needed for this lab
- Library required to connect a C# program and an excel file ExcelLibrary.dll
- Example of an excel file that contains weather information excel file
- Example of a C# program that displays the chart of this excel file C# solution
Lecture 3 : Web services and C# to access to these services (data collection in EXCEL)
Lab :
- Web service for Weather analysis and prediction
- Others Web Services with to get relevant informations on a smart building
SEE http://www.geonames.org/export/ws-overview.html
SEE Previous Course on Web Services, and especially : “Accessing RESTful Web Services”
What's to do : USE the C# solution to access openweather Web Service and to store automatically the data in your excel file.
Lecture 3 : Web Services to access to sensors and actuators with C# (data collection in EXCEL)
- Web service to access to HDSN sensors
- Connexion to these sensors with C#
Example HDSN
- HDSN sensors network and data collection in Ubiquarium (Sophia Antipolis France), D27 (Nice France), DUT (Da Nang Vietnam)
- HDSN Web Interface and Web Services
HDSN Web API
Examples :
- POST api/Capteurs/Info, renvoi la liste complete des capteurs d'un Module
- POST api/Capteurs/Data/Today, renvoi toutes les données mesurées aujourd'hui (Une donnée par Fréquence de relevé)
- POST api/Capteurs/Data/Yesterday, renvoi toutes les données mesurées hier (Une donnée par Fréquence de relevé)
What's To do :
- Test of HDSN sensors and the functionalities of the HDSN Web interface
To do that load http://eu.e-sylife.com/ web page and connect with the login tigli@unice.fr and the pass: olmbnrdl. This web page show you now all the measures you can get on ther room 0+101 in Polytech. Some Questions :
What is the lsit of the sensors in the room O+101 ? What is the frequency of the measurement ?
Can we accelerate the frequency of the measures ?
What alarm can I trigger and how ?
How I can use the measures in my Excel sheets of my project ?
- Use of the Web Service of HDSN
The access to the measures can be done automatically through the web services.
Here you can find a zip file of a simple C# GUI programm to access to these Web services. example of GUI in C# to access to HDSN WS.zip
Because the access keys are changing periodically, here is the list of the most recent ones : Access keys for HDSN sensors 220518
Lecture 4 :
Lecturer: J.Y. Tigli
8:00 - 12:15 : During the lab : Technical support by teacher to solve last technical difficulties of the students in their project.
10:00 : middle time progress assement, to possibily reconsider the ambition of the students project (indeed, the project must be finished at the end of this lab).
Lecture 5 :
Lecturer: J.Y. Tigli
Audition of each student his project.