DEV Community

Tech Community for Software AG Tech Community

Posted on • Originally published at tech.forums.softwareag.com on

Cambridge Community Hackathon

Early in December, the Cambridge UK office held a late afternoon and evening Hackathon around the Apama Community Edition. With an office full of Raspberry Pi enthusiasts, it was perhaps no surprise that most of the projects revolved around the ARM build of Apama! Oh, and the pizza was good too.

Callum, Ian and Ben investigated upgrading our old GPIOPlugin to use the new (and much fancier) EPL Plugins API, which happily was a great success with all our old tests passing. Our next goal is a set of automated tests leveraging WiringPi’s ‘gpio’ tool to simulate signals, rather than constructing small boards and testing literally by hand. There are plenty more features yet to be added, so please visit the GitHub repo if you would like to contribute!

Scott also worked on porting his existing plugin for the Blinkt! LED bar to the new EPL plugin API. This turned out to be far easier than anticipated thanks to the excellent documentation for migrating plugins from the old API and the new version worked first time with all tests passing. The Blinkt! plugin effectively contains an implementation of the SPI protocol built directly on the WiringPi library, so a future project is likely to involve making this code more generally available through the generic Apama GPIO plugin.

Chris had a Banana Pi (a variant of a Raspberry Pi) connected to a USB-DMX interface to an RGBW LED PARcan. Using a connectivity transport interfacing with an OLA daemon that bridges to the USB-DMX interface, events could be used to set the intensity of RGBW LEDs. Unfortunately, the OLA daemon seemed to limit this to only 1-2 changes per second, so smooth fades were not possible; next step would be to talk to the USB-DMX adapter directly.

Kev and his 13yr old son Josh had built a PiHut LED Christmas tree, and got it running under Python, and then were looking at doing the same with the GPIO Plugin. Not that we’re starting the long-term future recruiting process early or anything…

All in all, the event was a lot of fun and something quite different from our normal work. We hope you enjoyed this window into the team, and perhaps feel inspired to join us in the Community!

The Apama Community Team

Visit original post

👋 Was this post useful to you?

You get more value by joining for free. Why haven't you joined DEV yet?

It takes one minute to join DEV and is worth it for your career.

Join now

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay