HS2303-PT power switch

520 views
Skip to first unread message

George Wu

unread,
Jul 4, 2016, 12:35:00 AM7/4/16
to rtl_433

Hi,

Does rtl_433 support power switch remotes based on the HS2303-PT chip?


Thanks,
George

Benjamin Larsson

unread,
Jul 4, 2016, 3:40:00 PM7/4/16
to rtl...@googlegroups.com
Yes it should. Try the remote and see if you get any events.

MvH
Benjamin Larsson

George Wu

unread,
Jul 5, 2016, 10:22:37 PM7/5/16
to rtl_433

I tried using the remote to turn on and off the switch and everything works but no signal from the remote is detected by running "rtl_433 -a" or "rtl_433 -a -A".   The remote label says it's using 433.92Mhz.  Should I adjust some rtl_433 parameters?

George Wu

unread,
Jul 6, 2016, 1:19:17 AM7/6/16
to rtl_433


I tested the remote with rtlsdr-scanner and found it to be using 434.238Mhz!!!  That explains why rtl_433 detected no signal.  Luckily there is a second remote that came with the switches so I tried it an it was detected by rtl_433.   The switch seems to work fine with either remote.  I guess the 433Mhz receiver in the switch
 with the following output (data files attached):

>>> For ON button:

*** signal_start = 64311, signal_end = 196609
signal_len = 132298,  pulses = 300
Iteration 1. t: 152    min: 79 (156)    max: 225 (144)    delta 8
Iteration 2. t: 152    min: 79 (156)    max: 225 (144)    delta 0
Pulse coding: Short pulse length 79 - Long pulse length 225

Short distance: 70, long distance: 216, packet distance: 2386

p_limit: 152
bitbuffer:: Number of rows: 12
[00] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[01] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[02] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[03] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[04] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[05] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[06] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[07] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[08] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[09] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[10] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
[11] {25} f9 12 0f 00 : 11111001 00010010 00001111 0
Test mode file issued 3 packets


>>> For OFF button:

*** signal_start = 54750, signal_end = 196609
signal_len = 141859,  pulses = 325
Iteration 1. t: 152    min: 79 (182)    max: 225 (143)    delta 13
Iteration 2. t: 152    min: 79 (182)    max: 225 (143)    delta 0
Pulse coding: Short pulse length 79 - Long pulse length 225

Short distance: 70, long distance: 216, packet distance: 2386

p_limit: 152
bitbuffer:: Number of rows: 13
[00] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[01] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[02] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[03] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[04] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[05] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[06] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[07] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[08] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[09] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[10] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[11] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
[12] {25} f9 12 0e 00 : 11111001 00010010 00001110 0
Test mode file issued 3 packets


Looks like the first 2 bytes are address and command is in the 3rd byte?  rtl_433 recognized it as a generic temperature sensor but did not display proper decoding.  So, the question now is how to create a proper decoder?

Another question is there a way to specify a broader frequency detection range for rtl_433?
gfile001-ON.data
gfile002-OFF.data
Reply all
Reply to author
Forward
0 new messages