GLSTouch RF enabled 3-gang switch

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Dunkan
Posts: 4
Joined: Friday 20 December 2013 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.5877
Location: Edinburgh, Scotland

GLSTouch RF enabled 3-gang switch

Post by Dunkan »

Not sure where to post this, so hopefully an Admin will step in with this, my first post.

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
and defined 3 dummy devices to represent the buttons on the Switch:
  • GLS_SW#1, GLS_SW#2, GLS_SW#3
To connect the the virtual to the physical I have the following blocky code:

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
Now my Domoticz can switch On/Off the 3 virtual devices, and the above code ensures the correct ON command is transmitted.

I also have HA Bridge installed, so can control these lights from Alexa. At some point I may replace HA Bridge with Controlicz.
jeffmangles
Posts: 1
Joined: Thursday 10 August 2017 13:24
Target OS: -
Domoticz version:
Contact:

Re: GLSTouch RF enabled 3-gang switch

Post by jeffmangles »

Have you tried the remote access through this path UYT7-HSBT-6HSB-34HHJ? It must work. The Switch must be learning the code and the next trial will be ok. Hope that helps.
_____________________________________
More about Jeff Mangles bio read here in the profile section.
Dunkan
Posts: 4
Joined: Friday 20 December 2013 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.5877
Location: Edinburgh, Scotland

Re: GLSTouch RF enabled 3-gang switch

Post by Dunkan »

I'm sorry, I don't understand your suggestion.

What I would like is a way to train the switch without having to use the remote dongles.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest