sui77 / rc-switch

Arduino lib to operate 433/315Mhz devices like power outlet sockets.
1.9k stars 658 forks source link

Decode Remote of Merchsource, LLC 1520024 #371

Open wiltwong opened 3 years ago

wiltwong commented 3 years ago

Having issues decoding the remote signals from a cheap wireless light switch (one remote with 4 LED puck lights) https://apps.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=H04u2OQjHXFhLGvCdjbSJg%3D%3D&fcc_id=2AEVM-1520024

The transmitter is a SYN115/F115 attached to an unlabled 8 Pin SOIC, the recievers are a RF83C attached to an unlabled 8 Pin SOIC that controls 3 white LEDs thru a mosfet.

The pulses are between 1010 and 1045 ms long and the sequence looks like:

On:  ----____-___-___---_-___ (111100001000100011101000 = sync sequence+1101)
Off: ----____-___---_-___-___ (111100001000111010001000 = sync sequence+1011)

The pulses are transmitted as long as the remote button is pressed and there is no rest period between the commands. In according to the rc-swtich documents, I belive the the protocol should look like:

{ 1010, { 4,  4 }, {  1,  3 }, {  3,  1 }, false }

But that doesn't seem to work, is there something abnout the long length of the pulses or something about the lack of a quiet period between the transmissions that prevent rc-switch from recognizing the protocol?

I am able to decode the protocol by implementing my own "look for 2 transition timings of 4000ms, then get the next 8 transition timings to get the code"