sui77 / rc-switch

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

Nexus 433 protocol #260

Open McGr3g0r opened 5 years ago

McGr3g0r commented 5 years ago

According to the data frame description in: https://github.com/aquaticus/nexus433

protocol definition shall be something like this: { 500, {0, 8 }, {1, 2}, {1, 4}, false }

My ASK/OOK receiver receives properly ev1527 codes from remotes. For the Nexus devices like Digoo I've recorded the bistream received by the ASK/OOK receiver and the frame looks like described in the Nexus Protocol section - data frame repeated multiple time with proper spacing between frames. The rcswitch does not report received data. I have tried multiple definition of protocol with pulse lengh variations.

Any ideas ?

McGr3g0r commented 5 years ago

Well it seems, that rcswitch does not handle well more than 32bits frames -the accumulated values was shifted way beyond 32bit and thus received value was 0. I was easly able to split received data to two 32bit long integers.