Difference between revisions of "Projets-2016-2017-Plateform Analyse Données IOT"

From air
Jump to navigation Jump to search
Line 40: Line 40:
 
= Week 5 (February 6th- February 12th) =
 
= Week 5 (February 6th- February 12th) =
   
* Execution of a [[Projets-2016-2017-Plateform_Analyse_Donn%C3%A9es_IOT/Docker| '''Docker''']] image running influxDB and openhab
+
* Execution of a [[Projets-2016-2017-Plateform_Analyse_Donn%C3%A9es_IOT/Docker| '''Docker''']] image running influxDB and [[Projets-2016-2017-Plateform_Analyse_Donn%C3%A9es_IOT/openhab| '''openhab''']]
   
 
* Questions about the use of Grafana, or Openhab or both for the final plateform
 
* Questions about the use of Grafana, or Openhab or both for the final plateform

Revision as of 15:37, 14 March 2017

Team

  • Supervisors : Daniel Hilaire, Jean-Louis Bergerand, Nicolas Palix, Olivier Richard
  • Members : Estelle Allard, Lambert Rocher
  • Departement : RICM 4, Polytech Grenoble

Week 1 (January 9th - January 15th)

  • Choice of project and learning more information about project purposes

Week 2 (January 16th - January 22th)

  • Discovery of the project
  • Contatc with Daniel Hilaire and Jean-Louis Bergerand
  • Search for information on Docker and OpenHab
  • Statement of requirements

Exigences

Meeting with Daniel Hilaire and Jean-Louis Bergerand (Wednesday 18/01/2017)

  • Two possible solutions to retrieve data collected by the house sensors :
    • KNX gateway, prepared as a binary image that can be written to an SD card for a RaspberryPI
    • Programming the SpaceLYnk in LUA
  • Worthwhile data analysis : temperature and energy consumption compared to weather, indoor air quality

Week 3 (January 23th- January 29th)

  • Use diagramm edition

Diagramme des cas d'utilisation

  • Execution of a docker image running influxDB and grafana (dockerfile found on dockerhub).
  • Manual addition of data in the database using the http api.
  • Visualization of these data in a grafana dashboard.

Week 4 (January 30th- February 5th)

Session postponed

Week 5 (February 6th- February 12th)

  • Questions about the use of Grafana, or Openhab or both for the final plateform
-> essential to choose Openhab in order to be compatible with other projects (greenhouse ...)
-> then associate Grafana visuals / and R programming

Week 6 (February 13th- February 19th)

Monday 13th February

  • Creation of a docker image with Grafana, InfluxDB and R
  • Attempts about linking OpenHab and Grafana

Tuesday 14th February

  • Exploitation and research in SpaceLynk documentation in order to find a way to connect the device to our plateform
  • Technology intelligence about IBM solution for IoT plateform service and applications

Week 7 (February 27th - March 5th)

Monday 27th February

  • Information and test in OpenHab v2 (and phone app)
  • Thinking about the utility of OpenHab
  • Found how works the sitemap in order to make modification to create a visual interface close to the house's aspects

Tuesday 28th February

- Adding R installation to docker image

- Creating R script that writes data in the influxDB database.

Friday 3rd March

  • Two solutions for openhab sitemaps modifications :

- Looking how to access to the sitemap by creating a script which will write directly on the sitemap we want for making modifications

- Install again OpenHab in order to have to complete version and all fonctions able to show us directly the versions of the sitemap (which can be modified in local) **succeed**

  • Difficulty to find how to modified the sitemap, creation of a file test1.sitemaps but never use in openhab

Week 8

Monday 6th March

  • We went at IUT to find a way to transfer data collected by captors to our database. We used the HomelyLynk wich is a logical controller connected to captors, our goal was to make the HomelYnk send data through a web interface. We tried to connect to the HomelYnk with ftp but we coudnt see the files containing the data inside it. So now we think about crating LUA script to programm the HomelYnk. We still managed to save a csv file containing captors data manually.

Tuesday 7th March

Mid-term presentation. Thinking about database architecture.

Week 9

Monday 13rd March

  • Reading documentation about Spacelynk that may help to get captors data.

http://openrb.com/docs/remote-new.htm

http://openrb.com/example-export-last-hour-csv-object-log-file-to-external-ftp-server-from-lm2/

  • Writing javascript programm that makes the http requests to collect data from spacelynk. In order to test it on Terra Nostra next week.
  • Trying Node-Red to write data on influxDB.


Tuesday 14th March

  • Contact the two students who works on the Terra Nostra house in order to go an see it next week and testing our script.