sui77 / rc-switch

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

Etekcity Outlets, sending/learning new custom code #154

Open jlarocheva opened 7 years ago

jlarocheva commented 7 years ago

Hi,

I bought a bunch of the Etekcity 433mhz outlets. I sniffed the codes, and have successfully controlled these outlets via RCSwitch/Arduino/433mhz transmitter.

I am trying to make the outlet learn a new code. I can use the remote that came with it to change the code but it will not learn a code sent out every 20-50ms (I tried 21...22...23...24...25 all the way to 50). The outlet is not learning the new code. I sent out a six digit code at 180 and 190 for the pulse width.

Has anyone managed to set a custom code on one of these outlets with RCSwitch?

Thanks

timleland commented 6 years ago

Check out this article https://hackaday.io/project/4298-autoflower/log/14215-reverse-reverse

williams6946 commented 6 years ago

This is an old post but if you are still trying to make arduino work with Etekcity using rcswitch I may have a solution. I had similar problem. Unplug the Etekcity outlet from the wall. Hold the button while plugging it back in. Then release the button. This will erase the old code so you can program a new one. Hope this helps you