Zitat von jef2000
Beitrag anzeigen
I'm using both of your scripts throughout the application and it works fine.
One minor modification, I've repackaged your code to make it a function to make it re-usable, but don't think it would alter the behaviour, unless I've to cast the return code to a single byte ?
I use it this way
Code:
$status = GroupRead("127.0.0.1",$ga2);
echo "<!-- Status= ".$status. "-->";
Code:
$con->EIBClose(); return $return; // return the EIB status, 0=Off, 1=On, xx-dimmer value } ?>



If it's Debian, I could provide these but it won't make things much better..
Einen Kommentar schreiben: