On Thu, Aug 17, 2023 at 12:58 AM [email protected] <[email protected]> 
wrote:

I want to inform the front end a certain event occurs on the backend, to be 
more exact: when a report is finished. Does something like this exist?


When StdReport runs, it changes the date+time last modified for the output 
directory contents of the skin, so simply watch the timestamp on any file 
the skin writes out.

You will likely need to externally monitor the file with a python script or 
something and then do a MQTT publish to your frontend.  How to do the 
monitoring depends on how many skins you want to monitor and how realtime 
you want the notification to be.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b6e202d8-dcd1-477d-a05c-45a0e00e40afn%40googlegroups.com.

Reply via email to