Page 1 of 1

TriState Switch

Posted: Monday 28 March 2016 12:10
by pkriek
Hi

I have a switch detected thru the RFLINK gateway.

With the remote of the switch, I press 1 time to switch it on, 1 time to turn it Off.

thru Domoticz, only the "turn on" seems to activate the device. meaning have to press twice in Domoticz to switch (Turn Off is doing nothing to the switch.

How can I solve this?

Thanks

Re: TriState Switch

Posted: Monday 28 March 2016 12:25
by gizmocuz
Buy a better switch !
Serious.. as nobody knows the actual state of the switch, it is of no use.
Image you are placing your sprinkler system behind this, and make a timer like
10:00am -> On
12:00am -> Off

So actually 12:00am should be -> On (because second ON turns it off)

Now image if the switch was in a wrong state, this will now turn off your sprinkler at 10:00am and on 12:00am On, meaning 22 hours a day it is on

Its probably a china device ! .... home automation is not cheap, just invest in a good 433Mhz switch, you have them from 6 euro+

Re: TriState Switch

Posted: Monday 28 March 2016 15:48
by jjansen
gizmocuz wrote:Buy a better switch !
Its probably a china device ! .... home automation is not cheap, just invest in a good 433Mhz switch, you have them from 6 euro+
Can you give an example of a good switch?

Re: TriState Switch

Posted: Monday 28 March 2016 16:18
by pkriek
Hi

indeed a cheap chinese switch. I bought these since I tested with a chacon switch, which gives similair dissapointing results.

what do you suggest to buy?

thanks

Re: TriState Switch

Posted: Monday 28 March 2016 16:27
by gizmocuz
Well here (in holland) the Klik aan klik uit (kaku) switches are good, outside holland it is called coco
but any switch that is supported and have a separate on/off and if needed a set level, is OK

Re: TriState Switch

Posted: Monday 28 March 2016 19:31
by pkriek
afte updating the rflnk firmware to te latest, the devices are detected as Chuango and do not work anymore.

I see there is work in progress, so I will wait untill the next version to see wat happens

Re: TriState Switch

Posted: Saturday 14 January 2017 22:27
by devros
hello i have same problem anyone have solution for this?
switch on works but when i want switch off i have click again (light is off now) ,but then switch in domoticz is on
i have latest rflink version
2017-01-14 22:25:16.083 RFLink Sending: 10;TriState;069498;1;ON
2017-01-14 22:25:20.022 RFLink Sending: 10;TriState;069498;1;OFF

edit: find that switch can be switched to two buttons mode (one for on and one for off)
when i switched
reflink read this
SWITCH ON
20;88;EV1527;ID=0d7c74;SWITCH=08;CMD=ON;
SWITCH OFF
20;89;EV1527;ID=0d7c74;SWITCH=02;CMD=ON;
but domoticz cant add this in autodetect mode...


here is debug log:
tristate on/off (one button on remote)
20;B6;DEBUG;Pulses=50;Pulses(uSec)=1020,270,930,270,240,960,930,270,240,960,930,270,930,270,930,270,930,240,930,270,240,960,240,960,240,960,930,240,930,270,930,270,240,960,930,270,240,960,240,960,240,960,930,270,240,960,24;

20;B7;EV1527;ID=0d7c74;SWITCH=04;CMD=ON;

20;B8;DEBUG;Pulses=50;Pulse,240,960,930,270,240,960,930,270,930,270,930,240,930,270,930,240,240,960,240,960,240,960,930,270,930,270,930,240,240,960,930,270,240,960,240,960,240,960,930,240,240,960,240,960,240,6990;

20;B9;DEBUG;Pulses=34;Pulses(uSec)=1020,270,930,240,240,960,930,270,240,960,930,270,930,270,930,240,930,270,930,270,240,960,240,960,240,960,930,240;



and here is A button on and B button off
A
20;BE;EV1527;ID=0d7c74;SWITCH=08;CMD=ON;

20;BF;DEBUG;Pulses=50;Pulses(uSec)=1020,240,930,270,240,960,930,240,240,960,930,240,930,240,930,270,930,270,930,240,240,960,240,960,240,960,930,240,930,240,930,270,240,960,930,240,240,960,240,960,930,240,240,6990;

B
20;C2;DEBUG;Pulses=511;Pulses(uSec)=180,960,120,960,90,960,90,960,120,960,120,960,120,960,90,960,120,960,120,1920,120,960,120,1920,90,960,120,960,120,960,120,960,120,1920,120,1920,120,1920,90,1920,120,3960,120,1020,120,960;

20;C3;DEBUG;Pulses=204;Pulses(uSec)=180,3960,90,1020,120,960,120,960,120,960,90,960,120,960,120,960,120,960,90,960,120,960,120,1920,120,960,120,1920,90,960,120,960,120,960,120,1920,120,1920,90,960,120,960,120,1920,120,1920;

20;C4;DEBUG;Pulses=511;Pulses(uSec)=390,1860,390,1860,390,1860,390,1860,390,1860,390,870,390,870,390,9870,390,900,390,870,390,870,390,870,390,870,390,870,390,870,390,870,390,870,390,1860,390,1860,390,870,390,870,390,1860,3;




here is link for switches https://www.aliexpress.com/item/Crystal ... 0.0.5P9cM4
they looks really nice and are easy to connect