Thanks for this great API!
Default commands like Start, Stop, Dock are now working great in my home automation Domoticz. Now I would like to go a little deeper and download de latest Map but I think something is wrong. I have a Botvac D5.
When running this command:
from pybotvac import Account
for robot in Account('[email protected]', 'sample_password').robots:
print(robot)
I get this reply:
Name: , Serial: -****, Secret: *****************************
Traits: Brutus Bot
When running this command:
from pybotvac import Account
for map_info in Account('[email protected]', 'sample_password').maps:
print(map_info)
I only get the serial number of the D5 in return.
So I can't get the "download_link" URL for the following command:
from pybotvac import Account
map = Account('[email protected]', 'sample_password').maps
download_link = map['robot_serial']['maps'][0]['url']
Account('[email protected]', 'sample_password').get_map_image('download_link')
Any Ideas?
Greetings.
Thanks for this great API!
Default commands like Start, Stop, Dock are now working great in my home automation Domoticz. Now I would like to go a little deeper and download de latest Map but I think something is wrong. I have a Botvac D5.
When running this command:
from pybotvac import Account
for robot in Account('[email protected]', 'sample_password').robots:
print(robot)
I get this reply:
Name: , Serial: -****, Secret: *****************************
Traits: Brutus Bot
When running this command:
from pybotvac import Account
for map_info in Account('[email protected]', 'sample_password').maps:
print(map_info)
I only get the serial number of the D5 in return.
So I can't get the "download_link" URL for the following command:
from pybotvac import Account
map = Account('[email protected]', 'sample_password').maps
download_link = map['robot_serial']['maps'][0]['url']
Account('[email protected]', 'sample_password').get_map_image('download_link')
Any Ideas?
Greetings.