I acquired one of the following devices http://glstouch.co.uk/Full-Crystal-Glas ... -Way-White to replace an old X10 AW12 module that was stuggling to receive powerline signals. I had decided to move away from X10, and this offered a RF solution. My Domoticz server runs on a RPi3 with a RFXtrx433e connected via USB.
The Switch itself does not transmit but can only receive RF signals (I believe a bi-directional one will be coming sometime). The Switch is supplied with a 4 button RF Remote from which the Switch learns the codes. My Switch had 3 buttons and would need 3 on & off commands, so I needed a 2nd RF Remote. To learn the Switch you need to press the selected Switch button until it beeps. As you keep pressing on the button the Switch will beep once, then it will beep twice, then three times and eventually 4 beeps. Each of these signifies a different setup, and this can be done for each of the buttons. If you remove your finger after the first press, the button will toggle the connected light when the corresponding RF button is pressed. If you remove your finger after the Switch beeps 2 times the light will be Switched ON. If you remove your finger after 3 beeps the light will be Switched OFF. And if you let the Switch beep 4 times the button is reset (unpaired).
For me, the toggle option was of no use, as a manual switch of a light would put it out of sync with Domoticz. So I pressed the 1st button on the Switch until it beeped twice. I then pared this with button A on my first Remote. I then pressed the same button until I hear 3 beeps and paired it with button B on the same Remote. I continued with the 2nd button on the Switch, pairing it with C & D (On & Off) and the 3rd button with A & B on the 2nd Remote.
Now the Switch and Remotes were setup, I just had to connect in Domoticz. The RF Remotes uses the EV1527 chip, and its buttons are recognised by RFXcom as Lighting 4 - PT2262 devices. They transmit an On command when pressed. I renamed the 4 buttons on the 2 Remotes as:
- GLS_RF#1A, GLS_RF#1B, GLS_RF#1C, GLS_RF#1D
- GLS_RF#2A, GLS_RF#2B, GLS_RF#2C, GLS_RF#2D
- GLS_SW#1, GLS_SW#2, GLS_SW#3
Code: Select all
If GLS_SW#1 = On
Set GLS_RF#1A = On
Else if GLS_SW#1 = Off
Set GLS_RF#1B = On
Else if GLS_SW#2 = On
Set GLS_RF#1C = On
Else if GLS_SW#2 = Off
Set GLS_RF#1D = On
Else if GLS_SW#3 = On
Set GLS_RF#2A = On
Else if GLS_SW#3 = Off
Set GLS_RF#2B = On
I also have HA Bridge installed, so can control these lights from Alexa. At some point I may replace HA Bridge with Controlicz.