I’m looking to put some Hue into my bathroom. My idea is to use some RGB LED strip + the controller to do this. With an PIR sensor, I can have it turn on to a dark red if you walk in there at night, or else if use the pull cord, to turn on to full white (or else use a phone app to set it to whatever colour you want for your bubble bath).
My problem is the pull cord – I can’t see any product I could use or modify to fulfill this task. I can put a low-voltage power supply on the pullcord, so in other words I can provide +5V or +12V when the cord is pulled, or 0V if not, or of course I can use the switch inside the pullcord directly for something low-voltage.
I’m happy to mutilate something, modify something, and have considered an network-connected arduino or some such to use the Hue API to do this. I’d prefer something as close to off-the-shelf though. Any ideas how I might be able to do this?