diff -r 308f6a436779 -r c92651a54969 www-thermferm/utilities.php --- a/www-thermferm/utilities.php Thu May 14 22:03:35 2015 +0200 +++ b/www-thermferm/utilities.php Sat May 16 17:39:30 2015 +0200 @@ -1,6 +1,6 @@ * @@ -49,7 +49,7 @@ if ($sock == false) { return ""; } - socket_write($sock, $command, 4096); + socket_write($sock, $command . "\r\n", 4096); $answer = ""; while (1) { @@ -78,8 +78,8 @@ } foreach($command as $cmd) { - socket_write($sock, $cmd, 4096); - usleep(20000); /* Give server time to recognize lines */ + socket_write($sock, $cmd . "\r\n", 4096); +// usleep(20000); /* Give server time to recognize lines */ } $answer = "";