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
Generate clientraw.txt
Moderator: mcrossley
- The Dalek Hunter
- Posts: 342
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Vantage Pro 2, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Generate clientraw.txt
Is there anyway to get CMX to generate a clientraw.txt?
-
broadstairs
- Posts: 1185
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Generate clientraw.txt
Perhaps an explanation as to why you need this would be helpful.
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- The Dalek Hunter
- Posts: 342
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Vantage Pro 2, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: Generate clientraw.txt
I have several weather related websites one of which is here https://wx-watch.co.uk/pws/index.php
At the moment the current conditions is being generated via METAR but the nearest airport to me is 40 miles away so not accurate.
It can generate a current conditions using a clienraw files generated by a weather station.
At the moment the current conditions is being generated via METAR but the nearest airport to me is 40 miles away so not accurate.
It can generate a current conditions using a clienraw files generated by a weather station.
- 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: Generate clientraw.txt
What is clientraw.txt, and where is the content defined?
It sounds like a Weather Display output file?
It sounds like a Weather Display output file?
-
broadstairs
- Posts: 1185
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Generate clientraw.txt
I use the Saratoga template (modified a bit) to generate my CMX website and it uses a plugin from Ken True to convert CMX web tags to those used by Weather Display it is called CU-defs.php and using that I was able to get CMX updating a copy of my Weather Display website. Maybe you could use this instead.
You can see and compare at
https://www.stella-maris.org.uk/CumulusMX/wx.phtml
and
https://www.stella-maris.org.uk/wx.phtml
Stuart
You can see and compare at
https://www.stella-maris.org.uk/CumulusMX/wx.phtml
and
https://www.stella-maris.org.uk/wx.phtml
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
-
broadstairs
- Posts: 1185
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Generate clientraw.txt
Yes Mark it is and see my comments above.
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- 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: Generate clientraw.txt
Having had a look at the format (thanks Stuart), it will not currently be possible to replicate the clientraw file in CMX.
I had thought you may be able to use a custom file with web tags, but clientraw uses fixed units such as knots for wind speed, hPa for pressure etc. So unless you happen to use those same units the web tags mechanism is a non-starter.
I had thought you may be able to use a custom file with web tags, but clientraw uses fixed units such as knots for wind speed, hPa for pressure etc. So unless you happen to use those same units the web tags mechanism is a non-starter.
- The Dalek Hunter
- Posts: 342
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Vantage Pro 2, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
- Gyvate
- Posts: 377
- Joined: Wed 16 Dec 2020 2:14 pm
- Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
- Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
- Location: Saarbrücken, Germany
- Contact:
Re: Generate clientraw.txt
In my opinion it should work - in principle.
As long as the webtags (including the necessary unit converters) for the clientraw.txt file are available in CMX, you can have CMX create that file.
You need to create a template file e.g. named clientrawT.txt and place it in the ...\CumulusMX or .../CumulusMX directory and
activate the file and - if needed - ftp send options in Settings --> Extra web files.
The content of clientraw.txt will then be created by CMX and - if tagged - posted via ftp to your website.
The content of your clientrawT.txt file would be:
<#webtag1> <#webtag2> ...... <#webtagn>
just the webtags separated by a space/blank.
And the sequence of the webtags is defined by what you want the clientraw.txt file content to look like.
You only want to create the file and process it otherwise - do not tag the FTP option in Settings --> Extra web files
Another approach, if the needed unit conversion for the webtags is not available, could be to define the units in CMX exactly the way the clientraw.txt file expects if that's possible.
As long as the webtags (including the necessary unit converters) for the clientraw.txt file are available in CMX, you can have CMX create that file.
You need to create a template file e.g. named clientrawT.txt and place it in the ...\CumulusMX or .../CumulusMX directory and
activate the file and - if needed - ftp send options in Settings --> Extra web files.
The content of clientraw.txt will then be created by CMX and - if tagged - posted via ftp to your website.
The content of your clientrawT.txt file would be:
<#webtag1> <#webtag2> ...... <#webtagn>
just the webtags separated by a space/blank.
And the sequence of the webtags is defined by what you want the clientraw.txt file content to look like.
You only want to create the file and process it otherwise - do not tag the FTP option in Settings --> Extra web files
Another approach, if the needed unit conversion for the webtags is not available, could be to define the units in CMX exactly the way the clientraw.txt file expects if that's possible.
Weather Landing Page: http://meshka.eu
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
Ecowitt WiKi: http://meshka.eu/Ecowitt/dokuwiki
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
Ecowitt WiKi: http://meshka.eu/Ecowitt/dokuwiki
-
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: Generate clientraw.txt
Hi,
I use these files to drive my Saratoga site from CMX
Place this file in the main website folder Place these in the CumulusMX/web folder and add the output to extra web files. output to Saratoga as CUtags.php output to Saratoga as realtimetags.php
Change the generated file names to your preference.
When using the realtime files I prefix the regular var name with $RT- to make it clear which variable are being supplied by realtimetags_Srtg.php
I use these files to drive my Saratoga site from CMX
Place this file in the main website folder Place these in the CumulusMX/web folder and add the output to extra web files. output to Saratoga as CUtags.php output to Saratoga as realtimetags.php
Change the generated file names to your preference.
When using the realtime files I prefix the regular var name with $RT- to make it clear which variable are being supplied by realtimetags_Srtg.php
You do not have the required permissions to view the files attached to this post.