Raspberry Pi controlled LEDs

to visualize the up-state of my servers

A friend of mine who is also a sysadmin recently said to me that if a device he managed went offline, red alarm lights went off in his office.

He meant it as a figure of speech but I thought that would actually be an awesome addition for my server shelf so I would know if there is a problem with the server or one of its virtual machines. I bought a roll of RGB LED strips from Amazon and connected them to a few relays that were controlled by a simple ping script on my raspberry pi.

Here is how it looks:

enter image description here

enter image description here

This is how it looks if Server 1 has an error but Server 2 is fine. Only after I installed it I realized that the red LEDs are much weaker than the green ones. But it's okay and you can see if fine even if the sun shines in.

enter image description here

enter image description here

Here are my schematics:

enter image description here

And the breadboard schematics:

enter image description here

Tags: breadboard led ping script raspberry pi relay rgb-led server

Comment using SSH! Info
ssh f5dd4@ssh.blog.haschek.at

Comments


Get new posts by email
(~ one email every couple of months & no spam)