Unfortunately, this is a known limitation in the archiving algorithms.

The offending function is weeutil.weeutil.startOfInterval() if you want to
try your hand at fixing it. A PR would be eagerly accepted!

-tk

On Sat, Sep 16, 2017 at 12:45 PM, Bruce Huddleston <[email protected]>
wrote:

> I'm using the simulator driver to test my screen layout. Works great. I'll
> be using the Airmar 150WX station (which I haven't purchased yet) and I
> want to more closely mimic how it operates. The Airmar produces a LOOP
> record every second. I have changed the simulator driver (or weewx.conf) to
> output a LOOP record every second and it produces an ARCHIVE every 60
> seconds, updating the screen. I want the screen update to take place every
> 5 seconds (5 LOOP records). This is a realtime application. I guess I will
> want to move to a realtime txt type file if possible when I go into
> production. I don't need to keep any history. The application I'm using it
> for is a mobile one (airshows) that run 6-8 hours on each day of maybe 1-3
> in a row and then moves to a new location. It is a local display only, not
> viewable by the public over the Internet.
>
> My question is how or what do I change in simulator.py or other file to
> get the ARCHIVE record to be created every 5 seconds? I tried changing the
> Interval = 60 to a smaller number in one of the files but anything lower
> than 60 a divide by zero error occurs according to the log and the new
> index.html doesn't get created. The screen I am using has no graphs or
> anything fancy. It just displays 9 data points. It takes 0.02-0.03 sec to
> create so every 5 seconds is not an issue. It's running Weewx 3.7.1 on an
> RPi 3.
>
> Thanks in advance for the help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to