Has anyone got the realtime.txt file equivalent using the PHP webtags? (or even using the Cumulus webtags)
(I could do one but I was just being lazy and seeing if anyone had one already)
I want to use the realtime.txt file but I only want it every 5 minutes! I could as cumulus to only update realtime every 300 seconds but as far as I know that also means the realtime task in Cumulus keeps the FTP connection open constantly, which I want to avoid.
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
anyone got realtime.txt file in webtags?
Moderator: daj
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: anyone got realtime.txt file in webtags?
The description of the realtime.txt file in the wiki has the equivalent web tags listed, so you could do some sort of edit on that, if no-one has done it already.daj wrote:Has anyone got the realtime.txt file equivalent using the PHP webtags? (or even using the Cumulus webtags)
(I could do one but I was just being lazy and seeing if anyone had one already)
You can use RTdisconnectcount in cumulus.ini to make it disconnect every N uploads. Set it to 1 and it would disconnect every time.the realtime task in Cumulus keeps the FTP connection open constantly, which I want to avoid.
Steve
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: anyone got realtime.txt file in webtags?
Thant sounds like just what I need. Thankssteve wrote:You can use RTdisconnectcount in cumulus.ini to make it disconnect every N uploads. Set it to 1 and it would disconnect every time.
- 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: anyone got realtime.txt file in webtags?
I thought I'd knock a tag version of realtime.txt for the wiki, however it turns out that it cannot be done - well not an exact match.
The attached file has three lines:
1 - the tags
2 - a genuine realtime.txt
3 - the equivalent tag generated realtime.txt
As you can see, there are some differences.
The attached file has three lines:
1 - the tags
2 - a genuine realtime.txt
3 - the equivalent tag generated realtime.txt
As you can see, there are some differences.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: anyone got realtime.txt file in webtags?
I think the only differences are that <#beaufort> puts an "F" on the front, and <#tempunit> puts "°" on the front. Yes? I could put a parameter on those (like the date/time ones), thus:
<#beaufort prefix=no> (default is yes for backwards compatibility)
<#tempunit prefix=no> (ditto)
<#beaufort prefix=no> (default is yes for backwards compatibility)
<#tempunit prefix=no> (ditto)
Steve
- 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: anyone got realtime.txt file in webtags?
Yep, those are the only two differences I can see - and the cloudbase unit is incorporated into <#cloudbase> tag. Though this does not have any net effect.
Perhaps add a "suffix=no" parameter (with yes being default) to cloudbase, and add a <#cloudbaseunit> tag for consistency. I already have to strip the cloudbase suffix in javascript on my web pages.
I hate to add work for you though Steve!
Perhaps add a "suffix=no" parameter (with yes being default) to cloudbase, and add a <#cloudbaseunit> tag for consistency. I already have to strip the cloudbase suffix in javascript on my web pages.
I hate to add work for you though Steve!