Remote control & PT2262

Post here about devices that are not yet or not fully supported

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
Romeo
Normal user
Posts: 13
Joined: 15 Dec 2016, 22:06

Remote control & PT2262

#1 Post by Romeo » 08 Nov 2017, 16:16

Hi,

My remote control (chinese brand) has a PT2262 mcu on board for a door gate, but is not recognized correctly by rflink.

There are 4 buttons on the remote control. (UP, DOWN, STOP and another one not used but acts as STOP)

That's what I got with rflink in debug mode & rc-switch
I confirm that the right value is decoded by rc-switch, if I re-send the same value (decimal or binary) with rc-switch, the door gate performs it.

UP:

Code: Select all

DEBUG;Pulses=50;Pulses(uSec)=870,210,810,210,210,810,210,810,210,810,810,210,810,210,810,210,210,810,210,810,210,810,810,210,810,210,810,210,210,810,210,810,210,810,210,810,210,810,210,810,210,810,210,810,810,210,810,210,210,6990;
RFLink: 20;91;TriState;ID=049240;SWITCH=10;CMD=ON;  


Decimal: 13048835 (24Bit) Binary: 110001110001110000000011 Tri-State: 10F10F100001 PulseLength: 303 microseconds Protocol: 1
Raw data: 9416,924,296,924,300,312,904,312,908,308,908,924,296,924,300,920,304,308,908,316,904,308,912,916,304,920,304,916,304,308,912,304,912,304,912,308,912,304,912,308,908,308,912,304,912,916,304,920,304,

DOWN:

Code: Select all

DEBUG;Pulses=50;Pulses(uSec)=840,210,810,210,210,810,210,810,210,810,810,210,810,210,810,210,210,810,210,810,210,810,810,210,810,210,810,210,210,810,210,810,210,810,210,810,810,210,810,210,210,810,210,810,210,810,210,840,210,6990;
RFLink: 20;6F;TriState;ID=049241;SWITCH=3;CMD=OFF;


Decimal: 13048880 (24Bit) Binary: 110001110001110000110000 Tri-State: 10F10F100100 PulseLength: 303 microseconds Protocol: 1
Raw data: 9420,924,296,920,300,312,908,308,908,312,908,920,300,920,304,920,304,304,912,312,908,308,912,912,308,916,308,912,308,304,916,300,916,304,916,300,916,916,308,912,308,304,916,304,912,304,916,304,912,

STOP:

Code: Select all

DEBUG;Pulses=48;Pulses(uSec)=870,210,180,840,180,840,180,840,810,240,810,210,810,240,180,840,180,840,180,840,810,210,810,240,810,210,180,840,180,840,180,840,180,840,180,840,180,840,810,240,810,210,180,840,180,840,180,6990;
2017-11-08 11:49:32.067 RFLink: 20;8A;SelectPlus;ID=00e3f3;SWITCH=02;CMD=ON;CHIME=01; 


Decimal: 13048844 (24Bit) Binary: 110001110001110000001100 Tri-State: 10F10F100010 PulseLength: 304 microseconds Protocol: 1
Raw data: 9436,928,296,928,304,308,908,312,908,312,908,932,292,924,304,920,308,304,916,308,916,304,916,928,300,928,296,928,296,316,908,312,908,312,908,316,908,312,908,312,908,928,296,928,300,312,908,312,912,

4th button (not used)

Code: Select all

DEBUG;Pulses=50;Pulses(uSec)=870,240,780,270,150,870,150,870,150,870,780,270,780,240,780,240,150,870,150,870,150,870,780,270,780,240,780,240,150,870,150,870,780,270,780,270,150,870,150,870,150,870,150,870,150,870,150,870,150,6990;
2017-11-08 13:34:01.756 RFLink: 20;2A;TriState;ID=049244;SWITCH=3;CMD=OFF; 


Decimal: 13049024 (24Bit) Binary: 110001110001110011000000 Tri-State: 10F10F101000 PulseLength: 304 microseconds Protocol: 1
Raw data: 9452,880,340,880,344,268,948,268,948,268,948,880,340,880,340,884,336,272,948,272,948,268,948,876,344,876,344,876,344,264,956,264,952,876,344,876,344,264,956,264,952,264,956,260,956,264,952,264,952,

Obviously, my home automation (Domoticz) detects 4 switch devices.
If I try to use it as blinds device, only the UP or DOWN command work.


In summary,

RFlink got the right packets in accordance with rc-swich, but does not render the right results. Protocol & ID must be the same for each action. Only the command & switch change.
RFfind feature runs only the ON & OFF command, STOP command should be ignored.

Bad translation by Rflink:

Code: Select all

DOWN cmd  110001110001110000110000 => 10F10F100100 => TriState;ID=049241;SWITCH=3;CMD=OFF;

UP cmd    110001110001110000000011 => 10F10F100001 => TriState;ID=049240;SWITCH=10;CMD=ON;

STOP cmd  110001110001110000001100 => 10F10F100010 => SelectPlus;ID=00e3f3;SWITCH=02;CMD=ON;CHIME=01; 

4th cmd   110001110001110011000000 => 10F10F101000 => TriState;ID=049244;SWITCH=3;CMD=OFF;
.... then home automation reports 4 uniques devices.


If you need more info, just let's me know !!

Please take this comment in consideration for a next release.

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests