Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4477

Automation, sensing and robotics • send rf events 433mhz not working

$
0
0
Hi,
I follow these tutorial (https://mary.codes/blog/home_automation ... pberry_pi/) to try to send commands to manage my fan.
I've bought receiver and transmitter and I set up the devices like the image

Image
I'm trying with rfsniffer but don't works:

Code:

rfsniffer record officefan.button1Press officefan.button1Recorded 755824 bit transitionsrfsniffer play officefan.button1

Nothing happens.

With Receive.py I see logs but I'm not sure that come from fan remote control, because it don't show me the log immediately when I push button. Nevertheless I'm trying to send the codes with send.py and not working

Code:

pi@raspberrypi:~ $ ./receive.py2024-05-13 22:03:16 - [INFO] receive: Listening for codes on GPIO 272024-05-13 22:03:58 - [INFO] receive: 64 [pulselength 581, protocol 5]2024-05-13 22:04:01 - [INFO] receive: 512 [pulselength 445, protocol 1]2024-05-13 22:04:06 - [INFO] receive: 64 [pulselength 85, protocol 3]2024-05-13 22:04:29 - [INFO] receive: 1 [pulselength 537, protocol 5]2024-05-13 22:04:45 - [INFO] receive: 32768 [pulselength 469, protocol 5]2024-05-13 22:04:58 - [INFO] receive: 16384 [pulselength 326, protocol 1]2024-05-13 22:05:01 - [INFO] receive: 256 [pulselength 1337, protocol 2]2024-05-13 22:05:01 - [INFO] receive: 4 [pulselength 1182, protocol 4]2024-05-13 22:05:10 - [INFO] receive: 2621440 [pulselength 1340, protocol 2]2024-05-13 22:05:13 - [INFO] receive: 32 [pulselength 608, protocol 5]2024-05-13 22:05:24 - [INFO] receive: 8 [pulselength 669, protocol 2]2024-05-13 22:06:01 - [INFO] receive: 66 [pulselength 1878, protocol 5]2024-05-13 22:06:07 - [INFO] receive: 8 [pulselength 2210, protocol 4]2024-05-13 22:06:07 - [INFO] receive: 1 [pulselength 651, protocol 5]2024-05-13 22:06:07 - [INFO] receive: 4 [pulselength 1723, protocol 4]2024-05-13 22:06:08 - [INFO] receive: 128 [pulselength 135, protocol 3]2024-05-13 22:06:09 - [INFO] receive: 256 [pulselength 551, protocol 2]

Code:

pi@raspberrypi:~ $ ./send.py -p 581 -t 5 642024-05-13 22:09:07 - [INFO] send: 64 [protocol: 5, pulselength: 581]pi@raspberrypi:~ $ ./send.py -p 445 -t 1 5122024-05-13 22:09:25 - [INFO] send: 512 [protocol: 1, pulselength: 445]pi@raspberrypi:~ $ ./send.py -p 85 -t 3 642024-05-13 22:09:42 - [INFO] send: 64 [protocol: 3, pulselength: 85]pi@raspberrypi:~ $ ./send.py -p 469 -t 5 327682024-05-13 22:10:14 - [INFO] send: 32768 [protocol: 5, pulselength: 469]pi@raspberrypi:~ $
Any help please? Thanks

Statistics: Posted by davidtuti — Mon May 13, 2024 8:13 pm — Replies 0 — Views 22



Viewing all articles
Browse latest Browse all 4477

Trending Articles