Hi,
wollte Fragen ob hierzu jemand inzwischen was rausgefunden hat?
Ich setze momentan noch einen GC-100 von Globalcache ein und werde demnächst auf IPS umstellen.
Da stelle ich mir natürlich die Frage, ob ich mein altes Gerät weiter verwenden kann?
Für alle die so wie ich auch auf diesen Thread stoßen und wenig PHP und Symcon skills besitzen:
<?php
// iTach IP and port (4998 for IR)
$host="192.168.178.47";
$port = 4998;
/*
/ following line is command in GC format
*/
$message ="sendir,1:3,1,38000,1,1,10,53,16,47,48,16B,16,301CCBB,16,48BBBBCBDCCBEBBBBECEDCCEEEEBE,16,3700\r";
// open a client connection
$fp = fsockopen ($host, $port, $errno, $errstr);
if (!$fp){
$result = "Error: could not open socket connection";
}
else{
// write the user string to the socket
fputs ($fp, $message);
// get the result
$result = fgets ($fp, 1024);
// close the connection
fputs ($fp, "END");
fclose ($fp);
echo $result;
}
?>