I'm sending via custom http the following webtag: &ls=<#LightningTime> (never mind the stuff in front of the tag).
The result displayed is 10:18 pm.
How can I make CumulusMX send the complete date/time stamp resulting in the format: 12.07.2021 22:08:33
The webtag documentation says that the <#LightningTime> tag has as " default without output parameters is locale's short time format e.g. 18:02 or 6:02 pm, without date,
but tag accepts both date and time output parameters"
what would these parameters be and how to apply them to the posting string ?
Any advice ? Example ?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
How to display Ecowitt last lightning strike in full format on web site
Moderator: mcrossley
- Gyvate
- Posts: 295
- Joined: Wed 16 Dec 2020 2:14 pm
- Weather Station: GW1x00/WH2650WiFi/HP2553/GW2000
- Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
- Location: Saarbrücken, Germany
- Contact:
How to display Ecowitt last lightning strike in full format on web site
Meteotemplate http://meshka.eu/meteo/template
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: How to display Ecowitt last lightning strike in full format on web site
You should have looked earlier on the page, where you found that quote, for the link to those output parameters, as it would be stupid to repeat the explanations, and the examples you seek, for every tag!Gyvate wrote: ↑Thu 22 Jul 2021 8:32 am The webtag documentation says that the <#LightningTime> tag has as " default without output parameters is locale's short time format e.g. 18:02 or 6:02 pm, without date,
but tag accepts both date and time output parameters"
what would these parameters be and how to apply them to the posting string ?
Any advice ? Example ?
- Gyvate
- Posts: 295
- Joined: Wed 16 Dec 2020 2:14 pm
- Weather Station: GW1x00/WH2650WiFi/HP2553/GW2000
- Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
- Location: Saarbrücken, Germany
- Contact:
Re: How to display Ecowitt last lightning strike in full format on web site
Thanks, that worked after some experimenting ...
AND, @sfws, I would have looked if at that place in the WiKi a link to those output parameters had existed - no big repetition but very useful if existing.
AND, @sfws, I would have looked if at that place in the WiKi a link to those output parameters had existed - no big repetition but very useful if existing.
Meteotemplate http://meshka.eu/meteo/template
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: How to display Ecowitt last lightning strike in full format on web site
From the webtags page in Wiki:
The link was there all the time, had you actually looked near top of page.Input Modification Parameters and Output Modification Parameters
MX has introduced many more of these, so they are no longer listed on this page.
Now to find out what is allowed for the input selection parameters and output modification parameters, refer to web tag parameters page.
- Gyvate
- Posts: 295
- Joined: Wed 16 Dec 2020 2:14 pm
- Weather Station: GW1x00/WH2650WiFi/HP2553/GW2000
- Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
- Location: Saarbrücken, Germany
- Contact:
Re: How to display Ecowitt last lightning strike in full format on web site
Of course, everything you say is correct, but imho it's a typical reply of IT insiders who seem to have lost the feeling for normally thinking users and non-adepts.
Sure, if I knew the WiKi by heart (and, btw, it's not always easy to read - and I have a 30+ years professional IT past - when I don't find it easy, it's a good indicator that less skilled people won't either) and ..., and ..., and ..., I wouldn't even have posted the question. Never mind.
Sure, if I knew the WiKi by heart (and, btw, it's not always easy to read - and I have a 30+ years professional IT past - when I don't find it easy, it's a good indicator that less skilled people won't either) and ..., and ..., and ..., I wouldn't even have posted the question. Never mind.
Meteotemplate http://meshka.eu/meteo/template
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
- 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: How to display Ecowitt last lightning strike in full format on web site
No one should be wary of asking the community anything ....
Whenever sfws posts ... most of the regulars think 'Never mind'
Whenever sfws posts ... most of the regulars think 'Never mind'
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 32
- Joined: Mon 05 Jul 2021 6:39 am
- Weather Station: Froggit
- Operating System: Raspberry Pi 4
- Location: Sweden
Re: How to display Ecowitt last lightning strike in full format on web site
And how did you do?Thanks, that worked after some experimenting ...
I don't really get it how to get the fully date when I read in wiki.
- Gyvate
- Posts: 295
- Joined: Wed 16 Dec 2020 2:14 pm
- Weather Station: GW1x00/WH2650WiFi/HP2553/GW2000
- Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
- Location: Saarbrücken, Germany
- Contact:
Re: How to display Ecowitt last lightning strike in full format on web site
You have to check the possible time formats ...
what works is:
<#LightningTime format="dd-MM-yyyy HH:mm:ss">
it produces e.g. 26-07-2021 19:55:08, independent of the locale of the web site
(provided that's the time stamp of the last strike)
what works is:
<#LightningTime format="dd-MM-yyyy HH:mm:ss">
it produces e.g. 26-07-2021 19:55:08, independent of the locale of the web site
(provided that's the time stamp of the last strike)
Meteotemplate http://meshka.eu/meteo/template
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
pwsDashboard http://meshka.eu/pwsWD
CumulusMX http://meshka.eu/CumulusMX
CUtils http://meshka.eu/CUtils
overview (more): http://meshka.eu
-
- Posts: 32
- Joined: Mon 05 Jul 2021 6:39 am
- Weather Station: Froggit
- Operating System: Raspberry Pi 4
- Location: Sweden
Re: How to display Ecowitt last lightning strike in full format on web site
Ok, great, it works. Thanks a lot.