Changing the report interval

2,645 views
Skip to first unread message

Trav

unread,
Jan 19, 2011, 11:07:08 PM1/19/11
to Weewx Weather Station Discussion
Seems like its only updating every 30 minutes? I am new to weewx, Hows
does one change it to like every 10/15 minutes?

Jason Rennie

unread,
Jan 19, 2011, 11:21:15 PM1/19/11
to weewx...@googlegroups.com
I think it's the "archive_interval" setting under "VantagePro" in weewx.conf.  Note that it is in terms of seconds.  IIRC, only certain values are allowed.  I use 300 (5 minutes).  I'm pretty sure 900 (15 minutes) works too.  Ah, yes, see section 6.2 of the manual:


Looks like you have to run configure.py (see example) to effect the change.

Jason

On Wed, Jan 19, 2011 at 11:07 PM, Trav <travis...@gmail.com> wrote:
Seems like its only updating every 30 minutes? I am new to weewx, Hows
does one change it  to like every 10/15 minutes?

--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" group.
To post to this group, send email to weewx...@googlegroups.com.
To unsubscribe from this group, send email to weewx-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/weewx-user?hl=en.




--
Jason Rennie
Research Scientist, ITA Software
617-714-2645
http://www.itasoftware.com/

Thomas Keffer

unread,
Jan 20, 2011, 12:51:51 AM1/20/11
to weewx-user
Jason pretty much covered it. The only thing I would add is that, once chosen, it cannot be changed without starting a whole new archive file.

Well, maybe I'll add still another thing: the VP2 has so much on board storage (2560 records) that there is no good reason not to set it to something short, such as 5 minutes. That's still over 8 days of storage.

-tk

Trav

unread,
Jan 20, 2011, 8:52:08 AM1/20/11
to Weewx Weather Station Discussion
I am also trying to change the index.html update from every 30 mins..
is it possible? Thanks

On Jan 20, 12:51 am, Thomas Keffer <tkef...@gmail.com> wrote:
> Jason pretty much covered it. The only thing I would add is that, once
> chosen, it cannot be changed without starting a whole new archive file.
>
> Well, maybe I'll add still another thing: the VP2 has so much on board
> storage (2560 records) that there is no good reason not to set it to
> something short, such as 5 minutes. That's still over 8 days of storage.
>
> -tk
>
> On Wed, Jan 19, 2011 at 8:21 PM, Jason Rennie <jren...@gmail.com> wrote:
> > I think it's the "archive_interval" setting under "VantagePro" in
> > weewx.conf.  Note that it is in terms of seconds.  IIRC, only certain values
> > are allowed.  I use 300 (5 minutes).  I'm pretty sure 900 (15 minutes) works
> > too.  Ah, yes, see section 6.2 of the manual:
>
> >http://www.weewx.com/docs/readme.htm#Configuring_weewx
>
> > Looks like you have to run configure.py (see example) to effect the change.
>
> > Jason
>
> > On Wed, Jan 19, 2011 at 11:07 PM, Trav <travisray2...@gmail.com> wrote:
>
> >> Seems like its only updating every 30 minutes? I am new to weewx, Hows
> >> does one change it  to like every 10/15 minutes?
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Weewx Weather Station Discussion" group.
> >> To post to this group, send email to weewx...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> weewx-user+...@googlegroups.com<weewx-user%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/weewx-user?hl=en.
>
> > --
> > Jason Rennie
> > Research Scientist, ITA Software
> > 617-714-2645
> >http://www.itasoftware.com/
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Weewx Weather Station Discussion" group.
> > To post to this group, send email to weewx...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > weewx-user+...@googlegroups.com<weewx-user%2Bunsu...@googlegroups.com>
> > .

Jason Rennie

unread,
Jan 20, 2011, 9:02:18 AM1/20/11
to weewx...@googlegroups.com
Did you try restarting weewxd?

Jason


On Thu, Jan 20, 2011 at 8:52 AM, Trav <travis...@gmail.com> wrote:
I am also trying to change the index.html update from every 30 mins..
is it possible? Thanks

Thomas Keffer

unread,
Jan 20, 2011, 10:09:35 AM1/20/11
to weewx-user
Reports gets run when a new archive record arrives. So, whatever your archive interval, that will be your update interval.

Are you seeing something different?

-tk

To unsubscribe from this group, send email to weewx-user+...@googlegroups.com.

Thomas Keffer

unread,
Jan 20, 2011, 11:24:18 AM1/20/11
to weewx-user
That's another good suggestion!

In general, if you change your archive interval, you'll need to:

  1. Stop weewx

  2. Throw away your old archive and stats databases:

    rm /home/weewx/archive/*.sdb

  3. Edit weewx.conf to reflect your new choice:

  [VantagePro]
    archive_interval  = 300

  4. Configure your VP2 to reflect the new archive interval:

  ./bin/configure.py --configure-VantagePro weewx.conf

  4. Restart weewx


That's it!

-tk
   

--
You received this message because you are subscribed to the Google Groups "Weewx Weather Station Discussion" group.
To post to this group, send email to weewx...@googlegroups.com.
To unsubscribe from this group, send email to weewx-user+...@googlegroups.com.

Trav

unread,
Jan 20, 2011, 7:33:17 PM1/20/11
to Weewx Weather Station Discussion

Wowa.... just no simple way for changing like on Davis software. Thats
ok. Thanks for this. I really needed it. ;) No restart was needed
reconfigured it and it started updating every 5 mins :)

Is there an easier way to use the links in the template file? or do I
have to edit the conf file for every link i want? Thanks again for all
efforts :D

On Jan 20, 11:24 am, Thomas Keffer <tkef...@gmail.com> wrote:
> That's another good suggestion!
>
> In general, if you change your archive interval, you'll need to:
>
>   1. Stop weewx
>
>   2. Throw away your old archive and stats databases:
>
>     rm /home/weewx/archive/*.sdb
>
>   3. Edit weewx.conf to reflect your new choice:
>
>   [VantagePro]
>     archive_interval  = 300
>
>   4. Configure your VP2 to reflect the new archive interval:
>
>   ./bin/configure.py --configure-VantagePro weewx.conf
>
>   4. Restart weewx
>
> That's it!
>
> -tk
>
> On Thu, Jan 20, 2011 at 6:02 AM, Jason Rennie <jren...@gmail.com> wrote:
> > Did you try restarting weewxd?
>
> > Jason
>
> > On Thu, Jan 20, 2011 at 8:52 AM, Trav <travisray2...@gmail.com> wrote:
>
> >> I am also trying to change the index.html update from every 30 mins..
> >> is it possible? Thanks
>
> > --
> > Jason Rennie
> > Research Scientist, ITA Software
> > 617-714-2645
> >http://www.itasoftware.com/
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Weewx Weather Station Discussion" group.
> > To post to this group, send email to weewx...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > weewx-user+...@googlegroups.com<weewx-user%2Bunsu...@googlegroups.com>
> > .

Thomas Keffer

unread,
Jan 20, 2011, 8:16:22 PM1/20/11
to weewx-user
It is a limitation in weewx. It was the tradeoff for allowing the very flexible configuration options for image generation. I'm sure there's some way around it, but I haven't spent any time working on the problem because not many people are affected.

My apologies, but I'm not following your question about "links in the template file". Are you referring to the HTML links within the templates? If so, they are just like any other HTML links. Nothing special about them.

Or, are you referring to how weewx decides which template files to use and, thus, which files get generated? If so, then, yes, every template file must be mentioned in the skin configuration file (skins/Standard/skin.conf in the case of the Standard report) in the [FileGenerator] section.

Did I get lucky and answer your question? :-)

-tk

To unsubscribe from this group, send email to weewx-user+...@googlegroups.com.

Trav

unread,
Jan 20, 2011, 10:03:20 PM1/20/11
to Weewx Weather Station Discussion
Yup; so standard aherf links are allowed in the template file. Just
looked like like links had to be put in [] [] and call it from the
file. See below.. I was just confused...

Extending [Extras]

Other tags can be added in a similar manner, including subsections.
For example, say you have added a video camera and you would like to
add a still image with a hyperlink to a page with the video. You want
all of these options to be neatly contained in a subsection.

[Extras]
[[video]]
still = video_capture.jpg
hyperlink = http://www.eatatjoes.com/video.html

Then in your template you could refer to these as:

<a href="$Extras.video.hyperlink">
<img src="$Extras.video.still" alt="Video capture"/>
</a>




On Jan 20, 8:16 pm, Thomas Keffer <tkef...@gmail.com> wrote:
> It is a limitation in weewx. It was the tradeoff for allowing the very
> flexible configuration options for image generation. I'm sure there's some
> way around it, but I haven't spent any time working on the problem because
> not many people are affected.
>
> My apologies, but I'm not following your question about "links in the
> template file". Are you referring to the HTML links within the templates? If
> so, they are just like any other HTML links. Nothing special about them.
>
> Or, are you referring to how weewx decides which template files to use and,
> thus, which files get generated? If so, then, yes, every template file must
> be mentioned in the skin configuration file (skins/Standard/skin.conf in the
> case of the Standard report) in the [FileGenerator] section.
>
> Did I get lucky and answer your question? :-)
>
> -tk
>
> > <weewx-user%2Bunsu...@googlegroups.com<weewx-user%252Buns...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages