Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Translation of RCSwitch from Arduino to RPi #18

Open
Pacit0 opened this issue Sep 30, 2015 · 2 comments
Open

Translation of RCSwitch from Arduino to RPi #18

Pacit0 opened this issue Sep 30, 2015 · 2 comments

Comments

@Pacit0
Copy link

Pacit0 commented Sep 30, 2015

Hi,

I am using an Arduino to control my lights at home using RCSwitch. I would like know use a Raspberry Pi and I fand this library. I try several times but I didn't find an issue...
For Arduino I use:

Serial.println("Turn ON RCSwitch");
mySwitch.send(1394005,24);
Serial.println("Turn OFF RCSwitch");
mySwitch.send(1394004,24);

I tried:

sudo ./send 1394005 24 1
sudo ./send 1394004 24 0

It doesn't work... Do you have any idea?
Thanks
P0uet

@rogerulrich
Copy link

hi.

i've used codesend from 433utils/rpi_utils. there you could send just one code to switch on and one to switch off.
if you dont know the right code, use receive program to read the correct one.

@Pacit0
Copy link
Author

Pacit0 commented Sep 30, 2015

Hi

You are right!!!!!! I use 433utils/rpi_utils RFSniffer and code send and it works fine!!

Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants