GithubHelp home page GithubHelp logo

myslide / myluftdatenarchiver Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 15 KB

If you contribute to the citizen science project of http://luftdaten.info/ you may analyse your sensor data for your own purpose.

PHP 100.00%
iot php environmental-monitoring webpage

myluftdatenarchiver's Introduction

Overview

If you contribute to the citizen science project of http://luftdaten.info/ you may analyse your sensor data for your own purpose. This tiny php program downloads all these individual files of a specific sensor from a given date until today onto your computer or any given directory. Feel free to improve it!

Howto

Use the config.ini to set up the individual data:

  • Your Sensor ID. Currently I implemented the Air quality sensor SDS011 and the temperature/humidity/pressure sensor BM280 specifics.

  • The start date. When went the sensor online?

  • The target directory. The download folder of the files. A relative pathname from the php files is possible.

Launch it in a proper php configuration: >php aggregate.php

Quick'n dirty run on Windows

  • download php for Windows
  • unzip the files into c:\php (to find the php_openssl.dll)
  • rename the file php.ini-development into php.ini
  • in file php.ini remove ";" in line "extension=openssl"
  • download MyLuftdatenArchiver from Github https://github.com/myslide/MyLuftdatenArchiver/archive/master.zip
  • unzip it (pathtoMyLuftdatenArchiver-master)
  • Set up the sensorids in the MyLuftdatenArchiver\config.ini. You find sensor number i.e. in the details of sensor in https://maps.sensor.community .
  • Set up the start date and the target directory of the csv files in the config.ini.
  • open a commandline from the php directory and type: .\php ‹pathtoMyLuftdatenArchiver-master›\aggregate.php

myluftdatenarchiver's People

Contributors

myslide avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.