jan Posted August 16, 2014 at 08:35 PM Posted August 16, 2014 at 08:35 PM Bei mir funktioniert das Ambientlight mit PHP nicht: Fatal error: Uncaught exception 'Tinkerforge\TimeoutException' with message 'Did not receive response in time for function ID 1' in /var/www/vhosts/domain.de/httpdocs/tinkerforge/tinker_include/IPConnection.php:384 Stack trace: #0 /var/www/vhosts/domain.de/httpdocs/tinkerforge/tinker_include/BrickletAmbientLight.php(199): Tinkerforge\Device->sendRequest(1, '') #1 /var/www/vhosts/domain.de/httpdocs/tinkerforge/test.php(78): Tinkerforge\BrickletAmbientLight->getIlluminance() #2 {main} thrown in /var/www/vhosts/domain.de/httpdocs/tinkerforge/tinker_include/IPConnection.php on line 384 Alles andere funktioniert. Eine andere Sprache habe ich nicht probiert, aber im BrickV werden die Werte korrekt angezeigt. Die neuesten Bindings sind aufgespielt. Danke für eure Hilfe. Quote
jan Posted August 17, 2014 at 07:44 AM Author Posted August 17, 2014 at 07:44 AM Mein Fehler, alles war richtig, nur die UID war mit "$" deklariert aber ohne "$" im "...= new..." angegeben. Jetzt passts :-) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.