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

[Solved] Pi Zero 2 web interface issue

4 Posts
2 Users
0 Reactions
1,462 Views
(@sparky91)
Active Member
Joined: 4 years ago
Posts: 0
Topic starter  

Im currently haveing issues getting webapp.py to run on a pi zero 2w. I can ssh into the pi over wifi but the web interface won't load. I ran it manually and this is the output I got in terminal.

pi@LiveSectionalV4:/NeoSectional $ sudo python3 webapp.py

[I 220309 16:09:22 webapp:66] 

    

    Startup of metar-v4.py Script, Version v4.373

[I 220309 16:09:22 webapp:67] Log Level Set To: 20

Traceback (most recent call last):

  File "webapp.py", line 125, in <module>

    strip.begin()

  File "/usr/local/lib/python3.7/dist-packages/rpi_ws281x/rpi_ws281x.py", line 131, in begin

    raise RuntimeError('ws2811_init failed with code {0} ({1})'.format(resp, str_resp))

RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported)

Segmentation fault

 

Any help would be great!

Will

 



   
Quote
(@sparky91)
Active Member
Joined: 4 years ago
Posts: 0
Topic starter  

managed to find a solution in another post.



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

Was the fix to update the image?

Let us know, post the link to the answer when you get a moment. - Mark



   
ReplyQuote
(@sparky91)
Active Member
Joined: 4 years ago
Posts: 0
Topic starter  

@markyharris 

No problem, the fix was to update the Rpi-Ws281x package using

sudo pip3 install rpi_ws281x -U

Was posted on this thread.

https://www.livesectional.com/community/raspberry-pi-questions/connecting-to-rpi-via-safari/#post-1012


This post was modified 4 years ago by sparky91

   
ReplyQuote
Share: