One of the first projects I did when I joined Octoblu was being able to control a light with meditation or concentration. Maybe because like every self-respecting techie I enjoyed star wars and I really wanted to use the force and control things with my mind. I bought a Neurosky Mindwave and it was one of the first things that I integrated with Octoblu. I also have an interest in meditation and bio-feedback so I decided to create a meditation stoplight game where the light would indicate my meditation effort. Red would indicate little to no meditation effort, yellow would indicate moderate meditation effort and green would indicate high meditation effort.
The goal would be to keep the light green for as long as possible (which is a lot harder than it sounds). I also posted a project write-up on hackster.io. Here is how you setup a mind-controlled light with a Phillips Hue
1. Pair your Neurosky Mindwave Mobile with your Computer
Move the switch on the Neurosky mindwave to on/pair and hold it for at least 5 seconds. This will put the mindwave into pair mode. Pair with the mindwave mobile via bluetooth
2. Download and Run the Neurosky ThinkGear Connector
If you bought a Neurosky Mindwave Mobile, there is a brainwave starter kit bundle included. It has a starter disk set with the Neurosky Thinkgear connector. Install the bundle and run the ThinkGear Connector
3. Setup your Phillips Hue
3.1 Connect your phillips hue bridge to an ethernet port. Wait for all the lights on the phillips hue to turn solid. Press the large link button in the middle of the bridge and go to https://www.meethue.com/api/nupnp to discover the internal IP address of your bridge.
3.2 Follow the steps listed in the getting started guide and identify your light number
4. Download and Install Gateblu –http://gateblu.octoblu.com
4.1 Run the Gateblu application
4.2 go to http://app.octoblu.com and login with your account information
4.3 Co to Connect > Add Node
4.4 Select Gateblu from the list of nodes
4.5 Select Already downloaded and select the UUID of the Gateblu application. It should match the UUID in the bottom left hand corner of the Gateblu Application
4.6 Enter a Name for the Gateblu gateway in the name field.
4.7 Select Add to add a new Gateblu
5.1 Co to Connect > Add Node
5.2 Select Hue from the list of nodes
5.3 Select the Gateblu gateway that you added in should match the UUID in the bottom left hand corner of the Gateblu Application
5.4 Enter a name and the ipaddress listed when you navigate to https://www.meethue.com/api/nupnp
6.1 Co to Connect > Add Node
6.2 Select Mindwave from the list of nodes
6.3 Select the Gateblu gateway that you added in should match the UUID in the bottom left hand corner of the Gateblu Application
You can import a template of the flow by copying the link below and pasting it in your browser. You will need to replace the Phillips Hue and Mindwave nodes with the Nodes you created in step 5 and 6
Once you are done you should be able to impress people by changing lights with your mind, which is a pretty cool trick.