I got this cool potion lamp for Christmas though it’s only shake activated (more like you have to tap on it really hard) and I was wondering if there was any possible way I could connect my raspberry pi to it and be able to control it with the home bridge.
I think the cylinder on top is the “shake” sensor but I might be wrong Now I am a bit of a beginner so I don’t know how achievable this is. I thought maybe there’s something I can use to vibrate and activate the light directly or there’s something I can do to actually connect the two but I really have no idea how to do it. Maybe it’s just not possible but yeah I might as well try 🙂
Yes, you can use Rpi to control a 5V relay with its switch contacts/terminals (COM = Common, and NO = Normally Open), connected in parallel to the two terminals of the shake switch.
(8) Rpi: The Unofficial Tutorial – Christian Cawley 207jan28 enter link description here