Gibbon Logo

RaspberryPi Alarm

One of the most joyful and empowering aspects of open source development is the mindset and ability to take someone else’s system, and then adjust it to fit some edge case you encounter. This approach to solving problems has been exemplified by Jack Dickson, who used a Raspberry Pi, some Python code and a Gibbon forum post to stitch together an alarm actuator. The code, running on the Pi, repeatedly polls the Gibbon database, and when it detects an alarm has been issued, it uses speakers and lights to make the alarm obvious to users not logged into the system.

In this approach we see a vital kind of creative collaboration: Jack had the original idea, and he reached out to find out more. The Gibbon team were able to provide some insights, which allowed Jack to then write up the code. This distributed, friendly and open collaboration leads to a level of creativity that is so much less likely when we lock things down, and deal with customers instead of a community.

The video below shows the system in action:

Jack has kindly made the source code freely available, and it can be downloaded here.

A huge thanks to Jack for adding another piece to the Gibbon puzzle.

On a side note, I really hate the fact that our world needs the Alarm function, which was designed for school lockdown scenarios. The day I coded it up was not a happy one, and I hope to never see it used in practice.