sharkiq icon indicating copy to clipboard operation
sharkiq copied to clipboard

Empty device list

Open emann3 opened this issue 2 years ago • 5 comments

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

emann3 avatar Mar 28 '22 19:03 emann3

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.

TheLastFrame avatar Mar 28 '22 19:03 TheLastFrame

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?

emann3 avatar Mar 28 '22 19:03 emann3

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.

TheLastFrame avatar Mar 28 '22 20:03 TheLastFrame

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

funkybunch avatar Mar 29 '22 05:03 funkybunch

@emann3 Can you try this fork? This repo seems to be stale. https://github.com/JeffResc/sharkiq/

funkybunch avatar Mar 30 '22 03:03 funkybunch