raspberry-remote icon indicating copy to clipboard operation
raspberry-remote copied to clipboard

starting daemon in binary mode dont work (more than 5

Open perlian opened this issue 7 years ago • 1 comments

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 :-(

perlian avatar May 14 '17 16:05 perlian

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

v1-valux avatar Jun 17 '17 17:06 v1-valux