[weewx-user] Can i grab loop data in a shell script

2019-07-31 Thread gjr80
Robin, There is no practical way for your shell script to access loop data directly, best solution I can think of is to write a custom service bound to the NEW_LOOP_PACKET event that writes the required data to a text file that you then read as you currently do. The service will be very basic,

[weewx-user] Can i grab loop data in a shell script

2019-07-31 Thread Robin
Is it possible to get the current temperature to use in a shell script? Let me explain what I am doing and what I would like to do. I have a webcam. I use a shell script every five minutes to: 1. grab an image with avconv 2. add text, including 'current' temperature (from a txt file