We do not have access to any documentation for the weather data that is coming out of SmartThings.
Please refer to
$twcweather.forecast.daypart.daypartName. We don’t know for sure but have assumed that all values under the daypart data follow the same pattern.
I don’t see a way to get chance of precipitation within the forecast. Am I missing something? This is the most important part of a forecast (to me) but the narrative gives only vague hints like “rain” or “thunderstorms” or doesn’t mention it at all.
For the next 15 days broken down into 12 hour blocks, you can use this:
which currently yields this for me:
[null, 0, 0, 20, 0, 10, 10, 0, 0, 10, 10, 10, 40, 50, 40, 0, 0, 10, 10, 10, 50, 50, 50, 40, 40, 40, 40, 40, 40, 40]
To only pull a single data point, you can add [x] to the end. For example,
pulls tomorrow night only. (using the numbers above, yields 20)
I want to trigger action when there is a tornado warning. Is it sufficient to just check alerts.eventDescription for “Tornado Warning”? I’m not sure exactly what alerts and so on are - are those previously issued alerts and if so does every alert start at  to where checking  is indeed sufficient? Or are they multiple alerts that are currently active, such that even alerts above 0 need to be checked?
Hi guys - I had been using weather underground to get the outdoor temp, outdoor humidity and dew point prior to the API being shutdown. I had a piston that ran 4 times an hour and called that API, and set global variables to hold these values. Then from any piston I could just access the values from the global variables, which were kept up to date by the piston, refreshed every 15 minutes.
I see that twcweather has $twcweather.conditions.temperatureDewPoint, $twcweather.conditions.temperature and $twcweather.conditions.relativeHumidity. It looks like I can just reference these in my pistons. It is that easy?
A couple questions though:
How do I tell twcweather what my zip code is that I want these readings to come from?
How often do these twcweather values get refreshed, and how can I control them to make sure they are updated at least 4 times and hour, maybe more if allowed?
It gets your location from your hub, make sure you have dropped the pin on your house in the ST app settings.
We don’t know how often they update existing data, but the day / night cycle (where the array for 15 day forecasts moves a notch) updates over a 30 minute window between 1am-1:30am and 1pm-1:30pm ish
Is this still true for you Robin?
My location updates consistently between 3 and 3:30 ish
I haven’t checked for ages and I deleted the test piston.
But ast time I checked it was still 1-1:30
Just a question. Is there any way to get weather alerts like we had with the old weather? I can collect a lot of information from conditions but one function I still can’t replicate is when NWS issues any severe weather notices such as Tornado watches and warnings.