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

starting daemon in binary mode dont work (more than 5 #24

Open
perlian opened this issue May 14, 2017 · 1 comment
Open

starting daemon in binary mode dont work (more than 5 #24

perlian opened this issue May 14, 2017 · 1 comment

Comments

@perlian
Copy link

perlian commented May 14, 2017

hello,

i want to use more than 5 plugs with raspberry-remote
So i have to use the daemon binary mode

i start the daemon with: daemon -b

And set the plug dip switches binary like 10101 (21 decimal) but it dont work
config.php is changed like this settings

i`m using the brennenstuhl plugs
https://www.amazon.de/gp/product/B001AX8QUM/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

whats wrong ?
i have no idea :-(

@v1-valux
Copy link

v1-valux commented Jun 17, 2017

Hi, I'm using 6 Brennenstuhl (exactly the same plugs) without any problems with the daemon,
One group with 11111 and one group with 11110 GroupCode

my config looks like this:

array("1", "11110", "16", "Leinwand"), (Plug 11111 1)
array("1", "11110", "08", "Bad Licht"), (Plug 11110 2)
array("1", "11111", "08", "Schreibtisch"), (Plug 11111 2)
array("1", "11110", "04", "Kuechenzeile"), (Plug 11111 3)

The numbers 16, 08, 04 represent the last 5 dip switches
Binary from right to left:

10000 = 16 = plug 1
01000 = 08 = plug 2
00100 = 04 ....
00010 = 02 ....
00001 = 01

But it should be possible to use double dipped like this (not tested though):

00011 = 03 = plug x
00101 = 05 = plug y
00110 = 06 ..............

hope this helps

I guess with the binary mode of the daemon, you can send binary codes to switch the plugs, but not dip codes

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

2 participants