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 generated using cheetah generator) and the time. 3. save the image so that rsync uploads it to my website with the other files. You can see the result here <http://www.weather.molyvos.eu/image.jpg> My problem is the txt file is 5 minutes old. There is normally small or no difference between 'current' and 5-minute old data. BUT, there are times when the difference is significant and I would like to "do better"! I really am not good at this stuff, I meddle and poke until I get things sorted or I break something, normally the latter. So I was hoping that somebody could advise me. Can I use in my script to get loop data so the temperature will be correct at the time of the grab? Thanks, people. -- 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/aaef07db-8761-4bec-b411-06b6be002f0d%40googlegroups.com.
