Seems like the simplest would be a custom generator that captures the image and puts it in HTML_ROOT. I seem to recall you were doing something similar to that before. That API has changed, but not as dramatically as things like search list extensions.
Take a look at class CopyGenerator in reportgenerator.py. It's a dirt simple generator that should give you ideas on how to get started. -tk On Fri, Sep 22, 2017 at 4:42 PM, Joe Percival <[email protected]> wrote: > 👍👍. I have spent a lot of hours reading. I think I'm close to figuring > out where to put things but will post more detail tomorrow. Basically I > want to run a custom python script every time a new report is generated > that places some webcam images in a directory that feta ftpd up to my host. > I know how to get the images, and how to do the ftp, the only possible > tricky part is to get the script to run each time a std report is generated. > Like I said, more detail tomorrow 👌 > > -- > 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.
