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``
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: ArrayArray``
Have you an idea ?
Edit: I was able to retrieve secret and serial.