View previous topic :: View next topic |
Author |
Message |
sdmike
Joined: 11 Sep 2005 Posts: 1 Location: Morro Bay, CA
|
Posted: Sun Sep 11, 2005 5:39 pm Post subject: Wunderground Interval and Wind Gust Speed |
|
|
Hi all ...
just installed wview on my Mac and am enjoying the heck out of it. I'm sorry I spent what I did to find out how bad WeatherLink was. This, however, is very cool.
Anyway, I'm having two issues. One issue I'm having is that I cannot for the life of me get the Wunderground reporting interval to be longer. Right now, it reports about every 1 to 2 minutes. See this link:
http://www.weatherunderground.com/weatherstation/WXDailyHistory.asp?ID=KCAMORRO1
I'd like it to report every 5 minutes or so. I tried changing the Archive_Interval to 300000. The PUSH_Interval is also at 300000. I changed both through wviewconfig. After changing the settings, I reran the following commands:
sudo cp -R ./examples/MacOSX/wview /Library/StartupItems
sudo chmod -R 755 /Library/StartupItems/wview
sudo chmod -x /Library/StartupItems/wview/StartupParameters.plist
sudo chown -R root:wheel /Library/StartupItems/wview
Did I miss something?
The second issue, is that when my data is posted on WunderGround, it shows that winds are gusting to 253 MPH. Consistently. (It can be windy here, but not that windy!) All data on the VP and index.html are normal and I'm not sure where the bugaboo is.
I'm running wview v.1.7.7 on a Mac Mini 1.42GHz with 1GB RAM and OS X v.10.4.2.
Any help would be much appreciated. And thanks for what was probably a lot of hard work on this app.
M
~ |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Sep 11, 2005 8:01 pm Post subject: |
|
|
First, as the User Manual section on Wunderground states, the reporting interval to Wunderground is determined by the archive interval of the Vantage Pro Console. This is set with vpconfig or the on-screen VP Console setup utility. I hope you aren't running with a 1 or 2 minute archive interval.
Quote: | I'd like it to report every 5 minutes or so. I tried changing the Archive_Interval to 300000. The PUSH_Interval is also at 300000. I changed both through wviewconfig. |
The ARCHIVE_INTERVAL configuration variable determines how often the wviewd daemon polls the VP console for current conditions and new archive records. 300000 is 300 seconds or 5 minutes, not good at all. Put it back to the 15000 it was defaulted to. PUSH_INTERVAL determines how often wviewd sends data updates to the alarms daemon. Set this back to 60000. Both of these are explained in great detail in the User Manual.
Looking at your Wunderground packets, it looks like you have a 90 second archive interval - at least that is how often wviewd thinks it is getting a new archive record.
I would post a decent chunk of /var/log/System.log to this forum - that contains a lot of info concerning what wview daemons are doing what and when. Let's see what we can figure out...
No idea on the wind problem, never heard of that one before...
Mark |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Mon Sep 19, 2005 6:09 am Post subject: |
|
|
What have you learned? I was hoping you would post your System.log file contents so we could diagnose what was going on...
You can also send it to me via PM or email if you don't want to post it, although posting it may help someone else in the future.
Mark |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Oct 02, 2005 4:05 pm Post subject: |
|
|
Another guy just had a similar problem with wunderground - turned out he had built an older version with "--enable-wunderground" specified in the config step but forgot to do it when he upgraded to a newer version of wview. The message sent from wviewd to wvwunderd had changed and because he was running with the old wvwunderd daemon (because he didn't give --enable-wunderground to the config script), he was getting some goofy data submitted to wunderground.
You MUST use "--enable-wunderground" as an option to config every time you upgrade or configure wview if you are using the wunderground daemon.
Mark |
|
Back to top |
|
|
|