Last year, I published Weather Underground Web Smartapp: the “poor guy” weather station with event based switches automation based on WeatherUndergound API.
Since this API is no longer provided through SmartThings, I adapted my development using the new The Weather Company API provided by SmartThings.
SmartApp and Device handler remain unchanged compared to the WU version.
Settings are expressed in the unit (F or C) you set-up for your location.
The rain, snow and storm are triggered upon real events but also “chance of” event (see Weather Underground definitions).
Setup : install the smartapp and devicehandler in your IDE and publish it for yourself
( Owner : philippeportesppo Name : TheWeatherCompany_SmartThings Branch : master)
Alert settings: set-up the parameters for your alerts like temperature min/max, humidity min/max and rain, storm and snow alerts.
Action settings: set-up “Switch on/off” per event to indicate which switch(es) you want to turn on or off upon an event occurrence.
After the SmartApp parameter saving, the device handler is created under a composed name with the “Weather in city,state”.
This device details allows to see the values provided by Weather Underground:
-Weather condition (icon and description)
Hope you like it
[Update 2/21/2019: fixed the branch name to ‘master’. Thanks @mpenda for finding the typo! ]