error java.lang.UnsupportedOperationException: The forecast/conditions feature is not enabled @ line ###
However, it is apparently not that the feature is not supported, just that some code is improperly preventing the VALID FORMAT for requesting multiple parts of weather from Weather Underground (âxxx/yyyâ is proper syntax). This verified because the following DOES work:
This change will break most, if not ALL, apps that are using advanced features of the Weather Underground API â specifically requesting multiple weather features in a single call (done for efficiency and to ensure that all the data is for the same instant in time).
This should be fixed with the UTMOST URGENCY!!!
N.B. I suspect this is a result of an attempt to block API requests for history data, because SmartThingsâ license with Weather Underground apparently doesnât cover this. However, the implementation apparently does not consider that it is valid to request multiple weather features from the API using the syntax âfeature1/feature2/feature3â.
@Brad_ST,
Thanks for the quick fix!! I was having the same issue with getWeatherFeature(âyesterdayâ, zipcode). Now its working again.
Anyone have suggestions on how modify your code so that if the API breaks again (I think this is the 2nd, maybe 3rd time in last four years) that the smart app will keep on running?
In regards to the features, I believe only âhistoryâ is being blocked with the rest supported though I admittedly have not worked on this integration or the WU API at all.
Odd - âyesterdayâ just worked for me (6:00PM EDT).
âyesterdayâ and âhistoryâ are part of the most expensive package that WU offers (CUMULUS package). My understanding is that SmartThings has never paid for these, but they would work for the first 500 or so calls by users each day, and then they would return an error.
I donât know what CUMULUS package costs, but I sure wish we had âyesterdayâ reliably.
FWIW, I created a work-around with the Spruce team to get yesterdayâs rainfall by capturing total rainfall at 11:57pm every night, before the counters get reset. Not perfect, but it works pretty well.
If you need voices behind requesting ST providing us access to âyesterdayâ, count me (and the Spruce team). But understand that weâre not requesting something that is freeâŚ
And yes, there are free sources, but alas they arenât integrated with ST nor necessarily with the hundreds of thousands of personal weather stations - part of the reason I use prefer the WunderGround APIs is because I can use the data from my own weather station to measure temps, rainfall and even how light it is outside.