Weather Question


#1

Does anyone know how to find all of the possible outcomes of " $twcweather.conditions.wxPhraseLong" ?

Is there another site, other than the weather wiki here, that gives more information about the $twcweather?

Thank you in advance.


#2

Look here: https://wiki.webcore.co/TWC_Weather
the possible wxPhraseLong are somewhere near 3/4 down the page:
[
null,
“AM Clouds/PM Sun”,
“AM Showers”,
“Clouds Early/Clearing Late”,
“Cloudy”,
“Fog Late”,
“Foggy”,
“Mostly Clear”,
“Mostly Cloudy”,
“Mostly Sunny”,
“Partly Cloudy”,
“PM Showers”,
“PM Thunderstorms”,
“Rain”,
“Scattered Thunderstorms”,
“Showers”,
“Showers Early”,
“Showers Late”,
“Sunny”,
“Thunderstorms”,
“Thunderstorms Early”,
“Thunderstorms Late”
]


#3

I have not found any “official” documents, so I’ve been adding to the wiki as I have time.

(I have over a thousand of these to go thru, which is 30,000 datapoints just for wxPhraseLong)


This undocumented $twcweather fiasco is really eating up my freetime, so if anyone finds any API documents from TWC, please share it with us, and save me my sanity, LOL


#4

Wow… I didn’t realize there were so many variables for this one. Thank you.

I will keep a look out for any documentation on this.


#5

Oh…and there’s one more to add to the list, mine currently says “Rain/Wind”


#6

Well, most of the 30 thousand will be duplicates. I need to grab each cluster of text, remove duplicates, and alphabetize… Which is why it’s taking so long, LOL. I need to create a program to streamline it with so many data points.

If anyone knows of a text editor that can grab all the text between X and Y (over and over again moving down a giant document) and automatically paste it into another document, you would be a lifesaver, and our weather wiki would be nearly perfect within a few short days. (the copy/paste section is really the bottleneck for me at the moment. I already have tools in place for removing dups & sorting)


Awesome! I will add it to the wiki. Just to clarify, are there any spaces around the slash?


#7

No spaces:


#8

Thanks! The wiki has been updated


#9

Ha! I already got a new one: “Rain Shower/Wind”

I will try to start keeping a list of any new ones I see, and give them to you in a group, instead of one by one.


#10

Excellent!

Give me a few hours, and I will create a new thread for contributions for all of the weather data. Anyone can add to it for any datapoint they discover, and I will keep the wiki updated with all of the new information. (this is kind of wise because there will likely never be snow in my location, so I’d need contributions from a northerner to include those conditions as well)


#11

Sounds great!

I will be happy to contribute to this, as this is a great benefit.


#12

A new thread has been created for undocumented datapoints.

Thank you all in advance for any contributions!!


#13

Yes!! I figured it out!! So, this is why I was originally asking about the ‘wxPhraseLong’.

Right now, I have IFTTT with WeatherUnderground turning Virtual Switches on/off…‘Weather Clear’; ‘Weather Cloudy’; ‘Weather Rain’; and ‘Weather Snow’. Webcore will then turn certain lights from 0%, 10%, 50% depending on the switch that turned on.

IFTTT has been slow to report, and sometimes it will have been raining for 30 minutes already when the ‘Weather Rain’ finally kicks on.

So, I’ve been testing Webcore with the $twcweather… and I finally got some results.

Of course, this is just a test, but opens up so many possibilities.

I have another piston that is updating the variables.

Loving this!! And, it’s more accurate than with IFTTT and WeatherUnderground.

I will eventually have all of the outcomes of ‘wxPhraseLong’ added to 4 categories: Clear, Cloudy, Rain, Snow.

I will also be testing the Weather Alerts.


#14

Oh…and ‘Showers in Vicinity’ is another that I haven’t added to the other thread just yet. I was hoping for a few more before posting.


#15

Typo’s in "Test Auto Weather, string dfRain, “Light Rian”


#16

Thank you!! It is fixed!