sharkiq
sharkiq copied to clipboard
Empty device list
Just starting to try to use this api - thanks, this should be great to get to schedule rooms instead of just scheduling everything. (can't get scheduling to do individual rooms over Google Assistant or Amazon Alexa)
I can get the ayla_api, and I can sign_in.
But when I call get_devices, it comes back with an empty list.
I do have one Shark IQ vacuum in my account.
any ideas why the api would be reporting no devices or how I can troubleshoot?
Thanks
Hi @emann3 , could it be that you are Europe based? The devices in Europe use a different server. I implemented this in my PR, so if you're Europe based, you should try that code.
And for individual room cleaning please refer to this PR, and if you're Europe based, you would have to merge the two branches on your own, but there shouldn't be any complicated conflicts.
thanks for the quick response.
I am in the US, not Europe.
Do I need the individual room cleaning pr to get the list of rooms?
You're welcome. And yes, I'd suggest you use that PR, because it makes it way easier to use the API for individual room cleanings. Otherwise, you would kind of have to write the same code on your own.
I think a lot of us are experiencing this issue right now. Seems Shark has changed something with the API responses on their end? https://github.com/home-assistant/core/issues/68624
@emann3 Can you try this fork? This repo seems to be stale. https://github.com/JeffResc/sharkiq/