jan Geschrieben August 16, 2014 at 20:35 Share Geschrieben August 16, 2014 at 20:35 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. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
borg Geschrieben August 16, 2014 at 22:08 Share Geschrieben August 16, 2014 at 22:08 Passt die UID? Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
jan Geschrieben August 17, 2014 at 07:44 Autor Share Geschrieben August 17, 2014 at 07:44 Mein Fehler, alles war richtig, nur die UID war mit "$" deklariert aber ohne "$" im "...= new..." angegeben. Jetzt passts :-) Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
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.