Skip to content

Precipitation forecast for the next two hours in five minute intervals. For every location in the Netherlands.

License

Notifications You must be signed in to change notification settings

sanderbaas/rainalarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rain Alarm

Rain Alarm is a Cordova-based app for Android (maybe more in the future) with which precipitation forecasts are visualized in a graph. For now only locations in The Netherlands are covered via open-data of Buienradar. Forecasts of the next two hours are displayed in five-minute intervals.

It is possible to search a certain location by address, through Nominatim and save it. You can save multiple locations and switch between them. You can also use your current location. The forecasts can also be based on your current location, then it is important that the app has access to your location.

Privacy

For now the GPS-coordinates of your location are sent to https://nominatim.openstreetmap.org to figure out what the description is for your location. This is shown in the app. Furthermore your GPS-coordinates are sent to http://gps.buienradar.nl/getrr.php to fetch the precipitation forecast for your location.

To be able to show the current weather conditions on your location, the GPS-coordinates are also sent to OpenWeatherMap.

I am thinking about adding an option to 'blur' your location by a certain distance. This has also been implemented in the latest nightly of Firefox OS itself, so for that it is not immediately neccesary.

Third feature I am thinking of is a way of using a (anonymizing) proxy for fetching forecasts from Buienradar, to prevent sharing your location along with your IP-address with them.

Version

4.1.0

Tech

RainAlarm uses a number of open source projects to work properly:

  • PhoneGap - framework to create mobile apps using standardized web APIs for different
  • HighCharts - a charting library written in pure JavaScript
  • Nominatim - a tool from OpenStreetmap for reverse geocoding
  • jQuery - a fast, small, and feature-rich JavaScript library
  • OpenStreetMap - a collaborative project to create a free editable map of the world

Install

Download the package from Google Play, or better yet, from f-droid. Or install Cordova and compile and build it yourself.

License

ISC

Copyright (c) 2016 Sander Baas

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

Precipitation forecast for the next two hours in five minute intervals. For every location in the Netherlands.

Resources

License

Stars

Watchers

Forks

Packages

No packages published