Hi there
As like many before me, I'm trying to "smart up" my house and I've decided to start with a smart light switch. I purchased the below light switch https://hartingtonheath.com/products/i-lumos-luxury-white-crystal-glass-touch-wifi-remote-dimmer-led-light-switches/ which comes with this RF 433Mhz remote https://hartingtonheath.com/products/spare-4-button-remote-control-for-i-lumos-remote-controlled-touch-switches
Eager to try and replace the remote with an arduino and RF433Mhz transmitter/receiver I started trying to sniff the signals using the rc-switch library, as I had done successfully for my energenie UK plug sockets (one like this https://www.amazon.co.uk/d/Home-Kitchen/Energenie-Trailing-Controlled-Protected-Sockets/B003JT088S/ref=sr_1_2?s=electronics&ie=UTF8&qid=1545302360&sr=1-2&keywords=energenie ) a few weeks earlier.
The rc-switch GitHub - sui77/rc-switch: Arduino lib to operate 433/315Mhz devices like power outlet sockets. library was not capturing any details and I soon realised I was not alone. After trawling through dozens of forums and trying other libraries like the Martin Laclaustra (GitHub - Martin-Laclaustra/rc-switch: Arduino lib to operate 433/315Mhz devices like power outlet sockets.), Radiohead, Livolo as per lots of useful tips in this post
Control Livolo switches / Livolo switch library - Home Automation - Arduino Forum (as this light switch looks identical to mine!), Remote Sensor, Remote Switch, RFReceiver - none of them worked.
I then stumbled on the forum which suggested this read Interface with Remote Power Sockets – Final Version « RAYSHOBBY.NET to record the signals in an audio program like Audacity. It's a great read and this is where I've had some success but now I'm stuck decoding the RF signals. I did the same exercise for the energenie plug sockets, for which I already knew the binary codes, and the decoded signals in Audacity were a match, but I'm struggling with this light switch remote. I can definitely see a pattern repeated over 40 times however I think there must be another signal before it that I'm missing, perhaps the "pairing" signal so the light switch knows it's the paired remote?
The code I've managed to get so far from this is 110111010111100111110100, but sending that in rc-switch mySwitch.send("110111010111100111110100") does nothing and I've tried random setPulseLength() and setProtocol() values.
I believe my wiring of my RF receiver is OK because as I say I can successfully use rc-switch to control my Energenie plug socket via RF 433Mhz. I'd be grateful if anyone could help either by recommending another way I could sniff unknown RF signals, or perhaps help me decode the RF signal in Audacity into a binary code that I can then send using rc-switch.
Attached are a few images of how I came to the above binary code from reviewing the signal in audacity, as well as the WAV file itself.
Any advice would be appreciated.
Thank you
Phil
RemoteButtonD_v2.zip (169 KB)