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


Question

Posted (edited)

This QuickApp can be used as your Fibaro Homecenter 3 Weather Provider (Settings - 6. General - Main - Main Devices - Weather Provider)
The Buienradar Weather QuickApp contains the current Dutch weather measurements, the weather forecast and the 5-day forecast 
The 5-days forecast is shown in the labels and the tomorrow forecast is shown in the child devices 
The current observations are measured by KNMI weather stations spread across The Netherlands and are updated every 10 minutes 
The weather report is updated several times a day by the Buienradar meteorologists 

 

Please login or register to see this attachment.

 

The QuickApp has child devices for:

  • Temperature °C 
  • Feel temperature °C 
  • Ground temperature °C 
  • Humidity % 
  • Absolute humidity g/m³
  • Airpressure hPa
  • Windspeed m/s 
  • Windspeed km/h
  • Winddirectiondegrees ° (plus wind direction and arrow)
  • Windspeed Bft
  • Windgusts km/h
  • Rain mm/h 
  • Rain Last 24h mm
  • Sunpower Watt/m²
  • Visibility km
  • Sunset (time)
  • Sunrise (time)
  • Sun Chance tomorrow % 
  • Min Temp tomorrow °C
  • Max Temp tomorrow °C
  • Rain Chance tomorrow % 
  • Min Rain tomorrow mm/h
  • Max Rain tomorrow mm/h
  • Wind tomorrow m/s (plus wind direction and arrow)
  • Wind tomorrow km/h (plus wind direction and arrow)

 

This QuickApp is plug-and-play. The only thing you can do, is change the Station ID to a weather-station nearby from the list or add some nice icons to the devices. 

 

  • Wind Chill (based on the JAG/TI-method) and is only valid for temperatures between -46 C and +10 C and is only valid for wind speed between 1.3 m/s and 49 m/s
  • Windspeed is shown in m/s (km/3.6)
  • Absolute humidity is the measure of water vapor (moisture) in the air, regardless of temperature. It is expressed as grams of moisture per cubic meter of air (g/m3) 
  • conditionCodes = {unavailable = 3200, clear = 32, rain = 40, snow = 43, storm = 38, cloudy = 30, fog = 20,}
  • The time shown in the QuickApp, is the last time of the measurement from Buienradar (not the system time)

 

Changes version 3.0 (23rd March 2022)

  • Added 5-days forecast to the labels
  • Addded child devices for:
    •   Feel temperature °C 
    •   Ground temperature °C 
    •   Windspeed km/h
    •   Windspeed Bft
    •   Windgusts km/h
    •   Rain Last 24h mm
    •   Sun Chance tomorrow % 
    •   Min Temp tomorrow °C
    •   Max Temp tomorrow °C
    •   Rain Chance tomorrow % 
    •   Min Rain tomorrow mm/h
    •   Max Rain tomorrow mm/h
    •   Wind tomorrow m/s (plus wind direction and arrow)
    •   Wind tomorrow km/h (plus wind direction and arrow)
  • Changed SunPower device type to powerSensor
  • Changed all Wind devices types to windSensor
  • Converted date-times to more nice format
  • Quickapp variable setGlobalVar changed to boolean
  • Added Quickapp variable stationWarning to show a warning (once) if your station hasn't got some weather value (default is true)
  • Optimised some code

Changes version 2.1 (15th January 2021)

  • Added weatherdescription: 
    • "Mix van opklaringen en hoge bewolking" to conditioncode "cloudy"
    • "Half bewolkt" to conditioncode "cloudy"
    • "Opklaring en lokaal nevel of mist" to conditioncode "fog"
    • "Zwaar bewolkt met lichte sneeuwval" to conditionCode "snow"
    • "Zwaar bewolkt met regen en winterse neerslag" to conditioncode "snow"
    • "Afwisselend bewolkt met lichte sneeuwval" to conditioncode "snow"
    • "Zware sneeuwval" to conditioncode "snow"
    • "Opklaringen en kans op enkele pittige (onweers)buien" to conditioncode "rain"
    • "Bewolkt en kans op enkele pittige (onweers)buien" to conditioncode "rain"
  • Added Airpressure Text in log of Airpressure Child Device

Changes version 2.0 (3rd January 2021)

  • Added Child Devices for: 
    • Temperature °C (including feeltemperature and groundtemperature) 
    • Humidity % 
    • Absolute humidity g/m³
    • Airpressure hPa
    • Windspeed m/s (including windspeedBft and Windgust km/h)
    • Winddirectiondegrees ° (including winddirection and arrow)
    • Rain mm/h (including rainFallLast24Hour mm)
    • Sunpower watt/m²
    • Visibility km
    • Sunset (time)
    • Sunrise (time)
  • Re-arranged the labels
  • Added backup station functionality for weather stations that don't have all the data, the data from 6260 Meetstation De Bilt is used. 
  • Improved check for missing data
  • Added Quickapp variable for debug level (1=some, 2=few, 3=all). Recommended default value is 1.

Changes version 1.0 (25th October 2020)

  • Added weatherdescription "Zwaar bewolkt met wat lichte regen" to conditionCode "rain"

Changes version 0.6 (9th September 2020)

  • Changed conditionCodes storm = 38 snow = 43 and unknown = unavailable
  • Added weatherdescription "Afwisselend bewolkt met (mogelijk) wat lichte regen" to conditionCode "rain" and and "Afwisselend bewolkt met lokaal mist(banken)" to conditionCode "fog"

Changes version 0.5 (4th September 2020)

  • Added wind direction, air pressure and feel temperature to QuickApp labels
  • Changed stationname to regio in labels and log
  • Changed the names of the Global Variables to meet the Fibaro standards and shortened them (please manually delete your old ones and change the names in your scenes)
  • Added an extra check for response of Buienradar (jsonTable)

Changes version 0.4 (22nd August 2020)

  • Completely renewed code
  • Several Global Variables are available for personal use
  • Added QuickApp variable SetGlobalVar true or false, whether you want to use the Global Variables
  • Added QuickApp variable Timeout for finetuning waiting for response

Changes version 0.3 (11th August 2020)

  • error message instead of debug message in case of an error
  • Changed method of adding QuickApp variables, so they can be edited


 

Weather conditions:

The Buienradar weather description is converted to the right Fibaro condition codes, with the icons:

 

Please login or register to see this image.

/monthly_2020_09/0F1673AC-6806-4F30-B7DA-26BCD55F5063.jpeg.029fe086520bc114b2008f60d968c359.jpeg" /> 8439B8B3-FF29-4622-9404-4069C546CFEA.jpeg.e7853a62d6ba1d92d5d2692a311bd076.jpeg 633D017C-C775-40E9-9C4E-55464662FEAF.jpeg.7a96145ee6996ba741caaa027f112b6b.jpeg 04B8D106-83B2-4910-9D6A-E09DA3311C9A.jpeg.102f44a17adf1ffaa38509218daf3eb6.jpeg A1DF2579-442F-484B-B44E-C505C87CB8FB.jpeg.94df0499dddbed12ebfb16d832d882bd.jpeg 3D5316E8-987A-4C02-AE3C-98528F0549C0.jpeg.c00a4ace403c4bd8d84729240b59d2e3.jpeg 8E3B81BA-123B-483E-82A4-DE7FC6D8A6F5.jpeg.05be6ce402c8e889022a0b2773f12e42.jpeg 

 

Fibaro Dashboard:

The Fibaro properties Temperature, Humidity and Wind values are updated to show in your dashboard:

 

4B59AF15-1180-480A-B9B6-316105AB8DDF.jpeg.f04529f6af83d4fd947a75292059edf9.jpeg

 

 

Mobile App:

For the Mobile app these values are available:

 

Buienradar-weather-2.png.816f980ae89bf6580dd4ceaa593d945b.png

 

For the most accurate measurements you can select a Station in your neighborhood:

6391 Meetstation Arcen / 6275 Meetstation Arnhem / 6249 Meetstation Berkhout / 6308 Meetstation Cadzand / 6260 Meetstation De Bilt / 6235 Meetstation Den Helder / 6370 Meetstation Eindhoven / 6377 Meetstation Ell / 6321 Meetstation Euro platform / 6350 Meetstation Gilze Rijen / 6323 Meetstation Goes / 6283 Meetstation Groenlo-Hupsel / 6280 Meetstation Groningen / 6315 Meetstation Hansweert / 6278 Meetstation Heino / 6356 Meetstation Herwijnen / 6330 Meetstation Hoek van Holland / 6279 Meetstation Hoogeveen / 6251 Meetstation Hoorn Terschelling / 6258 Meetstation Houtribdijk / 6285 Meetstation Huibertgat / 6209 Meetstation IJmond / 6225 Meetstation IJmuiden / 6277 Meetstation Lauwersoog / 6320 Meetstation LE Goeree / 6270 Meetstation Leeuwarden / 6269 Meetstation Lelystad / 6348 Meetstation Lopik-Cabauw / 6380 Meetstation Maastricht / 6273 Meetstation Marknesse / 6286 Meetstation Nieuw Beerta / 6312 Meetstation Oosterschelde / 6344 Meetstation Rotterdam / 6343 Meetstation Rotterdam Geulhaven / 6316 Meetstation Schaar / 6240 Meetstation Schiphol / 6324 Meetstation Stavenisse / 6267 Meetstation Stavoren / 6229 Meetstation Texelhors / 6331 Meetstation Tholen / 6290 Meetstation Twente / 6313 Meetstation Vlakte aan de Raan / 6242 Meetstation Vlieland / 6310 Meetstation Vlissingen / 6375 Meetstation Volkel / 6215 Meetstation Voorschoten / 6319 Meetstation Westdorpe / 6248 Meetstation Wijdenes / 6257 Meetstation Wijk aan Zee / 6340 Meetstation Woensdrecht / 6239 Meetstation Zeeplatform F-3 / 6252 Meetstation Zeeplatform K13

 

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

  • interval = Number in seconds to update the data (defaul = 601)
  • timeout = Number in seconds to wait for a response (default = 5)
  • stationID = Number of the station you want to use for weather measurements (default = 6260 Meetstation De Bilt)
  • backupstationID = Number of the backup station for missing weather data from stations that don't have all the data (default = 6260 Meetstation De Bilt). Don't change this ID unless you know what you are doing. 
  • setGlobalVar = true or false, whether you want tu use the Global Variables (default = false)
  • stationWarning = true or false, whether you want to receive warnings if your station hasn't got some weather value (default is true)
  • debugLevel = Number (1=some, 2=few, 3=all) (default = 1)

 

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

 

JSON data copyright: (C)opyright Buienradar / RTL. All rights reserved JSON data terms: This feed may be used freely under condition of source reference buienradar.nl including a hyperlink to https://www.buienradar.nl. The feed cannot be derived from users or other persons.

 

 

 

 

 

 

Edited by SmartHomeEddy
  • Like 2
  • Thanks 1

Recommended Posts

  • 0
  • Inquirer
  • Posted (edited)


    Sneak Preview of the next version 2.0

     

     

    Please login or register to see this attachment.

     

    Please login or register to see this attachment.

    Edited by SmartHomeEddy
    • Like 5
    • 0
    Posted

    Great, I use the 1.0 version and works perfect on the HC3.

    Tip: is it possible to make the debug under a variable, false or true. When the QA works perfect is al lot of message in debug list no needed.

    • Thanks 1
    • 0
  • Inquirer
  • Posted (edited)

    Hi @twanve, thanks, in the next version debug and trace message are off, only warnings and errors are on. Will look further in to it. 
     

     

    Edited by SmartHomeEddy
    Added debuglevel to the new version
    • 0
  • Inquirer
  • Posted (edited)

    The new version of Buienradar Weather is available (in the first post). 

     

    Changes are: 

    • Added Child Devices for: 
      • Temperature °C (including feeltemperature and groundtemperature) 
      • Humidity % 
      • Absolute humidity g/m³
      • Airpressure hPa
      • Windspeed m/s (including windspeedBft and Windgust km/h)
      • Winddirectiondegrees ° (including winddirection and arrow)
      • Rain mm/h (including rainFallLast24Hour mm)
      • Sunpower watt/m²
      • Visibility km
      • Sunset (time)
      • Sunrise (time)
    • Re-arranged the labels
    • Added backup station functionality for weather stations that don't have all the data, the data from 6260 Meetstation De Bilt is used. 
    • Improved check for missing data
    • Added Quickapp variable for debug level (1=some, 2=few, 3=all). Recommended default value is 1.

     

    Please login or register to see this attachment.

    Edited by SmartHomeEddy
    • 0
    Posted

    New version downloaded and first remove old version 1.0.

    New .fqa install and "woh", I get now 12 new icons with data. My new HC3 more filled:-)
    Set weather station to my location and everything seems to work.
    Thx for you great job

     

    ps; when you have more time, I have one more 

    Please login or register to see this link.

     to migrate:-)

     

    • Like 1
    • 0
  • Inquirer
  • Posted (edited)

    A new version is available with the following changes:

    • Added weatherdescription: 
      • "Mix van opklaringen en hoge bewolking" to conditioncode "cloudy"
      • "Half bewolkt" to conditioncode "cloudy"
      • "Opklaring en lokaal nevel of mist" to conditioncode "fog"
      • "Zwaar bewolkt met lichte sneeuwval" to conditionCode "snow"
      • "Zwaar bewolkt met regen en winterse neerslag" to conditioncode "snow"
      • "Afwisselend bewolkt met lichte sneeuwval" to conditioncode "snow"
      • "Zware sneeuwval" to conditioncode "snow"
      • "Opklaringen en kans op enkele pittige (onweers)buien" to conditioncode "rain"
      • "Bewolkt en kans op enkele pittige (onweers)buien" to conditioncode "rain"
    • Added Airpressure Text in log of Airpressure Child Device


    Please login or register to see this attachment.

     

    Please login or register to see this attachment.


     

     

    Weatherdescription and conditionCode

    Please login or register to see this attachment.


     

     

     

    Edited by SmartHomeEddy
    • 0
    Posted

    I think i'm the only one. But i get an error:

     

    [19.01.2021] [20:06:00] [ERROR] [QUICKAPP255]: main.lua:646: attempt to call a nil value (field '?')

     

    Any ideas? 

    • 0
  • Inquirer
  • Posted (edited)

    @ArjanP I will have a look

     

    Send you a pm for help

     

    Just remove the quickapp, reboot your HC3 and install de quickapp again. It works on my HC3 and with other users, so I think some strange thing happened. 
     

    And heared from Arjan it worked. 

     

     

     

     

     

    Edited by SmartHomeEddy
    • 0
    Posted

    Using this QuickApp on HC3 and it works great! Easy to setup and gives plenty of oppertunities for automation! Like automatic scene start when sunny or reaching a certain temperature! Great work and thanks for sharing!

    • Thanks 1
    • 0
    Posted (edited)

    Excellent! Prachtig :)

     

    This fits my needs. Thanks a lot.  Setting up the conditions for my shades inside the house, and the somfy IO driven blinds on the terrace. Great :)

     

    @SmartHomeEddy

     

    Been checkin your QA, and it works great. The only thing i am not sure about if

    the app can do  is, the rain expectation for the coming 3 hours.

     

    I would like to make a scene that notifies me about the coming rain. And then

    some follow up action that closes my sun shades outside.

     

    edit 2

    I see, you made another app for that....how cool :) Let me try that also

     

    Edited by ppeterr
    • Thanks 1
    • 0
  • Inquirer
  • Posted
    1 hour ago, ppeterr said:

    Excellent! Prachtig :)

     

    This fits my needs. Thanks a lot.  Setting up the conditions for my shades inside the house, and the somfy IO driven blinds on the terrace. Great :)

     

    @SmartHomeEddy

     

    Been checkin your QA, and it works great. The only thing i am not sure about if

    the app can do  is, the rain expectation for the coming 3 hours.

     

    I would like to make a scene that notifies me about the coming rain. And then

    some follow up action that closes my sun shades outside.

     

    edit 2

    I see, you made another app for that....how cool :) Let me try that also

     


    Indeed, for more accurate rain predictions, you need the QuickApp Buienradar Rain. 
     

     

    • 0
    Posted (edited)

    Uhmmmm.....unknown..

    What i know, is that nothing changed. And it errors already for about 30mins...

     

    This needs some investigation.....but how :)

     

    [24.08.2021] [18:20:01] [ERROR] [QUICKAPP114]: QuickApp crashed[24.08.2021] [18:20:01] [ERROR] [QUICKAPP114]: Unknown error occurred:

     

     

    [edit] well, there was a hc3 update waiting 5.080.12. That cleared the error. Normally not the way i would go,  but well....unknown doesnt tell me anything.

    Edited by ppeterr
    • 0
  • Inquirer
  • Posted
    On 8/24/2021 at 6:24 PM, ppeterr said:

    edit] well, there was a hc3 update waiting 5.080.12. That cleared the error. Normally not the way i would go,  but well....unknown doesnt tell me anything.


    maybe just the reboot did the job?

    • 0
    Posted
    27 minutes ago, SmartHomeEddy said:


    maybe just the reboot did the job?

     

    That probably would have fixed it also, but we will never know :)

     

     

    • 0
    Posted

    Dear Eddy,

     

    QA buienrader weather crashes. 

    Please login or register to see this attachment.

     

    Can you help me?

     

    Thanks

    • 0
  • Inquirer
  • Posted (edited)

    Hi @Fireman

     

    on my Buienradar Weather I saw at tonight at 23:51 no response from Buienradar. That can happen. 

     

    Please login or register to see this attachment.

     

    But the quickapp should handle that correctly. Do you run version 2.1 ?

     

    (From version 2.0 error handling is better)

     

     

     

     

    Edited by SmartHomeEddy
    • 0
    Posted

    Yes I'am running version 2.1

     

    5 days ago is quick app crashes.

     

     

    • 0
  • Inquirer
  • Posted (edited)

    Which weather station do you use?

     

    And can you set debugLevel = 3 so we get some more debug messages?

     

     

     

    Edited by SmartHomeEddy
    • 0
    Posted

    Debug set to level 3 and QA works fine.

     

    Thanks.

    • 0
  • Inquirer
  • Posted

    Well, only setting debuglevel to 3 shouldn't be a solution, but sometimes restarting (that is a result of changing a quickapp variable) does give a quickapp a boost. Let's see if it stays ok. 

    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.

    ×
    ×
    • Create New...