ajmarks / sharkiq

Python API for Shark IQ robot
29 stars 12 forks source link

More shark ion products? #1

Open mccartyb03 opened 4 years ago

mccartyb03 commented 4 years ago

Just wondering if you plan on expanding support for more shark ion robots? I have the older RV750 and your integration partially works. I see a status and vacuum name but not much else and none of the commands work. If you have no plans to expand then disregard, but I'd be willing to provide more data if so.

Thanks

ajmarks commented 4 years ago

I'd love that. I just don't have any other products, so it's a bit of a challenge. For starters, could you run the following snippet and share both outputs?

from pprint import pprint
from sharkiqpy import get_ayla_api

ayla_api = get_ayla_api(USERNAME, PASSWORD)
ayla_api.sign_in()
shark_vacs = ayla_api.get_devices()
shark = shark_vacs[0]
shark.update()
pprint(dict(shark.property_values))
pprint(dict(shark.properties_full))
mccartyb03 commented 4 years ago

Edit: Got it working, typo on my part. Output attached.

Thanks! sharqRV720Output.txt

ajmarks commented 4 years ago

Interesting. It looks like your vacuum uses a different set of API properties to control it. Let me look through this more carefully and try to think up a good path forward. It would be really cool if we could expand what the library supports, thanks.