I thought I’d throw a little guide together about how I have integrated LightwaveRF devices into my Home Assistant setup. I know there a number of people already doing it this way, but I thought I would create a post in the hope it might help others.
For those of you unfamiliar with LightwaveRF, it is an automation company based in the UK, who provide cheap and simple home automation tech. One of the nice things about their solution is that they provide wall switches as direct, drop-in replacements for your normal light switches. This greatly helps with the PAF! (partner acceptance factor.)
Please note. This guide only applies to Gen 1 devices. LightwaveRF have recently released a new set of devices (Gen 2) which are HomeKit compatible. These are not running on the same 433Mhz band and are not controllable in the same way.
What you will need/reources:
-
Some LightwaveRF (Gen 1) devices - LightwaveRF / Amazon UK
-
Rfxcom USB Transceiver - Amazon UK
-
Hass.io on a Raspberry Pi or similar.
-
RFXCom Manager Software - RFXCom
-
A Windows PC to setup the RFXCom device.
Guide
-
Download and install RFXCom manager on to your Windows PC and plugin the device.
-
Launch the RFXCom Manager app:
-
Click the connect icon in the menu bar:
-
Select the device from your USB COM port list:
-
Next, you should see in the yellow text below the transceiver types that have been setup already on your RFXCOM device. De-select the ones you don’t want to use and select the “AD/LightwaveRF” profile. Click “Set Mode” to set the profile. Once this is done, you can check again by pressing “Get Status”. Check that it shows up in the yellow text at the bottom of the screen:
-
Next, you will want to grab the IDs of one of your devices to test.
The easiest way to do this is to use the app to sniff the LightwaveRF traffic. Trigger one of your light switches to on, and you should see it’s information pop-up in the yellow text below.
Note the ID, Unit Code and decimal info.
You can then use the “Lighting 5” tab to test the RFXCOM device can communicate with your LightwavRF switches by filling in the fields at the top, and hitting “Transmit”:
Now it’s time to disconnect the RFXCOM from your Windows PC and connect it backup to your Raspberry Pi.
- Connect to your Raspberry Pi and open up your Hass.io configuration.yaml
Add the following to communicate with your RFXCOM device:
rfxtrx: device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A11I6NWQ-if00-port0 debug: True dummy: False
-
Check your configuration.yaml file for errors, and restart your device/Home Assistant.
You should now see your devices show up in the Home Assistant UI when you trigger them from the LightwaveRF app or a nearby remote (pressing the switches themselves doesn’t send an RF signal.)
Note down the ID shown in the Home Assistant UI, so that we can add these permanently. -
Add devices to your configuration.yaml file. Example:
light: platform: rfxtrx automatic_add: True devices: 0a14000031340001010070 name: Bedroom Light
Replace 0a14000031340001010070 with your device ID.
Again, check your config and restart Home Assistant. You should now see your devices in the Home Assistant UI and be able to control them.
This is by no means a complete, fool proof guide. But I hope it helps someone!