Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pairing sockets without "Standard-DIP-Switches" #4

Open
dbrenk opened this issue Sep 10, 2014 · 0 comments
Open

Pairing sockets without "Standard-DIP-Switches" #4

dbrenk opened this issue Sep 10, 2014 · 0 comments

Comments

@dbrenk
Copy link

dbrenk commented Sep 10, 2014

Hi there,
I got a Problem getting the scripts to work, maybe someone can point me to a solution:
I used the "RCSwitch" library with an Arduino in the past, now i wanted to connect the sockets with my RPi. In my old Arduino script I called the function as follows: switchOn(4, 2) which worked. Now I am calling: sudo ./send 4 2 1 which seems not to work. It seems the send.cpp script only sends a Signal if one calls it with something like: sudo ./send 00001 2 1

Now I don´t know how to get to the binary representation of the systemcode which in my case is 4 indicated by a Rotary Switch on the socket.
Actually there are 2 Rotary Switches on the socket, first indicating "IV" == 4, second indicating "2"

Does anyone know what the correct Parameter for "send" would be in this case?

I would be very happy if someone could give me a hint.
Thanks,
dbrenk

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

No branches or pull requests

1 participant