You are reading a single comment by @Mr_Sworld and its replies.
Click here to read the full conversation.
-
An X-Y mercury switch slaved to a Raspberry Pi maybe?
Raspberry Pi with an accelerometer so you can calibrate it appropriately: https://www.adafruit.com/product/2019
The Hue coloured LED strips are handy if you'd like a p0rn star bed like mine...
I've yet to figure out how to automate it to movement. An X-Y mercury switch slaved to a Raspberry Pi maybe?