tell application "WeatherCat"
set Query to "STAT$RS$"
set Storm_Rain to QueryResultString
set Query to "STAT$RSD$"
set Storm_Rain_Date to QueryResult
end tell
I have been using the WeatherTracker app for a long time and I have decided to move away from it. Also there are some features that I like in WC that WeatherTracker doesn't have. I want to give WC a try and see how it goes.
Since I am newbies with the WeatherCat app, I try to read the manual and forum as much as possible. I do have a couple of questions.
How do I capture the data for 'Storm Rain' and 'Storm Rain Date' using AppleScript from WT that connects with Davis VantagePro2?
set RainStormTotal to 0
tell application "WeatherCat"
set Query to "STAT$RAIN:TOTAL:RAINSTORM$"
set RainStormTotal to QueryResultString
end tell
RainStormTotalThanks so much. I got that working now.
set RainStormTotal to 0
tell application "WeatherCat"
set Query to "STAT$RAIN:TOTAL:RAINSTORM$"
set RainStormTotal to QueryResultString
end tell
RainStormTotalOne more thing...how do I retrieve 'Forecast' from Davis?
Also I didn't know there is an app for iPhone user, WeatherCatRCP, it would be fun for me to explore that, too.
More seriously, I cannot find any way to get the date and time of when the storm starts. The tag I gave:
STAT$RAIN:MAX:RAINSTORM:TIME$
Actually reports the date and time for the highest rainfall rate. I'll keep looking but so far every combination I've tried doesn't give the date and time of the start of the storm.
RLD for last rain date
RS for rain storm value
RSD for date of rain storm start
Rain storm started RS$
Here are some more tags from WeatherCatRCP/Reports/Tags that may be helpful:Code: [Select]RLD for ast rain date
RS for rain storm value
RSD for date of rain storm start
Here's an example of usage:Code: [Select]Rain storm started RS$
"RLD for ast rain date" 🤔 Might that "ast" actually be "last"? Inquiring mindz... cmu:-)
That's an "l" of a good catch! I ixed it.
That's an "l" of a good catch! I ixed it.
Hahahaha! Hope you are getting some of this atmospheric river at your place, Grand!