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
Custom Webtags
Moderator: mcrossley
-
stefanbagnato
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
Custom Webtags
This may already be covered somewhere (that I didn't see) so I apologize in advance. However, I wanted to know if there is any way we can make our own customer webtags. As an example, let's say it has been a particularly rainy week. I want a 'Rainfall Last 7 Days' tag. Now it can be a rolling 7 days, not specifically "this week". To get the data from SQL would be super easy. I just don't really know how/where the webtags are configured. Is anything like this possible?
-
freddie
- Posts: 2870
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 24.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: Custom Webtags
Webtags are generated in the code of the executable, so addition of new tags will involve coding. Not trivial.
-
stefanbagnato
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
Re: Custom Webtags
Hm okay. Kind of figured since I could not find them anywhere else. I can deal with html and css and sql, but that's about it.
- 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: Custom Webtags
If you have the data in MySQL then you can extract just about any information you want from it.
-
stefanbagnato
- Posts: 159
- Joined: Sun 08 May 2016 9:11 pm
- Weather Station: Vantage Pro 2
- Operating System: Windows Server 2019
- Location: Raleigh, NC
Re: Custom Webtags
Mark, yes, but how do I get it into a webtag? Or is your idea not so much a webtag approach, but more of inserting into a variable? (which I can do for powershell, but not really sure on applying to html)
- 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: Custom Webtags
Most people use PHP on their web server to insert the data into the page. Though there are lots of alternatives like writing it to a file and getting the client to load it via Ajax etc. etc.