Lightwave RF


LightWaveRF produce a variety of RF plugs and relays which can be controlled via OOK (on-off-keying RF. The LightWaveRF OOK protocol is also compatible with some lower cost un-branded OOK learning receivers relays.

While maybe not strictly open-source the LightWaveRF OOK protocol and been reverse engineered allowing plugs to be easily controlled from Arduino / Raspberry Pi. There is an active LightWaveRF online community. Using off-the shelf hardware like this is a ‘safe’ way to control lights, heaters and appliances  around a home without getting our hands dirty dealing with with high voltages. These plugs and relays can be used to control anything from lights to immersion heaters, most LightWaveRF plugs/relays will switch up to 13A / 3kW.

The latest emonSD emonPi / emonBase image includes a LightWaveRF MQTT service running by default. To use the feature you will need to add an OOK transmitter to the emonPi.

Hardware

An OOK transmitter can easily be added to the emonPi.  We stock OOK transmitter modules in the OpenEnergyMonitor shop.

See emonPi Technical Hardware Wiki for details how to retrofit OOK TX module to existing emonPi’s.

emonPi LightWaveRF

Software

The latest emonSD emonPi / emonBase image includes a LightWaveRF MQTT service running by default, a plug can be controlled by publishing to the lwrf/ MQTT topic:

E.g Publishing 1 1 to lwrf/ topic switches on plug 1 while publishing 1 0 switches off plug 1.

Plugs can be paired with the emonPi in the usual LightwaveRF way: Either press and hold pairing button (if button exists) or turn on the plug from main power and send ‘on’ command. Most LightWaveRF plugs allow multiple (up to 6) control devices to be paired.

To reset the plug and delete all pairing press and hold the pairing button to enter pairing mode then press and hold again to erase memory then press (don’t hold) once to confirm. For plugs without a pairing button turn on the plug from the mains power then in the first few seconds press the ‘all off’ button on the RF remote.

LightWaveRF Pi - MQTT Service GitHub

Note: The OOK RF protocol by it’s simplistic nature is not particularly secure, we would not recommend controlling anything you don’t mind getting accidently switched. For critical switching applications and when more control (e.g. state feedback) is required we recomend using MQTT WiFi Relay Thermostat.

Documenttion