Notifications
Clear all

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

[Solved] Pi Zero 2 web interface issue

4 Posts
2 Users
0 Reactions
1,026 Views
(@sparky91)
Active Member
Joined: 3 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: 3 years ago
Posts: 0
Topic starter  

managed to find a solution in another post.


   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

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: 3 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 3 years ago by sparky91

   
ReplyQuote
Share: