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

WUWeather scene - version = "{3.0.5}"


jompa68

Question

Fetch data from wunderground.com, send morning and afternoon forecast to your smartphone using Fibaro app, Telegram or Pushover.

Data from wunderground.com can be from a PersonalWeatherStation(PWS) or nearest LocationID(LOCID)

 

Please login or register to see this attachment.

 

Example of forecast and pushoptions to use. 1'st value is smartphoneID, 2'nd value is morning forecast, 3'rd is afternoon forecast, 4'th is pushoption

Please login or register to see this code.

Sending as Pushover message requires an own scene that monitors Pushover variable, read about it here: 

Please login or register to see this link.

 

All important keys like API keys, tokens etc will be saved to variable panel. 

 

Supports many languages (EN, FR, SW, PL, NL, DE, NO, RO, CZ, GR, PT, RU (default is en))

 

Complete lua code (save in a new scene)

Please login or register to see this code.

Link to comment
Share on other sites

Recommended Posts

  • 0
59 minutes ago, jompa68 said:

Started to create a scene that supports OpenWeatherMap

When completed scene will fill a VD with all fetched data from OpenWeatherMap API

 

Still want to have possibility to send forecast as push or telegram?

 

 

push is always welcome :-)

is UV index also included for geographic location?

 

Link to comment
Share on other sites

  • 0
  • Inquirer
  • 7 hours ago, Rikbast said:

     

    push is always welcome :-)

    is UV index also included for geographic location?

     

    Not for the free accounts. Available for Professional and Enterprise accounts.

    A sneak preview :)

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
    4 hours ago, jompa68 said:

    Not for the free accounts. Available for Professional and Enterprise accounts.

    A sneak preview :)

    Please login or register to see this attachment.

     

    Hi, looks good :-)

     

    UV-index is also available for free accounts (according to the website).

     

    By geographic coordinates

    API call:

    Please login or register to see this link.

    Parameters:

    appid - personal API key

    lat, lon - coordinates of the location of your interest (latitude/longitude)

     

    Works for me with free account :-)

     

    Edited by Rikbast
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 25 minutes ago, Rikbast said:

    UV-index is also available for free accounts (according to the website).

    Looks so, i have added that also now.

     

    Please login or register to see this image.

    /monthly_2019_03/image.png.76ccf0ad1073ebf59662abf4e1ea0c37.png" alt="image.png.76ccf0ad1073ebf59662abf4e1ea0c37.png" />

    Link to comment
    Share on other sites

    • 0
    40 minutes ago, jompa68 said:

    Looks so, i have added that also now.

     

    Please login or register to see this link.

     

    That looks good. Many thanks, looking forward to use it.

    Link to comment
    Share on other sites

    • 0
    144/5000
     
     
     
    Hi
    Can anyone please explain a little more how you got it to work with OpenWeatherMap, now that wunderground doesn't work.

    Where in the script do I need to change to get it to work ? 
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • New scene and VD that supports OpenWeatherMap is now published to download section and waiting for approval

     

     

    Link to comment
    Share on other sites

    • 0

    Hi, thank you!

    For the UV-index it is better (I think) to use the API from https://www.openuv.io/

     

    Because the Openweather UV API is updated only once a day and thus for scenes not really usable

     

    Maybe you can  have a look if you want?

    Link to comment
    Share on other sites

    • 0

     

     

     

     

    Hi All.

     

    I am strugeling  to get data from my Present Waterh Station wich is linked to 

    Please login or register to see this link.

    .I was trying to use virtual deivce  Weather State & Forecast module standalone 2.7.1 but i getting errror there "ERROR - reading data from weather service" anybody using that virtual device?

    •  

    Also I am trying to use push notifications witout sucress .

     

    Is that link still valid? As per document Weather Company Data |  PWS Observations - Current Conditions - v2  URL should look like 

    Please login or register to see this link.

         / INFO SOURCE  

    Please login or register to see this link.

     

    On 7/18/2016 at 2:18 PM, jompa68 said:

    local function processWU(response) http:request("http://api.wunderground.com/api/"..WU.APIkey.."/conditions/forecast/lang:"..WU.language.."/q/"..WU.station..":"..locationID..".json",{ options = {method = 'GET'}, success = processWU, error = errorWU

     

    I tried to use that lua cod and it gives error during debug 

     

    Please login or register to see this image.

    /monthly_2020_04/1957747294_luacod.jpg.ca6f9f6db4c5ea45662b466a8b83d736.jpg" />

     

     

     

     

     

    I tested URL (given by wunderground.com) with my station and API and it wokrs well on web browser.

     

    Please login or register to see this attachment.

     

     

    Does anyone have idea how to get present weather info from

    Please login or register to see this link.

     to my HC2?

     

    Any help will be much appropiated 

     

     

     

     

    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.

    ×
    ×
    • Create New...