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)

RobinVanKekemRobinVanKekem Member
edited March 2018 in Apps
##Weather Underground app for Homey

Want to trigger your blinds when it's hot outside?
Want to close your windows screen when the wind picks up?
Want to be notified when the levels of UV become high risk?
Weather Underground app helps you accomplish these!

#Built in voice triggers
* Read Weather forecast
  * Read forecast for today (*Okay homey weather for today*)
  * Read forecast for tomorrow (*Okay homey weather for tomorrow*)
  * Read forecast for day after tomorrow (*Okay homey weather for day after tomorrow*)
  * Read how many rain has fallen today, until now (*Okay homey rainfall today*)
  * Read how many rain has fallen the past hour (*Okay homey rainfall this hour*)


#Flow triggers
* Temperature has changed
* Humidity has changed
* Temperature is above an certain degree of Celcius/Fahrenheit
* Temperature is below an certain degree of Celcius/Fahrenheit
* Humidity is above an certain percentage
* Humidity is below an certain percentage
* UV is above an certain threshold
* UV is below an certain threshold
* Wind is above an certain speed
* Wind is below an certain speed
* Wind gust is above an certain speed
* Wind gust is below an certain speed


#Flow conditions
* Temperature is above an certain degree of Celcius/Fahrenheit
* Temperature is below an certain degree of Celcius/Fahrenheit
* Humidity is above an certain degree of Celcius/Fahrenheit
* Humidity is below an certain degree of Celcius/Fahrenheit
* UV is above an certain threshold
* UV is below an certain threshold
* Wind is above an certain speed
* Wind is below an certain speed
* Wind gust is above an certain speed
* Wind gust is below an certain speed


#Flow actions
* Read forecast for today
* Read forecast for tonight
* Read forecast for tomorrow
* Read forecast for tomorrow night
* Read forecast for day after tomorrow
* Read forecast for rain this hour
* Read forecast for rain today


#Insights
* Temperature
* Humidity
* Feels like
* Air pressure
* Wind speed
* Dew point
* UV
* Sight
* Wind gust
* Wind direction
* Precepation for 1hr
* Precepation for today


#Settings
* You can use your own API key, (available here: https://www.wunderground.com/weather/api it's free!) so you can update up to every 10 minutes.
If you don't have a key the app uses my key and will update every 90 minutes.
* Use Homey's location or a custom location
* Celsius and Fahrenheit support


#Future functions
* Trigger/condition on current weather condition (Cloudy, Raining etc)
* Trigger on weather alerts
* Average/high/low temperature on this date
* Triggers and conditions for precipitation 1hr/today
* Much more!


#Changes
* Version 1.0.0
  * First stable release
  * Support for global tokens
* Version 0.3.0
  * Abbreviations in speech will be converted to full text (Thanks to Erik van Dongen for the source code!)
  * Start using Sentry for debugging
  * More readable error output to error trigger card
  * Send error to notification center
  * Add option in app settings to disable error notifications
  * Add logging to Sentry
  * Fixed bug where units wasn't set to automatic by default
  * Fixed bug where the 'use Homey's location' checkbox wasn't saved
* Version 0.2.6
* Version 0.2.3
  * Fixed bug: Better check when no location is received from Homey
* Version 0.2.2
  * Fixed bug: trigger if temp/hum/etc is above or below
  * New Weather Underground key because of to much calls on my key
  * Update every 90min if using my key (use your onw key, its free! See settings section above)
* Version 0.2.1
  * Add action card if any blocking issue occur:
    * Unable to detect current location
    * Unable to read Inversion WU key
    * WU is killed because if misbehaviour
* Version 0.2.0
  * Better checks to prevent undefined crashes
  * Action card to read the weather forecast for today
  * Action card to read the weather forecast for tomorrow
  * Action card to read the weather forecast for day after tomorrow
  * Action card to read the rain this hour
  * Action card to read the rain today
  * Build in voice triggers:
    * weather today
    * weather for today
    * weather tomorrow
    * weather for tomorrow
    * weather day after tomorrow
    * weather for the day after tomorrow
    * rainfall today
    * rain is fallen today
    * rainfall this hour
    * rain has fallen this hour
* Version 0.1.0
  * First public release


#Donate
This is an open source application and totaly free. 
By donating you support me in my work of which I do in my own free time.


#Source
Tagged:
«13456711

Comments

  • RobinVanKekemRobinVanKekem Member
    edited May 2016
    (Reserved post for future updates)
  • mruitermruiter Member
    nice... cant wait till its in the app "store"
  • honeyhoney Member
    Reserved for future comment :smile: 

    Thank you Robin. Highly appreciated.
  • honey said:
    Reserved for future comment :smile: 

    Thank you Robin. Highly appreciated.
    Lol, good one.

    Your welcome.
    First let's find out if Athom agrees that it's safe and after that, if it's stable
  • EvertorNEvertorN Member
    edited May 2016
    This looks awesome Robin! Sounds like Buienradar++++. Can't wait to try this. Any link to the source so we can already play around with this?

    Also, have you implemented a speech interface? As in, can I ask Homey "What's the weather gonna be like tomorrow?"?
  • RobinVanKekemRobinVanKekem Member
    edited May 2016
    Thanks! I hope so!

    Yes of course, sorry, forgot:
    https://github.com/Inversion-NL/nl.inversion.wunderground

    No, no speech as of yet.
  • ZperXZperX Member
    Not a big deal: I don`t think there are negative values for UV, that would mean absorbing. The UV index is normally between 0 and 15.

  • I know, noticed it also.
    But that's what I get from Weather Underground.
    Don't know why though.
  • ZperXZperX Member
    Since last night the weather data haven`t been updated

  • No problem here.
  • woeiwoei Member
    Awesome, will start playing around with this. Quick question, what happens with UV if there aren't any sensors in my area which report this? Will it still get the closest reading somehow?
  • Don't know how Weather Underground solves this.
    What info do you get when entering your location in their website: https://www.wunderground.com/ ?
  • Great stuff Robin, looking forward to the current condition trigger so it can completely replace the (bugged) buienradar app ... :wink: 
  • Great that you made a WU app! In the setting i chose to use Homeys location. But I see no data on the insights-page. When I check https://www.wunderground.com/wundermap/, I see multiple weather stations close to my address, bu I don't know witch one the app is using.

    Maybe it is an idea to add an option to manualy fill in the number/ID from the weather station? Just like with Domoticz: https://www.domoticz.com/wiki/Virtual_weather_devices
  • I get a lot of crashes but I'm not sure why since all is fine when I test.
    @keverjeroen, do you know how to install the app manually when downloaded from Github?
  • ZperX said:
    Not a big deal: I don`t think there are negative values for UV, that would mean absorbing. The UV index is normally between 0 and 15.

    Negative values will be solved in a later version  :)
  • How can I use wind in a flow guys, not seeing it here...
  • Looks like the app doesn;t work with me. No data when I check insights....
  • woeiwoei Member
    Tim_Brass said:
    Looks like the app doesn;t work with me. No data when I check insights....
    Same here, either with my own API key, or no API key when I am using the location of Homey. I have now changed it to manual location and entered "The Netherlands" and a village nearby and it just started to pull in information.
  • Where do I get my own API key?
  • MarkSwift said:
    How can I use wind in a flow guys, not seeing it here...
    Wind will be in the next update
  • Tim_Brass said:
    Where do I get my own API key?
    See description in first post
  • JanHJanH Member
    @RobinVanKekem Compliments! Wunderground is working great. Installed it today; first Insights results in attachments


  • Fire69Fire69 Member
    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?
  • woeiwoei Member
    It seems it only fetched one or two datapoints on my homey. I have a flat line that doesn't continue. Any way I can trigger or debug it?
  • woei said:
    Tim_Brass said:
    Looks like the app doesn;t work with me. No data when I check insights....
    Same here, either with my own API key, or no API key when I am using the location of Homey. I have now changed it to manual location and entered "The Netherlands" and a village nearby and it just started to pull in information.
    I get a lot of crash reports where the received data from Weather Underground is empty.
    Tried several locations myself but all where fine.
    I really don't get it.
  • woeiwoei Member
    woei said:
    Tim_Brass said:
    Looks like the app doesn;t work with me. No data when I check insights....
    Same here, either with my own API key, or no API key when I am using the location of Homey. I have now changed it to manual location and entered "The Netherlands" and a village nearby and it just started to pull in information.
    I get a lot of crash reports where the received data from Weather Underground is empty.
    Tried several locations myself but all where fine.
    I really don't get it.
    Is there any way I can gather data for troubleshooting? Packet captures?

  • woei said:
    It seems it only fetched one or two datapoints on my homey. I have a flat line that doesn't continue. Any way I can trigger or debug it?
    Download from github (link in first post).
    Use instructions from here: https://developers.athom.com/library/getting-started/

    Use the 'athom project --run' to see the output. Please post screenshot of output so I can see.

    Apparently it is working for some...
  • RobinVanKekemRobinVanKekem Member
    edited May 2016

    JanH said:
    @RobinVanKekem Compliments! Wunderground is working great. Installed it today; first Insights results in attachments


    Nice, I'm happy it's at least working for some :smile: 
    But damn, where do you live? Such a low humidity!?

Sign In or Register to comment.