Replies: 4 comments 22 replies
-
Glad you were able to get it running manually! Let's start with having it run via On to the sparkles, I can't see exactly what you're talking about obviously but I'm guessing it's a performance issue. I'm once again assuming you're using some sort of Raspbian. By default, I believe Raspbian boots into a GUI desktop environment which puts some strain on the system thus limiting the performance of your display. The first thing I'd try is disabling that GUI and running through the troubleshooting steps from Assuming that doesn't work, you might need to change some configuration of the program. Check out this section of the You can try the performance jumper but definitely don't solder it permanently unless you're sure it works. You could also try this but when I tried it just made things worse. Not to mention that if you do this, you have to modify the library's Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. As for the sparkle, I edit the code and changed the slowdown to 4 and it looks fantastic. I was going to jump pins to get quality, which loses sound, but it looks so good I don't see why. I do have a question about why chain=4 in the code but it doesn't seem to be problematic. I did edit the service file and moved it over. I also edited in place at systemctl. I'm not sure if that's good or bad. I did place the path in the service file and played with it a bit but I still had issues getting it to start. It starts but doesn't launch run.py. I will step it back and go through the steps again to see what happens. I'm not actually interested in booting to the display as it a 4 with 4h and want my son, who has an apt in DC, have access to its full capability. I'm working on ssh to show him how to change the station and direction but he's usually only interested in one station. I plan to pick through your code to see if I can display a notice that it's after hours. Maybe even a different display like weather when there's no data. It looks great. I have to frame the panels and work on a power/cable solution to place the display away from the pi and put it in a case. Thanks again for the response. I'm new to all this but I can pick through the code and learn from it. It's a win-win for old retired me. |
Beta Was this translation helpful? Give feedback.
-
I'm embarrassed to say that it was run.sh didn't have execute permissions. Now it boots directly to the display. Oh well ... we live and learn ... hopefully. |
Beta Was this translation helpful? Give feedback.
-
I'm a little late to the party (and very much a beginner), but am very excited about this project! However, I am also having difficulties running this on my Pi4 with Python2. I've walked through the install instructions on DietPi exactly how they are outlines, but haven't been able to produce any sort of display (my line.json and stations.json files are fully populated though). When I try to run I've outlined a few notes on the errors I've been receiving below:
Any advice? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I tried. I really tried but I can't get anything to display. I got the demos from Adafruit to work fine. Since I'm not using dietpi I have some reservations about the paths. I'm confused what what form the run.sh is supposed to be and what to do with the placeholders and the metro-display.service entries such as After=. The service starts or so it seems but there is nothing happening or any log file. I literally replaced the placeholders with:
#!/bin/bash
python /home/pi/metro-sign/rpi-rgb-led-matrix/rpi-metro-display/rpi-metro-display.py /home/pi/metro-sign/rpi-rgb-led-matrix/rpi-metro-display/log.txt /home/pi/metro-sign/rpi-rgb-led-matrix/rpi-metro-display/6x10.bdf /home/pi/metro-sign/rpi-rgb-led-matrix/rpi-metro-display/lines.json /home/pi/metro-sign/rpi-rgb-led-matrix/rpi-metro-display/stations.json.
Any thoughts would be appreciated. I know enough about this stuff to be dangerous but not enough to infer things or read between the lines.
Thanks,
Stephen
EDIT: I stepped through run.sh and ran rpi-metro-display.py manually and got the display to work. I used a station code E02 and the direction 0. I'm getting a display now but not sure what the problem is/was. It's after 11 so maybe the station data is available. I'm getting closer but still appreciate comments. My display is all sparkly especially with activity on the monitor but I'm using convenience. I have to push-fit headers coming to I can use jumpers instead of soldering.
EDIT2: It's working executing the run.sh manually. I still have sparkles and am going to work with the slowdown and then try to get the whole project to start with the service.
I failed to mention I'm using the bonnet w/o RTC. The bonnet still uses the hat setting? The bonnet has a performance solder I'm going to try to use w/o soldering. I am going to see if I need to rebuild the drivers. I'm using a standard install of RPi 32 bit fwiw.
So, most of the primary post is moot but I'm not sure if I should edit the entire post or just amend the original like this.
I just wanted to say thanks and bravo for this very nice project.
Beta Was this translation helpful? Give feedback.
All reactions