led-sectional icon indicating copy to clipboard operation
led-sectional copied to clipboard

Nothing for LTG DSNT

Open jcl-rv12is opened this issue 1 year ago • 3 comments

Nice project!

I did notice that the <raw_text> field appears to be ignored, which is where things like "LTG" or "LTNG" appear. Thus, unless I'm missing it, there will only be blinking for "lightning" if the string "TS" is in the <wx_string> field. Is checking <raw_text> something that can be added? I've got plenty of airports today showing LTG DSNT but no thunderstorms.

Thanks!

jcl-rv12is avatar Apr 26 '23 16:04 jcl-rv12is

Hola!

That's a good point, but my inclination is to leave it as is by default. Including LTG DSNT would probably make large swaths of the map start blinking even when a thunderstorm isn't particularly close. If you wanted to add it, though, it would probably be pretty simple. I created a new branch that checks for LTG in the raw_text field here:

https://github.com/WKHarmon/led-sectional/blob/ltg_check/led-sectional.ino

I haven't actually tested it, so let me know if it doesn't work.

WKHarmon avatar May 02 '23 18:05 WKHarmon

Hola!

That's a good point, but my inclination is to leave it as is by default. Including LTG DSNT would probably make large swaths of the map start blinking even when a thunderstorm isn't particularly close. If you wanted to add it, though, it would probably be pretty simple. I created a new branch that checks for LTG in the raw_text field here:

https://github.com/WKHarmon/led-sectional/blob/ltg_check/led-sectional.ino

I haven't actually tested it, so let me know if it doesn't work.

I added a fork that makes that change, and a change to blink orange for high winds/gusts for all flight categories vs solid orange only for VFR airports.

jcl-rv12is avatar May 02 '23 19:05 jcl-rv12is

Nice. I see that you also implemented WiFiManager, which is something that I've been meaning to do for a while.

WKHarmon avatar May 02 '23 19:05 WKHarmon