RF switch sending wrong code

Using BRUH Automation’s video, I set up outlets successfully. Walking through target tonight, picked up a Westinghouse rf stake, figuring since it used 433mhz like the other switches, great!

Used the same process to sniff out the codes sent, got:
2016-12-20 03:46:41 - [INFO] rfrx: 2944991543 [pulselength 405, protocol 1]
2016-12-20 03:46:45 - [INFO] rfrx: 2944991511 [pulselength 405, protocol 1]

My switch config looks identical to my working switches:
christmas_lights:
protocol: 1
pulselength: 405
code_on: 2944991543
code_off: 2944991511

Restarted HA, flip the button and nothing happens. Sniff the remote again, same codes. So I left it running, hit the switch in HA, and received different codes than what is in my config:
2016-12-20 03:55:01 - [INFO] rfrx: 11503873 [pulselength 409, protocol 1]
2016-12-20 03:55:01 - [INFO] rfrx: 11503873 [pulselength 408, protocol 1]
2016-12-20 03:55:02 - [INFO] rfrx: 11503873 [pulselength 408, protocol 1]
2016-12-20 03:55:02 - [INFO] rfrx: 11503873 [pulselength 408, protocol 1]
2016-12-20 03:55:07 - [INFO] rfrx: 11503873 [pulselength 408, protocol 1]
2016-12-20 03:55:07 - [INFO] rfrx: 11503873 [pulselength 409, protocol 1]
2016-12-20 03:55:07 - [INFO] rfrx: 11503873 [pulselength 408, protocol 1]
2016-12-20 03:55:07 - [INFO] rfrx: 11503873 [pulselength 409, protocol 1]

I’m a graphic designer, not a programmer, so I’m kind of stuck. Still loving everything else about HA! Thanks in advance!

Do you use a rfxtrx? If so the hardware type might not be activated or supported.

No rfxtrx. Using rpi_rf to just turn on and off devices while I learn HA and decide on other devices.

I tried the same and always failed to get something working. Now that I have bought a rfxtrx I am happy as can be :slight_smile:

I’ve got 5 outlets working. Just confused because the numbers I entered in the config for this new one aren’t what seems to be sent. Oh well, awaiting a bunch of zwave stuff to start playing with.

I’ve had hits and misses on the hardware part. I have a total of 11 Etekcity outlets and only 7 work 95% of the time. They are all configured identically but for WHATEVER reason, they just don’t work. :frowning:

strange, do you have a good receiver ? like a Super-heterodyne??

I have the Rio-Rand Super-heterodyne. My Christmas decorations have come down, so getting that hardware to work has been put on the back burner. I’ll probably replace it with a z-wave device next year anyway…

@sbeitz if you have a arduino or a nodemcu, please test this:

after come back, and say the results!

1 Like

Hi all, I’m having the same issue as the original poster.

The transmitter doesn’t seem to be sending the code I have added to the configuration either, is this normal behaviour?

I’m using a raspberry pi and also followed Ben’s video to set it all up.

Any help would be greatly appreciated, thank you

Joe