In details:
The Serial server is included in V120, you need to configure it under the device menu like this:
http://www.letscontrolit.com/wiki/index.php/Ser2Net
then under linux, you can use netcat and pass the HEX string, assuming the ip address of the device is 192.168.0.10, port set to 23 :
to activate the relay:
Code: Select all
echo -ne '\xA1\x01\x01\xA2' | nc 192.168.0.10 23
Code: Select all
echo -ne '\xA1\x01\x00\xA1' | nc 192.168.0.10 23
Cheers & thanks again !