Wind Gust for twcweather


#1

1) Give a description of the problem
I noticed null for wind gust. Does that mean you cant get that information?

2) What is the expected behavior?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
(PUT YOUR INFO HERE)

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

Actually, that is something I need to know as well, I am using the input now for a couple of pistons, but no idea if it actually working.


#3

We don’t have any explicit insight into why the value is null. The Weather Company describes the gust value as

Wind gust speed. This data field contains information about sudden and temporary variations of the average wind speed. The report always shows the maximum wind gust speed recorded during the observation period. If wind speed is shown, this field must be displayed. The speed of the gust can be expressed in miles per hour or kilometers per hour.
â—Ź Example: 35
â—Ź Display the wind speed with its wind direction. Use the value as it appears in the data feed (numeric value) and always display its unit of measure, either the fully spelled version or its abbreviation.
â—Ź Examples Wind: from the East at 10 miles per hour, gusting to 25 miles per hour. Wind: from the West at 17 kilometers per hour, gusting to 25 kilometers per hour.

Their examples also show wind gusts as null so it must be an expected condition. I would guess that it means there were no wind speeds recorded above a certain threshold from prevailing winds to be considered a gust… we just don’t know.

Has anyone seen a numeric wind gust value yet?


#4

Oooo me me me, I saw a wind gust value once!! On Saturday, when you made the changes, it was an expected value, 45, whereas the wind was 30 at the time. But nothing since :sob: so I’ve tried to move on with my life without wind gusts.


#5

The same is also true for % chance of rain, same null value. That I got around by instead using the official Smartweather tile parameter, % chance of rain to update my piston, but that tile doesn’t have a wind gust option unfortunately.


#6

I’ve seen it twice since updating. Once it was 5 and the other time it was 9. The rest of the time it shows “null” and I take that to be 0.


#7

And the also the first value of this is “null” $twcweather.forecast.daypart[0].qpf

i.e.
[null, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3, 0.0, 0.9, 1.3, 1.7, 0.0, 0.0, 0.0, 0.0, 0.2, 0.0, 0.2, 0.6, 0.0, 0.4, 0.3, 0.5]

I’m really not liking the word “null”.
So thats
$twcweather.conditions.windGust
and
$twcweather.forecast.daypart[0].precipChance[0]

Oh yes and also Cloud cover i can’t use, because that’s null also.
$twcweather.conditions.cloudCeiling


#8

The Accu-Weather plugin for webCoRE is pretty decent for wind speed, wind gusts, cloud coverage, and more…

You can test this plugin by loading the ST app on your phone, and going to:
Market Place > Smart Apps > Climate Control > AccuWeather Connect


It is actually seen as a device, so you can make triggers from the weather events. For instance, you can code: If AccuWeather’s temp rises above 74 degrees, do X.

It also lets you pick multiple zip codes (each seen as a separate device)

One caveat: From what I have seen, AccuWeather does not update as frequently as WUnderground did.


AccuWeather options seen when creating an IF in webCoRE:

temp


#9

Thanks for the accuweather info. Seems that is what I have to use. Just too bad that it does not update that often. For wind information this is the best data.


#10

I want to know how to get a max or min from the data returned in the forecast.daypart. Any webcore coders out there? that .qpf call returns all those values. manual review shows 1.7 is the highest value for the day. Anyway to write an expression that augments $twcweather.forecast.daypart[0].qpf to simply return the 1.7?


#11

That .qpf is actually quantitative projected rain fall, in millimetres, each value is each day, I think am and pm, if you wanted current rainfall you’d stick [0] at the end or tomorrow [1]. What you’re asking for is in the new Wiki that Ian did on Saturday.