Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty device list #15

Open
emann3 opened this issue Mar 28, 2022 · 5 comments
Open

Empty device list #15

emann3 opened this issue Mar 28, 2022 · 5 comments

Comments

@emann3
Copy link

emann3 commented Mar 28, 2022

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

@TheLastFrame
Copy link

TheLastFrame commented Mar 28, 2022

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.

@emann3
Copy link
Author

emann3 commented Mar 28, 2022

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?

@TheLastFrame
Copy link

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.

@funkybunch
Copy link

I think a lot of us are experiencing this issue right now. Seems Shark has changed something with the API responses on their end? home-assistant/core#68624

@funkybunch
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants