Welcome to Smart Home Forum by FIBARO
Search the Community
Showing results for tags '⛈'.
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 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 Or a Block Scene: Where the value: 0 = no rain expected 999 = it is raining any other number = the minutes until rain expected In this example rain is expected at 20:55, within 93 minutes. local value = fibaro.getValue(321,"value") 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: local log = fibaro.getValue(321,"log") 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 https://www.buienradar.nl. 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) NO or YES coverage Download the QuickApp here (download the file and un-zip): https://github.com/GitHub4Eddy/buienradar_rain/archive/buienradar_rain_11.zip or Fibaro Marketplace: https://marketplace.fibaro.com/items/buienradar-rain How to install: Open the Configuration Interface Go to Settings > Devices Click + Choose Other Device Choose Upload File Choose file from your computer with .fqa 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)