SparkFun Forums 

Where electronics enthusiasts find answers.

All things pertaining to wireless and RF links
By tlr
#161930
What's a good solution for cheap wireless push buttons I could hook up to, say, a Raspberry Pi to control some lamps (Phillips Hue, Belkin WeMo, whatever). I was thinking about maybe using a wireless doorbell button/receiver. I'd like at least ~3 different "channels". Ideally I could have a couple different commands (short press, long press, double tap).
By alias_neo
#161940
It depends what you mean by "cheap" but you could do it for about ~£50 with a cheap arduino pro (~£10) and an pair of XBee (~£25 each) and a push button.

You could lower the cost by using an lower frequency RF alternative to the XBee (XRF maybe?) and an arduino clone for ~£5.

Then you could have all sorts of key combinations detected by the Arduino. You hook up the second XBee to the raspberry Pi via UART and read the data with Python, or another language of your preference.