RSA Admin

lighting effects for SA - Philips Hue integration

Discussion created by RSA Admin Employee on Sep 4, 2013
Latest reply on Sep 17, 2013 by RSA Admin



I recently purchased a starter kit of the Philips Hue lighting system.  Why?  They are wifi enabled multi-coloured light bulbs that can be programmed using a REST API.  In my endless search to justify the $249 price of three light bulbs I came up with a crazy idea.  What if I integrated the Hue lights into my SA 10.x deployment.  About 15 minutes later I had invented the first (to my knowledge) SA lighting effects and alerting solution.



The Hue bulbs work with a smart phone app or anything that can talk to the REST API of the base station.  This base station can turn on and off the lights or change the "hue" of each globe to reproduce any colour.  You can program the controller directly using REST calls (e.g. http://ip.addr/lights/on) or make use of any number of third party email-to-hue solutions.  I am using one of these third-party systems from IFTTT.  Just sign up for an account under an email address that your SA RE box can use and configure your Hue controller to talk via the web site.



The first step is to define some if-then-that rules.  I've created some basic ones that will trigger on tags, such as #SSL here.  An email sent from the SARE alert to with the subject #SSL with trigger an action. In this case, it will turn on all my Hue lights red.  Other actions include blinking lights, cycling colours, turning off and on lights etc.  You could define different colours for different alerts... let your inner child go wild.



Back in SA you will need to create some SMTP alerts that mirror the rules.  Here is a simple rule that will trigger the #SSL rule and turn the lights red. The Philips Hue system has a full REST API  so if anyone is keen to build a direct SA REST to Hue REST solution go nuts but please share.


Justification for $69 light globes is hard but the coolness factor of being alerted to outbound covert channels when your entire office lights up in red is priceless.