Difference between revisions of "Sprinkler"

From BITPlan Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
* http://www.programmieren-optimieren.de/php/google-wetter-api-eingestellt-die-alternativen/
 
* http://www.programmieren-optimieren.de/php/google-wetter-api-eingestellt-die-alternativen/
 
* https://stackoverflow.com/questions/12461730/find-weather-using-java
 
* https://stackoverflow.com/questions/12461730/find-weather-using-java
 +
 +
== Open Weather Api ==
 +
City list: http://bulk.openweathermap.org/sample/city.list.json.gz
 +
<source lang='json'>
 +
{
 +
    "id": 2808559,
 +
    "name": "Willich",
 +
    "country": "DE",
 +
    "coord": {
 +
      "lon": 6.55,
 +
      "lat": 51.26667
 +
    }
 +
  },
 +
</source>
  
 
== DWD Data ==
 
== DWD Data ==

Revision as of 18:32, 1 August 2018

Requirements

  1. The System shall sprinkle if the lawn needs water
  2. The System shall sprinkle in the morning no earlier then 6:30 pm
  3. The System shall collect rain data from a weather service e.g. Deutscher Wetter Dienst open data server opendata.dwd.de

Use cases

System context

Weather API alternatives

Open Weather Api

City list: http://bulk.openweathermap.org/sample/city.list.json.gz

{
    "id": 2808559,
    "name": "Willich",
    "country": "DE",
    "coord": {
      "lon": 6.55,
      "lat": 51.26667
    }
  },

DWD Data

Precipitation data:

How to read Radolan data

  1. https://www.hs-rm.de/de/fachbereiche/architektur-und-bauingenieurwesen/forschungsprofil/arbeitsgruppe-starkregen-und-sturzfluten/projekt-klimprax-ap1/radar-software/

Wetter Online

METAR

https://en.wikipedia.org/wiki/METAR Example: Mönchengladbach