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
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
Several weather stations in Cumulus
-
virtakim
- Posts: 5
- Joined: Sun 09 Mar 2014 12:55 pm
- Weather Station: La Crosse WS-2357
- Operating System: Windows 7 32-bit
- Location: Finland
Several weather stations in Cumulus
Hi everyone!
Have tried to search the solution to my problem but with no luck..
I have LaCrosse-weather station in use with Cumulus. I also have two other weather stations installed at the same location.
(Lunatico Astronomia AAG CloudWatcher and IQSocket IP Smart Board).
These two stations can write the weather data to a file. Is it possible with Cumulus to read these files and use the data on my website?
cheers,
Kimmo
Have tried to search the solution to my problem but with no luck..
I have LaCrosse-weather station in use with Cumulus. I also have two other weather stations installed at the same location.
(Lunatico Astronomia AAG CloudWatcher and IQSocket IP Smart Board).
These two stations can write the weather data to a file. Is it possible with Cumulus to read these files and use the data on my website?
cheers,
Kimmo
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Several weather stations in Cumulus
You can install multiple copies of Cumulus in separate folders, one for each weather station. If you can write data in EasyWeather format, you can get Cumulus to read that - http://wiki.sandaysoft.com/a/EasyWeathe ... st_record:
Steve
-
virtakim
- Posts: 5
- Joined: Sun 09 Mar 2014 12:55 pm
- Weather Station: La Crosse WS-2357
- Operating System: Windows 7 32-bit
- Location: Finland
Re: Several weather stations in Cumulus
Yes, writing the data in EasyWeather format is no problem, but (correct me if I am wrong...) then I have to upload the data of the second station to another folder. So I can not mix the #-tags from two Cumulus-uploads to one single webfile???steve wrote:You can install multiple copies of Cumulus in separate folders, one for each weather station. If you can write data in EasyWeather format, you can get Cumulus to read that - http://wiki.sandaysoft.com/a/EasyWeathe ... st_record:
Kimmo
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Several weather stations in Cumulus
If you want to mix and match your data from the three stations ?
... then you could put three different realtime.txt files to your site and use javascript or php to select the data you want.
... then you could put three different realtime.txt files to your site and use javascript or php to select the data you want.
......................Imagine, what you will KNOW tomorrow !
-
virtakim
- Posts: 5
- Joined: Sun 09 Mar 2014 12:55 pm
- Weather Station: La Crosse WS-2357
- Operating System: Windows 7 32-bit
- Location: Finland
Re: Several weather stations in Cumulus
Yeah, have to do that, I think...
It would be so much easier if Cumulus could read values from a text file and tag them...
Kimmo
It would be so much easier if Cumulus could read values from a text file and tag them...
Kimmo
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Several weather stations in Cumulus
Could you explain in more detail what you mean by that?virtakim wrote:It would be so much easier if Cumulus could read values from a text file and tag them...
Steve
-
virtakim
- Posts: 5
- Joined: Sun 09 Mar 2014 12:55 pm
- Weather Station: La Crosse WS-2357
- Operating System: Windows 7 32-bit
- Location: Finland
Re: Several weather stations in Cumulus
Ok,
I have three weatherdevices that I am reading data from (Have a Backyard Observatory).
I would like to have the information from all of the devices in a single webpage.
Cumulus is reading data from La Crosse. The two other devices have the possibility to write weather information to a textfile.
So I was thinking, that it would be nice if Cumulus could read these values and tag them and pass them over to my website.
Kimmo
I have three weatherdevices that I am reading data from (Have a Backyard Observatory).
I would like to have the information from all of the devices in a single webpage.
Cumulus is reading data from La Crosse. The two other devices have the possibility to write weather information to a textfile.
So I was thinking, that it would be nice if Cumulus could read these values and tag them and pass them over to my website.
Kimmo
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Several weather stations in Cumulus
You can do something similar already, in theory. A web tag consisting of a file name (a full path including a drive letter) causes the contents of that file to be output as the web tag. It surrounds it with <pre>...</pre> HTML tags; I can't remember why. The only problem is that I have a feeling that it doesn't actually work. I think that using PHP would be better anyway...
Steve
-
BCJKiwi
- Posts: 1259
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Several weather stations in Cumulus
For your lacrosse, run Cumulus as normal.
For the other two installations, have Cumulus process but not send anything.
Use batch files to send the required files from these installations to the website renaming the files with a station identifier on the front of the filenames.
Then at your website the code can show the data from the three different files.
For the other two installations, have Cumulus process but not send anything.
Use batch files to send the required files from these installations to the website renaming the files with a station identifier on the front of the filenames.
Then at your website the code can show the data from the three different files.
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Several weather stations in Cumulus
I'm running two instances of Cumulus, creating two different copies of the PHP web tags files, and using PHP to insert data from both files into a SQL database. It's not perfected yet but what I do have seems to work OK.
The 'now-ish' web pages use the two web tags files, more historic data from the database.
The 'now-ish' web pages use the two web tags files, more historic data from the database.
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Several weather stations in Cumulus
Look at thissteve wrote:.... with <pre>...</pre> HTML tags; I can't remember why. The only problem is that I have a feeling that it doesn't actually work. I think that using PHP would be better anyway...
https://cumulus.hosiene.co.uk/tracker.php?p=1&t=70
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Several weather stations in Cumulus
Thanks - I thought that it was something to do with the allowed characters in the web tags. I was thinking that an approach where each line of a file corresponds to a web tag would be good, I'd forgotten that you had already suggested that. Getting the file path into the web tag would still be an issue, though.
Steve
-
virtakim
- Posts: 5
- Joined: Sun 09 Mar 2014 12:55 pm
- Weather Station: La Crosse WS-2357
- Operating System: Windows 7 32-bit
- Location: Finland
Re: Several weather stations in Cumulus
I did it so that Cumulus uploads the various text-files including the data from the two other weather-stations.
I then used PHP to embedd the values to the html-file.
Thanks for the advice
Kimmo
I then used PHP to embedd the values to the html-file.
Thanks for the advice
Kimmo