In Dec 2018, I created a tutorial showing how to create your own Audio Reactive LED strip with a Raspberry Pi. The original tutorial had a lot of steps (30+) that you needed to take in order to get the software up and running.
A lot of viewers have also asked if there were ways to make the installation simpler. So I took a stab at it and got the installation steps down to just 2! Clone the GitHub repo and run the installer. Of course I’m not counting the hardware set up!
The world has been uncertain for a few months. A little over three weeks ago, I was lucky that I started working from home. The government was extremely slow to react to this virus even though they had months of lead time. As a result, the United States has become number one in COVID-19 cases. As of today, we are at over 215,000 cases with 5,000 deaths. Most of these cases are from my home state of New York. I currently live in Massachusetts but I have family and friends all over New York City.
If you haven’t already started, please stay home. It’s the best course of action to flatten the curve. For more information on what “flattening the curve” means, check out this video:
I moved to another city at the end of June. Still in Massachusetts but much closer to work. I’ve mostly settled in but still have many boxes that need to be opened.
The last tutorial I made was posted on June 1st and I showed you How to control an LED from your browser!
In the meantime, enjoy my RPi tutorial from June 1st:
Since the holiday break, I’ve been working on this little Raspberry Pi project. It’s dubbed the Website Uptime Monitor.
I use several uptime monitors including pingdom and Jetpack (used on this site). And I typically use the Free version because I am okay with being offline for a few hours if it comes to it. But then I thought, I can create my own uptime monitor that works just as well as the paid versions and I’ll have full control!
Of course I don’t have the skills or time to do what these paid monitors do but thought I’d try anyway. I also wanted some kind of visual indicator if any of my sites go down. And in comes the Raspberry Pi. I love the Pi. If you know me in person, you know that I have a dozen different Raspberry Pis around the house doing different things, such as control my lights, act as PiHole, PiVPN, etc.
You can watch the quick demo of the software here:
If you prefer to read about it over watching a demo video, keep reading!
The idea I had was to have three lights, like a traffic light: red, yellow, and green. I’m still working on the rules for when the lights come in, but they’re as follows: – Only Red – either everything is down or my internet is down – Only Green – everything is good! – Yellow – this light can be on in conjunction with the green light. This will come on if 1-3 sites are down. And if Green is on along with yellow, it means at least some sites are loading.
Pretty simple rules but I still think I can do better. That’s why this is still in beta! Current version at the time of writing this post is 0.3.0-b01.
The application will check sites every 15 minutes (this is configurable) and record all activity in a database. If a site is reported down three times in a row, the app will send an email with an outage report. The Email notifications are also stored in the database so you can look up whether or not an email was successfully sent out. Failure to send an email would typically mean that your internet was down.
Since everything is stored in the database, everything is reportable! For this, I created a Flask app with a bunch of API endpoints that can be accessed by any web application. These endpoints will output data from the MySQL table into neat JSON. You can also write to the databases using POST and PUT API calls.
For a few days, Nazm.us looked a little weird. The CSS wasn’t loading, random 500 errors, etc.
It seems that an auto update went wrong. It finished, but finished incorrectly, but the software thought it was done. I noticed and had to step in.
I installed the newest version of Wordpess (version 5.0.3) manually and moved stuff over in the database. It seems to be holding now. It was easier than figuring out what went wrong and possibly roll back to an old backup.
I’m back with another Raspberry Pi giveaway and a tutorial. I think this one is pretty decent, even though the entire video is over 22 minutes long. About 3 of those minutes are demos of the product and another 2 is talking about the giveaway. So really, only about 17 minutes of tutorial!
In this video, I show you how to create your own audio reactive LED strip using some WS2812b lights. Make your holidays a little more fun with some dancing lights.
It’s been a while since my last update. My last updated introduced my Easy jQuery series. That was more than 8 months ago. And in total, I’ve created 21 jQuery tutorials!
But now I’m moving forward with another adventure. I have decided to start doing a Raspberry Pi tutorial series! The first video will premier on Saturday November 10th at 6 pm EST. In this video you will learn how to set up a Headless Raspberry Pi. Along with learning something awesome, you’ll have a chance to win one of two Raspberry Pi Zero Ws!
The above is just the intro video, where I decided to start the index at 0. As of today, I have uploaded 4 tutorials (5 videos) and are getting a 5th one ready for next Saturday. Unlike my JS tutorials, I’m only posting one tutorial every 2 weeks because there aren’t as many topics to cover.