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 - Tomorow.io Pollen 🌾


SmartHomeEddy
 Share

Question

This QuickApp gives access to real-time pollen count and risk category for grass pollen, weed pollen and tree pollen of any location from Tomorrow.io

 

Pollen is a fine powder produced by trees and plants
Pollen can severely affect people, especially those with different ailments such as asthma and respiratory issues.

 

Please login or register to see this image.

/monthly_2021_08/tomorrow_pollen2.png.07ea4721d3b0fc9c1381981d11473d4a.png" />

 

 

Version 0.1 (15th August 2021)

  • Initial working version

 

Pollen:

  • Grass Pollen: Pollen grains from grasses
  • Weed Pollen: Weeds are annual and perennial herbs and shrubs. A single plant may produce about a billion grains of pollen per season. 
  • Tree Pollen: Pollen from trees such as Birch and Oak

 

Risk:
0: None
1: Very low
2: Low
3: Medium
4: High
5: Very High

 

IMPORTANT

  • You need an API key from

    Please login or register to see this link.

     
  • The API is free up to 500 calls / per day, 25 calls / per hour, 3 calls / per second (Pollen is 5% of rate limit)
  • You need to create your location in

    Please login or register to see this link.

    to get a location ID and copy it to the QuickApp variable


tomorrow-icon.png.50dc331bd1e7a286e81c1f73ed31e100.png


Variables (mandatory): 

  • Variables (mandatory): 
  • apiKey = Get your free API key from Tomorrow.io
  • location =  Tomorrow.io location ID (created in

    Please login or register to see this link.

  • interval = [number] in seconds time to get the data from the API
  • timeout = [number] in seconds for http timeout
  • debugLevel = Number (1=some, 2=few, 3=all, 4=simulation mode) (default = 1)
  • icon = [numbber] User defined icon number (add the icon via an other device and lookup the number)

 

 

tomorrow_pollen1.png.369645adb8cf41c095e745b601386b4c.png

 

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

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

 

 

 

 

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

Recommended Posts

  • 0
  • Inquirer
  • Posted (edited)

    In case other providers don't proof to be that good or Tomorrow.io is better...

     

    Testing already has begon...

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @Martin Windsmose

     

    The first version of the Tomorrow Pollen QuickApp is available. This is a full working version. 

     

    Please login or register to see this image.

    /monthly_2021_08/tomorrow_pollen2.png.07ea4721d3b0fc9c1381981d11473d4a.png" />

     

    IMPORTANT

    • You need an API key from 

      Please login or register to see this link.

       
    • The API is free up to 500 calls / per day, 25 calls / per hour, 3 calls / per second (Pollen is 5% of rate limit)
    • You need to create your location in 

      Please login or register to see this link.

       to get a location ID and copy it to the QuickApp variable

    tomorrow_pollen1.png.369645adb8cf41c095e745b601386b4c.png

     

    • Like 2
    Link to comment
    Share on other sites

    • 0

    @SmartHomeEddy

     

    The zip from the link in the opening post is missing the fqa.

    And renaming Tomorrow_Pollen-01 to Tomorrow_Pollen-01.fqa gives a 500 error on the HC3

    Edited by ppeterr
    • Thanks 1
    Link to comment
    Share on other sites

    • 0
    15 minutes ago, SmartHomeEddy said:

    Sorry, my fault. It should be ok now. 

     

    Up and running, this needs some investigation 😎

     

     

    Please login or register to see this attachment.

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Don’t think it is “pollen time”, let’s see.
     

    But please let me know what you think about the measurements from different parts of the world (and what you think of the quickapp). 

    • Like 1
    Link to comment
    Share on other sites

    • 0

    I sure will but i need to find some time to do the testing. I dont have a use case for this, or at least not yet.

     

    Thanks for the app. I hope i will someday understand the coding.

     

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 2 minutes ago, ppeterr said:

    I hope i will someday understand the coding.

     

    Let me know if you need some help with one of your QuickApp projects. 

    • Thanks 1
    Link to comment
    Share on other sites

    • 0

    Maybe some action on this location. Melbourne Park. Seems that pollen and grass is a huge problem there. (oct till jan)

     

    Id: 611b421d59b81000076fcab6

    Please login or register to see this image.

     

    Please login or register to see this link.

    Edited by ppeterr
    • Thanks 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • That looks like a big problem. 

     

    Tried the location, but no high measurement yet. 

     

    Please login or register to see this code.

     

    Link to comment
    Share on other sites

    • 0
    10 minutes ago, SmartHomeEddy said:

    That looks like a big problem. 

     

    Tried the location, but no high measurement yet. 

     

    Please login or register to see this code.

     

     

    Same here, i'm changing it back to a local location, i'll try to make a trigger that sends a push notification when the values change.

    And then next month maybe back to Melbourne :) 

    Link to comment
    Share on other sites

    • 0
    21 minutes ago, SmartHomeEddy said:

    Please login or register to see this attachment.

     

    Thats nice, influx ? I'll try to setup influx today. Done :P Makes it much more usefull.

     

    Please login or register to see this code.


     

     

     

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

    • 0

    Well....4 hours later. pfff Influx+grafana running with influxdb as data source. That was the first 10 minutes :)

    How i get anything to report from the hc3 to the database....its a mystery to me. Another project that seems to be a little complicated for me.

     

    Ciould you share how to get the pollen data into the database ?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 1 hour ago, ppeterr said:

    Ciould you share how to get the pollen data into the database ?

     

    Do you have InfluxDB 1.8 ?

     

    You could use this code:

     

     

    • Thanks 1
    Link to comment
    Share on other sites

    • 0

    @SmartHomeEddy

     

    Yes i have, and i also found that topic. Tried that script, but didnt manage to get it to work

    I'll continue there, to keep this topic focussed on the pollen quickapp. Thanks

     

    Link to comment
    Share on other sites

    • 0

    So, it took me 20 hours. Learned a lot. Result is amazing :P

     

     

    Please login or register to see this attachment.

    • Like 1
    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...