Want to build your own smart Openhab RF remote control?

I found this little gem a while ago and wanted to use it as a true smart RF remote control to control lights, TV, Stereo etc.

image

I wrote a small MQTT wrapper which allows you an easy integration into Openhab (at least if you use MQTT). I could use the Linux Input binding, however I guess its not so easy to recognize long press or maybe double klick (not yet implemented).

1 Like

Thanks @magcode this looks great, but I can’t get it to work! When I run the service and monitor the logs, I see

Failed at step USER spawning /usr/bin/node: No such process

Running this on RaspberryPi 2 and installed nodejs following the info here: Installing NodeJS on the Raspberry Pi - Pi My Life Up

Can you help? Many thanks :slight_smile:

Don’t worry, after playing with this all day, I wiped the system and tried again and now all OK. I think this was an error in how I installed nodejs which meant that it wasn’t linked to /usr/bin. Now works all OK, and for others, if you have authentication on your MQTT broker, just change the MQTT line in config.yaml to be mqtt://username:password@brokerIP.

Many thanks for this :slight_smile:

Glad to hear!

1 Like