Hello home assistant dev - rf

any idea how can i use raspberry pi RF rx & tx and how can i get code_on code_off

I think this will get you what you are looking for…

hello

i made every thing but i can’t get the the relay code

2017-06-08 23:53:52 - [INFO] rfrx: Listening for codes on GPIO 27
2017-06-08 23:53:52 - [INFO] rfrx: 240 [pulselength 99, protocol 3]
2017-06-08 23:53:56 - [INFO] rfrx: 16 [pulselength 1963, protocol 4]
2017-06-08 23:53:56 - [INFO] rfrx: 4 [pulselength 1083, protocol 2]
2017-06-08 23:53:58 - [INFO] rfrx: 6291458 [pulselength 102, protocol 3]
2017-06-08 23:53:58 - [INFO] rfrx: 1049600 [pulselength 106, protocol 3]
2017-06-08 23:53:59 - [INFO] rfrx: 8208 [pulselength 99, protocol 3]
2017-06-08 23:54:04 - [INFO] rfrx: 16 [pulselength 1048, protocol 4]
2017-06-08 23:54:09 - [INFO] rfrx: 8 [pulselength 894, protocol 2]
2017-06-08 23:54:11 - [INFO] rfrx: 16 [pulselength 1456, protocol 2]
2017-06-08 23:54:11 - [INFO] rfrx: 4194304 [pulselength 1394, protocol 1]
2017-06-08 23:54:11 - [INFO] rfrx: 8192 [pulselength 103, protocol 3]
2017-06-08 23:54:18 - [INFO] rfrx: 32768 [pulselength 792, protocol 2]
2017-06-08 23:54:25 - [INFO] rfrx: 16777216 [pulselength 278, protocol 1]
2017-06-08 23:54:25 - [INFO] rfrx: 1048576 [pulselength 318, protocol 1]
2017-06-08 23:54:35 - [INFO] rfrx: 1 [pulselength 1955, protocol 4]
2017-06-08 23:54:36 - [INFO] rfrx: 768 [pulselength 1436, protocol 4]
2017-06-08 23:54:37 - [INFO] rfrx: 97 [pulselength 109, protocol 3]
2017-06-08 23:54:37 - [INFO] rfrx: 2048 [pulselength 1338, protocol 4]
2017-06-08 23:54:38 - [INFO] rfrx: 2097152 [pulselength 90, protocol 3]
2017-06-08 23:54:48 - [INFO] rfrx: 32 [pulselength 1224, protocol 2]
2017-06-08 23:54:52 - [INFO] rfrx: 2097280 [pulselength 116, protocol 3]
2017-06-08 23:54:58 - [INFO] rfrx: 3294272 [pulselength 264, protocol 1]
2017-06-08 23:54:58 - [INFO] rfrx: 32 [pulselength 258, protocol 1]
2017-06-08 23:55:02 - [INFO] rfrx: 22 [pulselength 97, protocol 3]
2017-06-08 23:55:03 - [INFO] rfrx: 16 [pulselength 647, protocol 2]
2017-06-08 23:55:04 - [INFO] rfrx: 934032 [pulselength 82, protocol 3]
2017-06-08 23:55:04 - [INFO] rfrx: 4224 [pulselength 118, protocol 3]
2017-06-08 23:55:05 - [INFO] rfrx: 402653184 [pulselength 99, protocol 3]
2017-06-08 23:55:15 - [INFO] rfrx: 4 [pulselength 1961, protocol 1]
2017-06-08 23:55:17 - [INFO] rfrx: 9119778 [pulselength 88, protocol 3]
2017-06-08 23:55:17 - [INFO] rfrx: 128 [pulselength 1213, protocol 4]
2017-06-08 23:55:23 - [INFO] rfrx: 8389120 [pulselength 95, protocol 3]
2017-06-08 23:55:24 - [INFO] rfrx: 8486912 [pulselength 96, protocol 3]
2017-06-08 23:55:24 - [INFO] rfrx: 268451840 [pulselength 106, protocol 3]
2017-06-08 23:55:24 - [INFO] rfrx: 16777216 [pulselength 244, protocol 1]
2017-06-08 23:55:27 - [INFO] rfrx: 32 [pulselength 1032, protocol 4]
2017-06-08 23:55:37 - [INFO] rfrx: 45062 [pulselength 77, protocol 3]
2017-06-08 23:55:40 - [INFO] rfrx: 258 [pulselength 1617, protocol 2]
2017-06-08 23:55:41 - [INFO] rfrx: 262176 [pulselength 2045, protocol 4]
2017-06-08 23:55:43 - [INFO] rfrx: 32768 [pulselength 301, protocol 1]
2017-06-08 23:55:50 - [INFO] rfrx: 8388608 [pulselength 970, protocol 4]
2017-06-08 23:55:53 - [INFO] rfrx: 2 [pulselength 954, protocol 2]
2017-06-08 23:55:54 - [INFO] rfrx: 8 [pulselength 143, protocol 3]
2017-06-08 23:55:57 - [INFO] rfrx: 2048 [pulselength 301, protocol 1]
2017-06-08 23:56:10 - [INFO] rfrx: 4612 [pulselength 1059, protocol 2]
2017-06-08 23:56:10 - [INFO] rfrx: 2097216 [pulselength 91, protocol 3]
2017-06-08 23:56:15 - [INFO] rfrx: 262144 [pulselength 1741, protocol 4]
2017-06-08 23:56:16 - [INFO] rfrx: 4096 [pulselength 305, protocol 1]
2017-06-08 23:56:16 - [INFO] rfrx: 34604032 [pulselength 238, protocol 1]
2017-06-08 23:56:19 - [INFO] rfrx: 224 [pulselength 1607, protocol 4]
2017-06-08 23:56:19 - [INFO] rfrx: 1 [pulselength 1539, protocol 2]
2017-06-08 23:56:29 - [INFO] rfrx: 1280 [pulselength 773, protocol 5]
2017-06-08 23:56:30 - [INFO] rfrx: 64 [pulselength 786, protocol 2]
2017-06-08 23:56:36 - [INFO] rfrx: 4 [pulselength 275, protocol 1]
2017-06-08 23:56:37 - [INFO] rfrx: 1 [pulselength 254, protocol 1]
2017-06-08 23:56:44 - [INFO] rfrx: 8192 [pulselength 303, protocol 1]
2017-06-08 23:56:46 - [INFO] rfrx: 513 [pulselength 486, protocol 1]
2017-06-08 23:56:49 - [INFO] rfrx: 33554432 [pulselength 1675, protocol 5]
2017-06-08 23:56:50 - [INFO] rfrx: 32769 [pulselength 307, protocol 1]

any idea

are you getting the transmitter right next to the receiver when looking for the code? Some of the receivers are rather weak and you need to be inches away to read the code reliably.

I’ll turn off the transmission and try … Thx