2 min read

The RGB Pi Died

The RGB Pi Died

So last night I went to throw up a gif onto the RGB matrix and am getting no response, because my code doesn't do error handling (need to spend some time fixing this) it crashes the program. Anyways I end up trying to ssh in separately and it's still not working so I assume the microSD is dead. Decide I will just start fresh.

This time around I will be going with DietPi, it's the first recommendation on the list from hzeller and should be leaner so hopefully run better. The docs on hzeller are pretty lacking too so I'm gonna do this from a fresh start perspective than everyone will have an easier time setting up.

Alright so let's start with all the pre reqs, these are all the dependencies that need to be installed before you can start working with the hzeller library. Side note, I installed git as part of the initial step in dietpi, if you skip that add git to the below command.

sudo apt-get install libgraphicsmagick++-dev libwebp-dev make g++ -y

Next we are going to clone the hzeller library and run make on the led-image-viewer.

git clone https://github.com/hzeller/rpi-rgb-led-matrix.git
cd rpi-rgb-led-matrix/utils
make led-image-viewer

Of all the stuff that's listed under the trouble shooting section of the readme, cron is the only one that hasn't been addressed already. That can easily be disabled with

sudo systemctl stop cron

I am not sure what dietpi uses for time but I don't see a system process for ntp sync so I am just going to forget about that one.

At this point your pi should be able to run the script needed to play the gif that was just sent. Be sure to create an images folder in rpi-rgb-led-matrix if you plan to use the front end that I built.

I also took this opportunity to update the repo. There was somethings flagged by snyk which have now been corrected and I also will be closing the issue I created a while back because I have fixed that too. Finally the error handling issue I mentioned above has also been corrected.

GitHub - KillahB33/rgb-matrix-app: A full stack setup that allows you to crop and resize your gifs so that it can be displayed and then pushed to your pi hosted matrix
A full stack setup that allows you to crop and resize your gifs so that it can be displayed and then pushed to your pi hosted matrix - GitHub - KillahB33/rgb-matrix-app: A full stack setup that all...