https://www.youtube.com/watch?v=QuFzDcIiDxQ this is how relay learns codes.
However I don't have remote and want to control it using Pi. I've tried sending various codes using 433Utils with no luck.
Clicking learn button 8 times seem to correctly clear codes, at least LED flashing indicates it. But after this LED is flashing with any code I send to it and to my understanding it should ignore everything after code wipe.
Either I'm doing something completely wrong or receiver might be broken. Hopefully someone has dealt with these and gonna know how to troubleshoot it.
Process (click = single press of code learning button on relay):
- 8 clicks to clear codes
- LED flashes to indicate codes cleared
- 2 clicks to enter toggle learning mode (after each click LED blinks once)
- LED turns solid and waits for RF signal to learn
11111using 433Utils (signal is definitely sent, tested by listening with pilight)
- LED flashes and turns off
Expected: learning is complete, sending
11111 should blink LED once and toggle relay, sending other codes should do nothing
Outcome: sending any code including
11111 is making LED flash and not toggling relay