Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

QuickApp - Buienradar Rain ⛈


SmartHomeEddy
 Share

Question

This QuickApp predicts the rain in The Netherlands (and Belgium, a part of Germany and a small part of France and England) with data from the Buienradar, two hours in advance. The value of this QuickApp represents the minutes until rain. If there is no rain expected, the value is set to 0. If it rains, the value is set to 999 and the amount of rain (mm/h) is shown. 

 

Buienradar updates every 5 minutes with intervals of 5 minutes until 2 hours in advance. If rain is expected within the first predicted 5 minutes or less, the QuickApp assumes it is raining. 

If rain is expected or it rains, the interval for checking the Buienradar data (default without rain 300 seconds, equal to the Buienradar updates) is speed up (default 60 seconds) so the QuickApp value is updated more often.

 

Version 1.1 (19th March 2021)

  • Added Child Device for rainfall mm/h
  • Added Quickapp variable for debug level (1=some, 2=few, 3=all). Recommended default value is 1. debuglevel 4 = Rain expected simalation. debugLevel = 5 Raining simulation
  • Freed up some space (3 positions) in the presentation of the amount of rain 
  • Increased the default value of the maximum lines (maxLines) from 23 to 26
  • Changed the unit in case of rain to empty

 

Version 1.0 (25th October 2020)

  • Added the possibility to change the icon according to rain, rain expected or dry. Three not mandatory quickapp variables are added to fill in with the icon number for rain, rain expected and dry. 

 

Version 0.3 (26th September 2020)

  • Build an extra check for an incomplete Buienradar response (sometimes less than two hours)
  • Added global variable maxLines to arrange the maximum amount of lines to indicate the amount of rain (one line for every 0.10mm rain) to fit the screen of your mobile device
  • Decreased the default lines from 25 to 23 to show it right on an iPhone

 

Version 0.2 (4th September 2020)

  • Ready for the new Mobile App 1.9: Added visual level of rain (forecast) with thanks to @tinman from forum.fibaro.com
  • Added warning for latitude and logitude settings where Buienradar Rain has (no) coverage

 

Version 0.1 (15th August 2020)

  • Initial version

 

 

Please login or register to see this attachment.

 

The value of this QuickApp is the same as the value of any other device like a temperature, humidity, CO2 sensor. With the value updated in this QuickApp, you are able to build and use your own scenes to notify, to close or open sunscreens, to close or open windows, etcetera
 

Please login or register to see this attachment.


Or a Block Scene:

Please login or register to see this image.

/monthly_2020_08/A9331C68-066D-46DF-9E4D-CA53F490ECEE.jpeg.904f614b55dca5b1d898d768cd467a2c.jpeg" />


 

Where the value: 

0 = no rain expected

999  = it is raining

any other number = the minutes until rain expected

 

buienradar_rain-1.png.901679cb0641bbb7e2224917de91561e.png

 

In this example rain is expected at 20:55, within 93 minutes. 

Please login or register to see this code.

Where 321 should be your Buienradar Rain device ID


In this example it is raining. In the log you can see how much it is raining: 

E4DBF2B6-03E0-4372-A995-F87626FCFCE6.jpeg.44a19a99924dbf215db25cfac69c82c5.jpeg

Please login or register to see this code.

Where 321 should be your Buienradar Rain device ID

 

 

JSON data copyright: (C)opyright Buienradar / RTL. All rights reserved. 
JSON data terms: Deze feed mag vrij worden gebruikt onder voorwaarde van bronvermelding buienradar.nl inclusief een hyperlink naar

Please login or register to see this link.

Aan de feed kunnen door gebruikers of andere personen geen rechten worden ontleend.

 

 

QuickApp variables (mandatory, they will be automatically added with the default values):

  • intervalR = Number in seconds to update the data when rain expected or raining (default is 60 seconds, must be different to IntervalD)
  • intervalD = Number in seconds to update the data when no rain expected. Buienradar is updated every 300 seconds (default is 300 seconds). 
  • latitude = of your location (default is the latitude of your HC3)
  • longitude = of your location (default is the longitude of your HC3)
  • maxLines = maximum number of | to indicate the amount of rain (one line for every 0.10mm rain)
  • iconR = icon number for rain
  • iconE = icon for rain expected
  • iconD = icon number for dry

 

Coverage:

Latitude (50-54) / longitude (1-10)

 

image.png.68289843ffe67354546644034b26f48c.png
NO or YES coverage

 

Please login or register to see this attachment.


Please login or register to see this attachment.

 

 


 

Download the QuickApp here (download the file and un-zip):

Please login or register to see this link.

or Fibaro Marketplace: 

Please login or register to see this link.


 

How to install: 

  1. Open the Configuration Interface
  2. Go to Settings > Devices
  3. Click  +
  4. Choose Other Device
  5. Choose Upload File
  6. Choose file from your computer with .fqa
  7. Check the latitude and longitude settings in the QuickApp Variables and change them to your settings (or delete them and push the “save” button to force the right default settings)

 

Edited by SmartHomeEddy
  • Like 4
  • Thanks 1
Link to comment
Share on other sites

Recommended Posts

  • 0

It's a shame that it doesn't work in my country.

Thanks @SmartHomeEddy anyway for the excellent idea!

 

I will continue to watch the thread here, maybe there will be another weather service that can be used all over Europe ;-)

Link to comment
Share on other sites

  • 0
  • Inquirer
  • This is the first check for latitude (49-55) / longitude (0-11) / NO or YES coverage

     

     

    Please login or register to see this image.

    /monthly_2020_08/image.png.68289843ffe67354546644034b26f48c.png" />

     

    Please login or register to see this attachment.

     

    Please login or register to see this link.

     

     

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0
    35 minutes ago, SmartHomeEddy said:

    This is the first check for latitude / longitude / NO or YES coverage

     

    Please login or register to see this link.

     

     

     

    My location is: 

    Please login or register to see this link.

     

    and  no data is displayed.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • As far is I can check for now, Buienradar Rain only works for latitude 50-54 and longitude 1-10. So that explains your clear blue sky ?

     

    I added a map in my reaction above.

     

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0
    4 hours ago, SmartHomeEddy said:


    maybe a blunt question, but are the latitude and longitude settings in the QuickApp Variables the right ones? 
    (Just asking)

     

    no, everything was correct, it is simply due to lowest resolution (0.1mm/h, which is 077), so if "something higher than 0 and up to 0.2mm/h - 087 is expected, 077 will be calculated. When there are no clouds in neighbours qudrants (and i can bet wind speed and some other factors will be taken as wel), 000 will be displayed. That's actually ok, and what i expcted, the only information i missed in your QA was amount of expected rain, which however exists and can be easily used/displayed (if one need it). 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 49 minutes ago, tinman said:

    what i expcted, the only information i missed in your QA was amount of expected rain, which however exists and can be easily used/displayed (if one need it). 

     

    I thought about it. It is easy to calculate and show the expected rain (mm/h) in the first 5 minutes when rain is expected. But most of the time, it wil start with some drizzle, which does not represent the amount of rain to come. 

     

    I could use some help, what would help to show? The total amount of rain within the next two hours or just the amount of the first 5 minutes when rain is expected (or something else)?

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0

    actually it seems to be always time related, however drizzle is < 0.1mm in 60mins

     

    Please login or register to see this link.

     

     

    it is hard to predict on the predicted amount of rain :) without historic and 24hrs data

    Please login or register to see this link.

     

    The data for next 2hrs is there, to make it perfect one would need to show graph trend for next 2hrs, with value ^^

    Of course there is no graph, space is reduced and the amount of data (up to 178 points resolution) is stupid thing. On the other hand, everything above some value does not matter, a plus sign and value are sufficient.

    Maybe soemthing like this? On the BUI looks like:

     

    image.png.2fcffe043d0caa31bd468d0c6a7184d6.png

     

    on iph7 with 1.9 app it looks like:

     

    Please login or register to see this spoiler.

     

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Thanks @tinman

     

    Made some progress, sneak preview:

     

    Please login or register to see this attachment.


     

     

    Good to see some QuickApp content in the Mobile App by the way ?

     

     

    Edited by SmartHomeEddy
    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • I published a new version of the Buienradar Rain QuickApp. 

     

    The main changes are:

    - Ready for the new Mobile App 1.9: Added visual level of rain (forecast) with thanks to @tinman 

    - Added warning for latitude and logitude settings where Buienradar Rain has (no) coverage

     

    Because the new Mobile app now supports QuickApps more, it makes sense to show more information in the QuickApp and thus also in the Mobile App. 
     

     

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • A new release of Buienradar Rain is online and ready to download: 

     

    Version 0.3 (26th September 2020)

    - Build an extra check for an incomplete Buienradar response (sometimes less than two hours)

    - Added global variable maxLines to arrange the maximum amount of lines to indicate the amount of rain (one line for every 0.10mm rain) to fit the screen of your mobile device

    - Decreased the default lines from 25 to 23 to show it right on an iPhone

     

     

     

    • Like 1
    • Thanks 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 20 minutes ago, pnutp0wer said:

    Why is the QuickApp not available in the download section anymore? 

     

    In the download section the products first have to be approved by a moderator before they become available. But the approval proces takes very long (and doesn't add anything), so I left the download section. I want to be able to upload patches or new versions quickly and not wait a week or more for approval. 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • In the next version you will be able to show an icon according to the actual weather: three icons for “rain”, “rain expected” and “dry”. 
     

    So look for some nice icons. 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • A new version of the Buienradar Rain QuickApp is available. 

     

    Changes: 

    Added the possibility to change the icon according to rain, rain expected or dry. Three not mandatory quickapp variables are added to fill in with the icon number for rain, rain expected and dry. 

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • strange rain patterns ?

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Posted (edited)

    The new release of Buienradar Rain is available. 

     

    Version 1.1 (19th March 2021)

    • Added Child Device for rainfall mm/h
    • Added Quickapp variable for debug level (1=some, 2=few, 3=all). Recommended default value is 1. debuglevel 4 = Rain expected simalation. debugLevel = 5 Raining simulation
    • Freed up some space (3 positions) in the presentation of the amount of rain 
    • Increased the default value of the maximum lines (maxLines) from 23 to 26
    • Changed the unit in case of rain to empty

    Please login or register to see this image.

    /monthly_2021_03/buienradar_rain-1.png.901679cb0641bbb7e2224917de91561e.png" />

     

    So now with a (child) device with the actual rainfall. Buienradar Rain is more accurate than for example Buienradar Weather, because Buienradar Rain act on X-Y coordinates and Buienradar Weather on weather-stations. So now you can see and log the actual rainfall in a device. 

     

    And for all of you outside The Netherlands, Buienradar Rain works also in this part of Germany, UK, Belgium and France:

     

    Please login or register to see this attachment.

     

     

    Edited by SmartHomeEddy
    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Also nice graphics with InfluxDB and Grafana from the Buienradar Rain QuickApp: 

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...