I am planning to use my Spark to detect when a room is empty.
I already own some Philips Hue smart lights and have gotten a pretty nice PHP library setup that I can send simple requests to, such as http://server/hue/flashDesk.php?color=red to flash the desk lamp once with colour red.
I also have XBMC set to dim the lights and perform ambilight functions whilst watching movies and shows. The next thing I want to do is have it so the lights turn off if I am not in that room and turn them on when a person walks in the room, as long as there is nothing currently playing on the XBMC machine.
I plan to do most of the work from my home server, but want to use the Spark to do the motion sense / presence monitoring side of this project.
There is a JSON API in XBMC that I can use to get the current playing status, combining this with the âwifi connected presence sensorâ I plan to make the Spark in to I should be able to have lots of fun
Just need to decide how to do the presence detection, I have a couple of ultrasonic distance sensors left over from an Arduino robotics project that I could poll frequently for changes or I may purchase some new motion sensors.
I have ordered from the next batch of Spark, hopefully I will get it promptly
edit:
Just did a bit of shopping brought 2 Parallax PIR modules, now i just need to wait for the Spark to arrive, est delivery March 2014