Page 1 of 1

[lgt0total-nonzerotime] for last lightning occurrence doesn't work **solved**

Posted: Mon Aug 16, 2021 2:19 pm
by Gyvate
I tried to post the last lightning occurrence date/time stamp, but didn't succeed.

lgt0total and lgt0dist are showing their proper values

[lgt0total-nonzerotime:--] just produces "--" and [lgt0total-nonzerotime] produces "[lgt0total-nonzerotime]" - the text between the "",
but no date/time stamp, neither in EPOCH format nor in the promised format as per WiKi

" nonzerotime: timestamp of last occurrence of a nonzero value
Timestamps are strings of format "YYYYMMDDhhmmss". Year "YYYY" is reported in 4 digits, all other values (month "MM", day "DD", hour "hh", minute "mm", second "ss") come with 2 digits, leading zeros are not suppressed. "

I'm using the latest built from 15-Aug-2021 and am also just after a lightning strike....

[lgt0total-dmaxtime=epoch] works, but this is only for today ....
as this works, it's unlikely to be a mapping issue.

Any thoughts ??

Re: [lgt0total-nonzerotime] for last lightning occurrence doesn't work *solved*

Posted: Mon Aug 16, 2021 2:23 pm
by Gyvate
was a stupid typo, had written "nozerotime" instead of "nonzerotime" in the API string :roll:

But showing that it works - the WiKi says "should" - is also a good experience
lightning-with-nonzerotime.JPG
lightning-with-nonzerotime.JPG (50.83 KiB) Viewed 562 times