I don't think you can do that - reports are generated only once per archive 
interval, and are bound to REC events. AFAIK - If you want to create a file 
every LOOP event you will need to do the file creation yourself from within 
a service which is bound to LOOP events.

Of course, I may be mistaken!!



On Tuesday, 20 February 2018 17:31:41 UTC+2, droid...@gmail.com wrote:

> Hello all
>
> I have a very simple report that generetes a json-file:
>
> [StdReport]
>    [[json]]
>         skin = json
>         HTML_ROOT = /var/www/html/weewx/json
>
> At the moment CheetahGenerator is the "driver" and the json is updated at 
> each archive record:
>
> [CheetahGenerator]
>     encoding = html_entities    # 'html_entities', 'utf8', or 
> 'strict_ascii'
>     [[ToDate]]
>         [[[json]]]
>             template = json.json.tmpl
>
>
> How can I bind the json-generation to NEW_LOOP_PACKET?
>
> I have looked at http://www.weewx.com/docs/customizing.htm but I'm a 
> little bit confused, do I have to make a new "Service"?
>
> Kind Regards
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to