Background Ok so I have setup openhab2 on my Raspberry PI2 as a server running on Rasbpian Jessie. One component I have added is a cheap set of 433Mhz switchable power sockets (from Unitec). I added the 433Mhz transmitter to the GPIO pins on the Pi (system is only unidirectional, so no status information is sent from the sockets) and installed/compiled WiringPi from this great source . Setup Using the sniffer I found the RF codes (see openhab items below) for the sockets I had. I created a BASH shell file called rf_send.sh in the same directory as Integrating the code to fire the RF commands to the sockets for on/off via Openhab 2 as follows: Default.Items File: // Unitec 433Mhz Socket Switches Switch U433_Switch_Socket_1 "Door Light" (Lights, Lounge) { exec="ON:/usr/share/openhab2/bin/rf_send.sh 15, OFF:/usr/share/openhab2/bin/rf_send.sh 14" } Switch U433_Switch_Socket_2 "TV Lig...
Moaning old man fiddling with IT stuff!