Notifications
Clear all

-->September 6th, 2025<--

Thank you to GolfCharlie and Claude Code for fixing the code to work with the newly changed FAA API! They have saved a lot of time. A new image has been created and will be uploaded today and available later tonight. If you don't want or need the image, you can visit https://github.com/markyharris/livesectional and incorporate the changes into your board now.

--->September 5th, 2025<--
There has been another change to the FAA API which has again broke the map. We are currently working on this. Check back for fix. If you have the fix please post it. - Mark

Rotary dial error

15 Posts
3 Users
0 Reactions
1,809 Views
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

Hi! I have a 6-position switch, connected and set up. If any of the positions is set to MOS, I get an error

IMG 4948

 



   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

What value to you have set for probability under the MOS settings? - Mark



   
ReplyQuote
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

default 50



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Then the MOS data is not providing data the software is expecting. So set the debug level to 'Debug' in Basic Settings then run it till the error occurs, then attache the logfile.log here so we can look at it. - Mark



   
ReplyQuote
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

added. Weirdly, the MOS doesn't error out but the LED display freezes at the rainbow transition.

 



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Please take another picture of the current error on the monitor. The Log doesn't jive with the error in the picture above, so I need to see the error again. BTW: I love the 'Surly Service' message. Very clever. - Mark



   
ReplyQuote
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

it scrolled like lightning and slowed to this pace.

 



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

So the program had already stopped. So if you don't mind trying a few things for me;

  • On the web editor, go to 'Map Functions' and turn off the map.
  • Then either from ssh session or with a keyboard connected to the RPi, enter 'sudo python3 metar-v4.py'

This will run only the script that controls the LED's and when it crashes, it won't scroll off the screen so you can attach a pic of the error it sets. - Mark



   
ReplyQuote
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

It wouldn't work with just the command. so I switched to the NeoSectional directory and ran it. It went through the rainbow transition and went dark. Putty shows this, if it helps.

[I 201001 23:56:36 metar-v4:1199] Decoded METAR Data for Display

Cycle Num = 0
Traceback (most recent call last):
File "metar-v4.py", line 1377, in <module>
logger.debug(("METAR -->"), end=' ')
File "/usr/lib/python3.7/logging/__init__.py", line 1371, in debug
self._log(DEBUG, msg, args, **kwargs)
TypeError: _log() got an unexpected keyword argument 'end'



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Yep, this is a bug that was recently discovered and fixed in the image that is available to download on livesectional.com. Download that image, but before you do, save the config.py file and airports file by downloading them from the web interface. Then install the new image and import the config.py and airports file to make the change easy. - Let me know - Mark



   
ReplyQuote
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

Well, version 4.5 seems to report NO errors, no matter the rotary knob settings, for my configuration with 6-position switch, 5 OLEDs  and 114 LEDs. 



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Awesome news. As you know this is a big project fraught with lots of little errors that need to be ferreted out. I appreciate your stick-to-it-iveness. Send a pic once its hanging on a wall. - Mark



   
ReplyQuote
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  
IMG 4962


   
ReplyQuote
(@mellilewis)
New Member
Joined: 5 years ago
Posts: 1
 

Hello...I'm searching for something that tallies the number you dials. Not the number of heartbeats it gives per X seconds. So when you dial one it gives one high heartbeat and afterward back low. In any case, my concern is that when you dial 4, the beats come to quick to distinguish them all. They come at 10Hz I think, yet I have perused that the GPIO's could parts quicker, so I don't have a clue what I'm fouling up



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 
Posted by: @mellilewis

Hello...I'm searching for something that tallies the number you dials. Not the number of heartbeats it gives per X seconds. So when you dial one it gives one high heartbeat and afterward back low. In any case, my concern is that when you dial 4, the beats come to quick to distinguish them all. They come at 10Hz I think, yet I have perused that the GPIO's could parts quicker, so I don't have a clue what I'm fouling up

I'm afraid I don't have any idea what you are asking. Please re-phrase the question. - Mark



   
ReplyQuote
Share: