Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Can I do this with Cumulus?

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
hills
Posts: 692
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Can I do this with Cumulus?

Post by hills »

Hi Gurus :D

If possible I would like to include the temperature on my webcam images. I use yawcam which will automatically add the value of a variable to the jpg image before it sends it to my website, so long as I can put that value, ie the temperature, into a file called "temperature.txt" on my pc. Is there anyway I can get Cumulus to do this each time it processes the web files in the same way it processes the realtime.txt file?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Can I do this with Cumulus?

Post by steve »

Just create a "template" file, e.g. temperatureT.txt, anywhere on your PC, with the appropriate web tags(s) and text in it (e.g. just <#temp> will give you the temperature figure only), and add it to the files tab on the internet settings. Give the name and location on your PC of the destination temperature.txt file as the remote file, tick "process?" but don't tick "ftp?", and Cumulus will process and copy the file each time it does a web update.
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Can I do this with Cumulus?

Post by daj »

I'm not sure how to put the txt into the JPG file but we could simply overlay text on top of the image on the web page. However if someone took a copy of the JPG it would not contain the text so maybe not what you want
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
hills
Posts: 692
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Re: Can I do this with Cumulus?

Post by hills »

Wow thanks, that was too easy!! :D

As per usual, Cumulus is doing exactly what is is supposed to, but yawcam seems to be ignoring the updated variable. I'll have to search yawcam's forum now for the answer to that problem.

Thanks again!!
hills
Posts: 692
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Re: Can I do this with Cumulus?

Post by hills »

Woohoo!! found the problem. Yawcam has changed the location of the extravars directory. Its all working now, but unfortunately my webcam has stopped uploading for the night, but tomorrow it should all be good.

Thanks again for your help!
Post Reply