HI,
I got a mater bricket and a Remote Switch Bricklet to control Intertechno ITL-210 Dimmer (flush-mounted) B, from windows everything works fine when using
Brick Viewer
i installed the service on beagle bone black and from the logs i can see that the master brick was detected when connected to the USB.
i tried using perl exemple to turn on and off the lights but with no success
i'm not sure if i'm configuring it the right way.
using example_switch_socket.pl
on the constant UID do i put the master bricket or Remote Switch Bricklet ID?
and i'm not 100% sure on the order of switch_socket(XXX, YYY,$rs->SWITCH_TO_ON);
is the XXX the address from Brick Viewer and YYY is the Unit?
when i run ./example_switch_socket.pl
root@beaglebone:~/perl/scripts/bricklet/remote_switch# ./example_switch_socket.pl
Character in 'C' format wrapped in pack at /root/perl/plugin/Tinkerforge/Device.pm line 147.
Press any key to exit...
and the log file
2014-07-25 14:02:47.500698 <I> <other|main_linux.c:399> Brick Daemon 2.1.0 started (daemonized)
2014-07-25 14:02:47.766618 <I> <usb|usb.c:144> Added USB device (bus: 1, device: 2) at index 0: Master Brick [6JLxVA]
2014-07-25 14:03:53.043673 <I> <network|network.c:105> Added new client (S: 16, T: plain, P: 127.0.0.1, A: disabled)
2014-07-25 14:03:56.122124 <I> <network|client.c:242> Client (S: 16, T: plain, P: 127.0.0.1, A: disabled) disconnected by peer
2014-07-25 14:18:29.056831 <I> <usb|usb.c:313> Removing USB device (bus: 1, device: 2) at index 0: Master Brick [6JLxVA]
2014-07-25 14:18:29.662647 <I> <usb|usb.c:144> Added USB device (bus: 1, device: 3) at index 0: Master Brick [6JLxVA]
2014-07-25 14:18:41.221222 <I> <network|network.c:105> Added new client (S: 16, T: plain, P: 127.0.0.1, A: disabled)
2014-07-25 14:18:42.269642 <I> <network|client.c:242> Client (S: 16, T: plain, P: 127.0.0.1, A: disabled) disconnected by peer
2014-07-25 14:19:41.478672 <I> <network|network.c:105> Added new client (S: 16, T: plain, P: 127.0.0.1, A: disabled)
2014-07-25 14:19:42.479255 <I> <network|client.c:242> Client (S: 16, T: plain, P: 127.0.0.1, A: disabled) disconnected by peer
Br,
Vuko