This is a set of php and python scripts to demonstrate how to control Hue lightbulbs with PHP and talk to PHP via http.
To setup the Raspberry Pi with Apache/php etc then you are best to follow slides 4 - 8 in the included presentation (see the presentation directory)
This is a bit more complex and I'm not qualified enough to offer any better instructions than the ones that appear online.
- Touch Capacitive Hat for Raspberry Pi.
- Crocodile Clips
- Solderless Hammer header (Because I can't solder)
You are best off following these Instructions Here, This page and the start of the second page was all I needed to get to where I needed things to be.
Don't forget to enable the GPIO pins Take a look here The GPIO pins are not enabled by default so the hat won't work unless you do this!
To get this to work correctly you will have to modify the touch.py script to have the correct IP address of your Pi. I was lazy and didn't want to work out how to make it one variable.. sorry!