10/18/2023 Map Stopped Working?
Visit this post for the fix
Hello,
I am planning a big map, is it possible to have more than 500 LEDs. With the latest RP4 4GB or 8GB ram?
Thanks!
I can certainly increase that value. But I don't know what the physical limit would be. 500 was an arbitrary value. So let me know what number you would like and I'll change it for you. - Mark
I think 800 would be a good value, I can change it if you tell me in which file I can find it?
Sounds good.
cd /NeoSectional cd /templates sudo nano -c confedit.html
Scroll down to around line 61 and find this segment of code;
<tr> <td><b>LED Count = </b> <td><input type="number" name="LED_COUNT" onchange="checkBlankF(this)" min="0" max="500" value = {{ settings.LED_COUNT }}> <td>Enter the total number of LEDs in the string to build the map. This is not the number of airports to display. (Allowable range = 0 to 500) </tr>
Find the 2 locations with '500' and change it to '800'. Then save the file;
ctrl-x y
That should do it. Let me know how it goes. - Mark
thanks! I will let you know when I am done 🙂
Could anyone point me in the direction of being able to change the code from 500 to 600 leds?
The info to do this is above in this thread. If you need more specific info, let me know and I'll try to help. - Mark
@markyharris thank you Mark. I can’t seem to find the same files in the .img that is preconfigured. So I downloaded all the files from GitHub and change the text via text editor, saved, zipped the file and loaded it to the SD card for the Pi. I am using MacOS.
I now cannot get the pi to run the software as a it would with the preconfigured .img.
Am I not doing something right? I am a novice at coding
thank you
- The only real way is to get the RPi up and running and using the cmd line to edit the html file directly on the RPi. If this isn't something you are comfortable with, I can update the image so that you can download it from the website, bit that will take a bit of time.
So get the software up and running on the RPi, then let me know and I can walk you through the changes necessary. - Mark
@markyharris I have setup the RPi and access it through the terminal and change the command as you listed above for the amount of LEDs. My only question is when I log onto the IP address to setup the Map settings the number of LEDs has not changed from 500 to 600. Is this still a problem or will it still work as long as I changed the command? Thank you for you help
If everything worked out with the edits, then your config editor should look like the picture attached. I changed mine to show a max of 800 LED's using the steps above. So check yours and see if its similar. - Mark
@markyharris okay I’ve adjusted the numbers in the command and still having same issue when the IP address is types in under basic settings.
Am I missing something?
It looks like your edits are correct. So maybe your browser is running a cached version. Hit ctrl-F5 to reload from the RPi. I'll bet is will show up properly at that point. - Mark