Notifications
Clear all

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

First Boot - Unable to connect

11 Posts
2 Users
0 Reactions
1,211 Views
(@zach-powell)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

I am attempting to setup my Raspberry Pi 4 with LIVESECTIONAL4_3. I have successfully imaged the SD card and used Berrylan to setup WiFi. I can confirm that the IP address is correct by going into my router and seeing what has been assigned. I attempt to go to the http://ipaddress:5000 on multiple browsers and computers. I receive a message that the server is not found. I have reimaged the card twice now using both a Mac and PC with the same results. Any help is appreciated!


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

Hi Zach, sorry for the issues. Here's a couple of things;

First: To be clear, you are not entering ' http://ipaddress:5000 ' into the browser, correct? You are entering the RPI's URL, ie. 'http://192.168.1.245' into your browser? If you are, then use your RPI's IP address and it should work fine.

Second: Assuming you are entering your RPI's URL into the browser, its possible that you are entering the wrong IP. To verify this, if you have a monitor hooked up, you should see the IP address displayed in Green text on the Monitor. Use this IP address. Another way is to use your router's admin function and look at the list all the devices and check their IP address. This can be a pain if you aren't familiar with it though.

Finally: If you have a setting that conflicts with the build project, then its possible for the code to stop running in which case the web server on the RPI will stop functioning. Again, if you have a monitor connected, you will see an error message at the bottom. If this is the case, paste the error here so we can look at it. One of the few reasons for this to occur is if the settings show that you are using a display (OLED or LCD) but your build does not have one. The script will go out to connect to the display, but not see any. So double check your settings file. This can be done manually using a text editor. If you like you can upload it here and we'll look at it for a conflict.

Tell us about the build. Are you using just LED's or do you have a display, light sensor etc? I'm sure we'll figure it out. - Mark


   
ReplyQuote
(@zach-powell)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

Thank you for the reply Mark! I am entering the IP address which is 192.168.1.198:5000 in my case. It says the server is unreachable. I do not have a display to hook up, but do have the RaspberryPi app which I am able to connect to the Pi with and verify the IP.

3CD27514 21B3 44F0 BD1B 544677728BF3

 


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

If you have the ability to open /NeoSectional/config.py in a text editor (you can use an SSH client to reach your RPI) look for these three settings;

  • displayused = 1
  • oledused = 1
  • lcddisplay = 0

Be sure these are all set to 0 if you have no displays connected to your map. It's possible that its crashing because it doesn't see any displays.

Let me know. - Mark


   
ReplyQuote
(@zach-powell)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

The setup we are trying to use is just LED's. When the Pi is powered on the LEDs come on. I am able to setup the WiFi and get the IP address. I then confirm the address on my router webpage. All of these line up. The browser still will not let me pull up the config page. When I use the Raspberry Pi app on iOS, I am able to check on the Raspberry Pi and see the settings, and SSH into it. I plugged a display into the Pi but nothing shows up on the display. I'm sorry for the troubles, I have a little experience with Raspberry Pi's with setting them up for LiveATC and FlightAware, but never have had issues like this.


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

Hmm, I've only had one other person express a similar issue. It turned out that he was using the wrong URL. It had something to do with his network's setup and once he got the correct URL it worked fine.

The other possibility is that the RPI is on one node of the network, but the computer you are using is on another one, and the two are not setup to interact with each other. I don't know enough about networking to be any more help in that area.

My best suggestion would be to connect a monitor up to the RPI, then reboot. Once the software runs, it will display the proper URL to use in the web browser.

image

Once you see this, please let me know if the URL is the same as the one you have been using or not. It will help others. - Mark


   
ReplyQuote
(@zach-powell)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

 

FC6AEB3B 9A27 4AE6 A8B3 5446AF37A5D7

Here is what I see. 


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

This was very helpful. The error message is due to an incompatibility between Adafruit library needed to run the LED's and the model/type of LED's you are running.

Send me the model number of the LED string you are using. A picture would be helpful along with a link to where you purchased them. I'll take a look to see if I can tell you what the incompatibility is. 

This error has stopped the web server, which is why you could never reach the web interface. We are getting closer to the answer. - Mark


   
ReplyQuote
(@zach-powell)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

ALITOVE WS2811 12mm Diffused Digital RGB LED Pixel Light Individually Addressable Round LED Pixels Module IP68 Waterproof DC 5V 50pcs/Set https://www.amazon.com/dp/B01AG923GI/ref=cm_sw_r_cp_api_i_pHipFbKCG566J

Here are the lights I purchased. I’m glad we are getting somewhere!


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

If you were sent the 12v version of the string, then this would explain the issue. The software was written for the 5v version of the string. You should be able to look at one of the small circuit boards to see the voltage input printed on the circuit board. Here's an example of the 12v string from the link you sent.

image

So at this point, logic would dictate that you try a different string of LED's. Regardless if you are using a 12v or 5v, there seems to be an issue and therefore needs to be replaced.

Let me know what you think. - Mark


   
ReplyQuote
(@zach-powell)
Active Member
Joined: 4 years ago
Posts: 6
Topic starter  

The boards on the lights show 5v. I have 3 strings of the lights, all the same. I just connected them all separately to the board but they all are showing the same when I boot the Pi


   
ReplyQuote
Share: