Notifications
Clear all

10/18/2023 Map Stopped Working?
Visit this post for the fix

LEDs turn off ever update

4 Posts
2 Users
0 Reactions
505 Views
(@ccrisafulli)
Eminent Member
Joined: 4 years ago
Posts: 21
Topic starter  

Mark

Hope this isn't covered somewhere and I missed it. I turned off all the Transitional Whips, and all the LEDs turn off and back on again for every update. Is there a way to stop that and just have it change only the airports that have changed?


   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 559
 

Hmm, This was done to give a definitive update to the commands going to all the strings. There is no setting to remove this although if you don't mind diving into the code I can give you a line number to comment out which would achieve the same thing.  

You would need to open the metar-v4.py file;

sudo nano -c /NeoSectional/metar-v4.py

In the version I'm working on (which will be slightly different from yours), line 605 contains;

 turnoff(strip) #turn off led before repainting them. If Rainbow stays on, it has hung up before this.

So you can look for this line and add a '#' in front of it to disable this. It should look like;

# turnoff(strip) #turn off led before repainting them. If Rainbow stays on, it has hung up before this.

So look around line 600 or so, and you should see this. Let me know if this does what you are hoping for. - Mark


   
ReplyQuote
(@ccrisafulli)
Eminent Member
Joined: 4 years ago
Posts: 21
Topic starter  

@markyharris Perfect, works great. I'm running V4 and it was line 593 in my code. Thanks


   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 559
 
Posted by: @ccrisafulli

@markyharris Perfect, works great. I'm running V4 and it was line 593 in my code. Thanks

Great! Glad it worked. I'll play with this feature for a future release. Thanks - Mark


   
ReplyQuote
Share: