This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Official

Weather Underground unofficial Homey app (v1.0.3)

2456711

Comments

  • woeiwoei Member
    edited May 2016
    Does this help?
    10 minute own API key, manual location: http://pastebin.com/0i3NViG8
    60 minute no API key, manual location: http://pastebin.com/VjfcKCNM
    60 minute no api key, homey location: http://pastebin.com/ctV3FRwG (interesting, that seems to work!)

  • Fire69 said:
    Seems to be working ok here too :)

    Just 1 question and 1 remark:
    - I set it to metric, temperature degrees are correct but it's indicated as °F :)
    - How does wind direction work when you only have numbers in Insights? Or it that what will come in the next update?
    In Insights?
    Screen shot, please?

    Wind direction is a bit useless in current graph form. I hope Athom will create something like this:

  • woei said:
    Yes, thanks!
    Let me check.
  • woeiwoei Member
    edited May 2016
    It suspect it might be the manual location should not be "The Netherlands", but NL. Interestingly enough I thought it initially only started working after switching to manual... If thats the case, perhaps a country dropdown would prevent a lot of user errors.

    Hmm, NL doesn't seem to fix it: http://pastebin.com/5aT8k0sh
  • Fire69Fire69 Member
    Fire69 said:
    Seems to be working ok here too :)

    Just 1 question and 1 remark:
    - I set it to metric, temperature degrees are correct but it's indicated as °F :)
    - How does wind direction work when you only have numbers in Insights? Or it that what will come in the next update?
    In Insights?
    Screen shot, please?

    Wind direction is a bit useless in current graph form. I hope Athom will create something like this:

    Is this enough?


    Yes, that round graph would be a lot more useful! :smiley: 
  • Humidity in degrees celsius?
    Am i doin something wrong?
  • Fire69 said:Is this enough?


    Yes, that round graph would be a lot more useful! :smiley: 
    My update after the pending update adds auto detection of the units.
    Maybe you'll have to remove the app because I can't change the Insight logs 

  • Humidity in degrees celsius?
    Am i doin something wrong?
    No, that's an bug a already solved today and will be solved in 0.0.3
  • JanHJanH Member
    edited May 2016
    @Fire69 the winddirection is in the standard graphic expressed in 0 -360 degrees, so a circle.
    @RobinVanKekem in my region, eastern part of NL, the humidity was really low today, so the figures seemed to be correct I presume


    edit to @RobinVanKekem: actually the humidity is going up from about 30% at 20.00H to 48% at 2315H. It really seems to give the correct results. And again: the app is overall still working very well (at least at my place and Homey)!
  • Like I said, maybe the app will work better if it was possible to enter the code of the weather station, like mentioned here: https://www.domoticz.com/wiki/Virtual_weather_devices#5._FAQ That's easier to test too.
  • JanHJanH Member
    edited May 2016
    Some Homeyans seem to have problems, related to their location. Does Homey give its correct coordinates? And how could we check that? In my situation Homey uses the right position because it is producing exactly the same figures as at the WU-site for the same place. See attachment for the simple settings I am using.
  • woei said:
    Does this help?
    10 minute own API key, manual location: http://pastebin.com/0i3NViG8
    60 minute no API key, manual location: http://pastebin.com/VjfcKCNM
    60 minute no api key, homey location: http://pastebin.com/ctV3FRwG (interesting, that seems to work!)

    I figured it out thanks to @woei and his logs.
    Somehow his hometown isn't recognized by Weather Underground is used as address. If Weather Underground is queried using location data (latitude and longitude) it does seem to work.

    I've added several test procedures in settings with a small log and dialogs.


  • JanH said:
    @Fire69 the winddirection is in the standard graphic expressed in 0 -360 degrees, so a circle.
    @RobinVanKekem in my region, eastern part of NL, the humidity was really low today, so the figures seemed to be correct I presume


    edit to @RobinVanKekem: actually the humidity is going up from about 30% at 20.00H to 48% at 2315H. It really seems to give the correct results. And again: the app is overall still working very well (at least at my place and Homey)!
    JanH is right: it's the wind direction in degrees of a circle.
    @JanH, thanks for the extra sanity check!

  • Like I said, maybe the app will work better if it was possible to enter the code of the weather station, like mentioned here: https://www.domoticz.com/wiki/Virtual_weather_devices#5._FAQ That's easier to test too.
    Will look into it some day to see if the library I'm using supports that.
    For now I have added extra tests and a simple log in settings which should help.

  • JanH said:
    Some Homeyans seem to have problems, related to their location. Does Homey give its correct coordinates? And how could we check that? In my situation Homey uses the right position because it is producing exactly the same figures as at the WU-site for the same place. See attachment for the simple settings I am using.
    In version 0.0.3, when you use Homey's location instead of a manual location, the log will tell you the current temperature for the city and country Homey which Homey told the app.
    This should at least give some idea of the location of which thinks its in.
  • woeiwoei Member
    woei said:
    Does this help?
    10 minute own API key, manual location: http://pastebin.com/0i3NViG8
    60 minute no API key, manual location: http://pastebin.com/VjfcKCNM
    60 minute no api key, homey location: http://pastebin.com/ctV3FRwG (interesting, that seems to work!)

    I figured it out thanks to @woei and his logs.
    Somehow his hometown isn't recognized by Weather Underground is used as address. If Weather Underground is queried using location data (latitude and longitude) it does seem to work.

    I've added several test procedures in settings with a small log and dialogs.

    Great, I am glad you could get to the bottom of that so quickly :-).
  • woei said:
    Great, I am glad you could get to the bottom of that so quickly :-).
    It did cost me some night sleep as I got in bed at 1:30  o:)
     :D 
  • woeiwoei Member
    woei said:
    Great, I am glad you could get to the bottom of that so quickly :-).
    It did cost me some night sleep as I got in bed at 1:30  o:)
     :D 
    I balanced it out by turning in on time. The universe is at equilibrium. Much appreciated though :-)
  • woei said:
    I balanced it out by turning in on time. The universe is at equilibrium. Much appreciated though :-)
    Hahaha, nice one!
    That's why I don't feel to tired then, lol. :D
  • PeaoPeao Member
    Thanks for the app!

    Is there an easy way to set up a flow like
    You said "weather" -> Homey says: The outside temperature is X the UV is Y ....etc.

    I have no possibility to get the values there. Even if i create flows that save the temperature changes in a better logic variable. 
    Maybe you can create "Action cards" that speak out the current conditions.. But this is not the easiest way.
  • On the temperature card there are already 3 tokens (black labels on cards) :
    - Temp
    - Humidity
    - Weather (with words, in English, like cloudy, raining, dry etc)

    In the mean time, I guess I can add more tokens to the temperature card so you can use them?
    - UV
    - Wind speed
    - Precipitation
    - Air pressure

    I'll be adding voice triggers and output later on though.
  • The trick is to use non-Better-Logic-variables to contain the weather information, those you can say:

    The time is {{$homeyTime[]}}. The current weather is {{$homeyCurrentWeather}}, later it will be {{$homeyWeather}}. The temperature outside is {{$homeyTemperature}} degrees, which feels like {{$homeyTempFeel}}. Wind comes from the {{$homeyWindDir}} at {{$homeyWindKph}} kilometers per hour.


  • keverjeroenkeverjeroen Member
    edited July 2016
    Cool. I discovered that I can already use the weather station ID! :)

    Example:
    - Country: pws:IUTRECHT60
    - City: <empty>

    I like this, now I can choose the weather station closest to my location.

    In Insights I see the same data as in the api:

    http://api.wunderground.com/api/<APICODEHERE>/conditions/q/pws:IUTRECHT60.json


  • RobinVanKekemRobinVanKekem Member
    edited May 2016
    Cool. I discovered that I can already use the weather station ID!

    Example:
    - Country: pws:IUTRECHT60
    - City: <whateveryoulikeitdoesntmatter>

    I like this, now I can choose the weather station closest to my location.

    In Insights I see the same data as in the api:

    http://api.wunderground.com/api/<APICODEHERE>/conditions/q/pws:IUTRECHT60.json


    Nice find!
    Guess I'll change the settings a bit so it's clear your also able to use an weather station ID.

    Tried it and in version 0.0.3 you'll have to keep city empty but then pws:IUTRECHT60 will work. Great!
  • The trick is to use non-Better-Logic-variables to contain the weather information, those you can say:

    The time is {{$homeyTime[]}}. The current weather is {{$homeyCurrentWeather}}, later it will be {{$homeyWeather}}. The temperature outside is {{$homeyTemperature}} degrees, which feels like {{$homeyTempFeel}}. Wind comes from the {{$homeyWindDir}} at {{$homeyWindKph}} kilometers per hour.


    But those are Homey's weather info, I guess?
  • Those are variables I have filled with weather information, they certainly don't exist by default :)

    I used the HTTP app to get them from WU manually (loooong before your app existed, so for the weather properties that you have tokens for I'll use those instead).
  • Those are variables I have filled with weather information, they certainly don't exist by default :)

    I used the HTTP app to get them from WU manually (loooong before your app existed, so for the weather properties that you have tokens for I'll use those instead).
    Aha, I get it.
    Can Insights be used with the HTTP app?
  • Not that I'm aware of - and I'm a sucker for graphs, so I'm very happy with the WU app!
  • PeaoPeao Member
    The trick is to use non-Better-Logic-variables to contain the weather information, those you can say:

    The time is {{$homeyTime[]}}. The current weather is {{$homeyCurrentWeather}}, later it will be {{$homeyWeather}}. The temperature outside is {{$homeyTemperature}} degrees, which feels like {{$homeyTempFeel}}. Wind comes from the {{$homeyWindDir}} at {{$homeyWindKph}} kilometers per hour.


    Perfect that was what i was looking for! Thank you, I didn't know that you could do this.
Sign In or Register to comment.