rc-switch
rc-switch copied to clipboard
Silvercrest switch with remote control (LIDL)
Dear All,
I'm trying for several days to control a SilverCrest switch using an ESP8266 a MX-FS-03V module and a MX-05V module to record the signals.
Each button gives me 3 differents signals (exemple button A ON) : Decimal: 16211228 (24Bit) Binary: 111101110101110100011100 Tri-State: 11F1FF1F0F10 PulseLength: 101 microseconds Protocol: 3 Raw data: 7216,960,576,956,580,952,580,952,1076,444,320,1208,320,1200,1088,444,324,1208,1080,448,316,1204,452,1080,444,320,1212,316,1208,1080,456,308,1212,316,1208,448,316,1212,1076,456,1072,456,1076,444,320,1216,312,444,1092,
Decimal: 15866204 (24Bit) Binary: 111100100001100101011100 Tri-State: not applicable PulseLength: 101 microseconds Protocol: 3 Raw data: 308,1220,1068,448,1080,452,316,1208,320,1216,1072,456,308,316,1216,316,2344,1080,452,1076,452,1076,448,1080,452,1076,456,464,304,1220,1068,456,1072,456,312,1220,1068,456,312,440,1088,952,584,948,592,432,1092,440,1088,
Decimal: 16737708 (24Bit) Binary: 111111110110010110101100 Tri-State: not applicable PulseLength: 101 microseconds Protocol: 3 Raw data: 312,1208,1080,464,304,1212,1212,1080,448,1080,452,312,1208,320,1212,320,2344,1080,452,1076,316,1204,324,1208,1080,444,324,1208,1080,448,316,1212,1080,452,1080,960,572,960,592,428,1092,948,588,948,576,444,1084,448,1096,
As the pulseLength is 101, I changed the RCSwitch.cpp file : { 350, { 1, 31 }, { 1, 3 }, { 3, 1 }, false }, // protocol 1 { 650, { 1, 10 }, { 1, 2 }, { 2, 1 }, false }, // protocol 2 { 101, { 30, 71 }, { 4, 11 }, { 9, 6 }, false }, // protocol 3 { 380, { 1, 6 }, { 1, 3 }, { 3, 1 }, false }, // protocol 4 { 500, { 6, 14 }, { 1, 2 }, { 2, 1 }, false }, // protocol 5 { 450, { 23, 1 }, { 1, 2 }, { 2, 1 }, true } // protocol 6 (HT6P20B)
I could reproduce the same signal (Binary, PulseLength, Protocol) checking an comparing it with the receiver module but it doesn't switch on my device.
Do you have any idea of how I can solve it or progress in my goal? I attach a record done with the arduino serial plotter (as I don't have an oscilloscope) just in case it could gives you an idea of the kind of signal.
Many thanks in advance for your help!