tomrosenback / botvac

PHP library for Neato Botvac
GNU General Public License v2.0
38 stars 21 forks source link

Unable to retrieve secret and serial #9

Closed variamus closed 5 years ago

variamus commented 5 years ago

Hello,

I've used your client example to retrieve my secret and serial of a Botvac D3 but I'm unable to do so. I'm connecting well and getting all the metadata of my robot including planning but it won't show the secret and serial. It seems like the getRobots function doesn't work. Here is an echo of $result: PHP Notice: Array to string conversion in /var/www/html/plugins/botvac/examples/client.php on line 24 Result: Array
Array``

Have you an idea ?

Edit: I was able to retrieve secret and serial.