Giter Site home page Giter Site logo

rain_checker's Introduction

#rain_checker Rain Updater for Olisto connectors

This checker will periodicly check for the expected rain for a configured location (netherlands) using the buienradar api. Using Lon / Lat you can configure you get a 2 hour forcast of rain. 000 means no rain 255 means heavy rain

This value can be converted to mm/h by: mm/h = 10^((value -109)/32) f.e. 77 = 0.1 mm/uur 200 = 700 mm/uur

drizzle = 0.1 mm/h (motregen) KNMI definition of rain: drops of water with a min. diamter of approx. 0,5 - 0.6 mm rain (which will make sound when hitting objects) When talking about sufficient (real rain) we generally mean a 1 - 2 mm of water per hour. So when talking about "real" we take a general min. of 77 of rainscore

Heavy thunder will give 30 - 80mm of rain. Its does happen to have over 100 mm of rain in 2 / 3 hours for very heavy thunderstorms. Tropical rains can give 1000 mm/h (very exceptional in western europe)

test_data = " 077|09:35 150|09:40 000|09:45 000|09:50 000|09:55 000|10:00 000|10:05 000|10:10 000|10:15 000|10:20 000|10:25 000|10:30 000|10:35 000|10:40 000|10:45 000|10:50 000|10:55 000|11:00 000|11:05 000|11:10 000|11:15 000|11:20 000|11:25 000|11:30 000|11:35 "

get rain data: http://gps.buienradar.nl/getrr.php?lat=51&lon=3')

Information about the API: https://www.buienradar.nl/overbuienradar/gratis-weerdata

Remark: Currently you are allowed to use the buienradar api for personal use. If you are creating commercial project using this buienradar API you will have to contact buienradar (RTL Netherlands) to get permission.

rain_checker's People

Contributors

mvdbr4nd 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.