RBoy
(www.rboyapps.com - Making SmartThings Easy!)
41
No, it’s working fine. This is a SmartApp which refreshes the weather tile and adds other logic around it. This is a replacement for the stock app which used to ship with ST to update the weather tile and has the mode bug in it.
Are you confusing it with the latest weather DTH which was updated by ST to use a different weather data source? It still works with that new DTH.
The WeatherUnderground (WU) APIs SmartThings has been using to access local weather data are being shut down at the end of this year. This means any Automations or Devices that use the getWeatherFeature() method will stop running or begin returning errors on January 1, 2019.
We are taking steps to ensure that the SmartThings SmartApps and the SmartWeather Station Tile device handler will continue to work by porting them to new APIs from The Weather Company (TWC). These will be released into Production this week and there will be no gap in performance. To maintain your SmartApps and device handlers, we have exposed the following methods for SmartApps and Device Handlers to replace getWeatherFeature().
Thanks for the app. It installs and executes, and the SmartWeather Station Tile events log shows it received a refresh command, followed by a ‘last update’ command. Under the value column it shows the latest date and time. However no weather data has changed over the span of hours, and on the device page the last updated time still shows as many hours ago, contradicting the event list.
An additional error in the IDE live logging shows this for the Weather Station tile:
error groovyx.net.http.HttpResponseException: Not Found @line 219 (poll)
I’m still learning my way around Smartthings, apologies if anything doesn’t make sense, and thanks in advance for any assistance.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
44
That looks like an error with the underlying weather station controller. Just make sure you’re using using the SmartWeather Station Tile device handler (type) in the IDE.
I’ve also found a bug in the new weather station controller which was causing an error while refreshing it and submitted a patch to ST. Once they review/incorporate it it’s possible your error may go away.
I also get error groovyx.net.http.HttpResponseException: Not Found @line 219 (poll) when I try to use a nearby weather station “pws:KPABUTLE21”. It works when I use my zip code, but the info it pulls isn’t really near my house.
I think there is an issue with the ST scheduler. I have this and a few other devices that use runIn() to refresh on an interval and they have all crapp3d out.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
51
Looks like you didn’t enter a zip code in the preferences page. There’s a bug which I causing this exception if there is no zip code. I’ll submit a patch to ST but in the meanwhile I think manually entering a zip code in the preferences page of your weather tile should fix your issue.
Patch has been submitted:
EDIT: Looks like ST has accepted the patch so it should be in production in about 2 weeks or less.
Thanks for the quick reply.
I must have introduced the blanc ZIP error myself after the smartapp stopped updating several parameters.
Tried with and without zip and pws id.
This is what I get in the IDE. You will notice that some data is not being pulled. Did not change anything on my setup (as far as I can remember) and updates stopped last night.
Zip Codes won’t work in Switzerland for example, because they have for 4 digits here.
I have copied your new code and created a new device handler from it manually.
ZIP code 9100. I am in Belgium.
I believe I didn’t enter a zip code or a pws id as both are shown as optional.
Still it stopped working. And I miss the illuminance data as it is used in several webcore pistons.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
60
Ah, that’s why. I don’t zip codes work outside the US. You’ll just have to wait until the patch goes into production next week or maybe like @Marc_T create your own custom DTH if you need it right away.