-
Notifications
You must be signed in to change notification settings - Fork 20
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
i2d is not a supported system type. #18
Comments
As the message says, that's expected. The API isn't documented and I don't have access to one of those. Depending on your technical abilities, you might be able to reverse engineer it by setting up a proxy (e.g. mitmproxy, CharlesProxy) and intercepting requests coming from the mobile app. I can also offer to do it for you if you give me access to it. Either way, I won't have time to add support in the near future. The free time I have is spent getting the current codebase into shape and making it easier for people to contribute to. |
Thanks! I've installed mitmproxy and configured it. I've captured a
series of different GET/POST lines. I'll see what I can do to decipher it.
…On Fri, Feb 4, 2022 at 1:19 PM Florent Thoumie ***@***.***> wrote:
As the message says, that's expected. The API isn't documented and I don't
have access to one of those.
Depending on your technical abilities, you might be able to reverse
engineer it by setting up a proxy (e.g. mitmproxy, CharlesProxy) and
intercepting requests coming from the mobile app. I can also offer to do it
for you if you give me access to it.
Either way, I won't have time to add support in the near future. The free
time I have is spent getting the current codebase into shape and making it
easier for people to contribute to.
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKYKR5T66LXMZWB5HNRY323UZQKCXANCNFSM5NSNGXYQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
That's awesome. I've got a bunch of work in progress to make adding new systems easier but documenting the API in the first place is the hardest part. |
Hi, has any progress been made on this? I just tried to add one of these to home assistant and running into this issue - I'd be happy to help where I can but I don't speak much Python |
Example logic call and results
pi@raspberrypi:~ $ cat aqua.py
#!/usr/bin/python
import iaqualink
from iaqualink.client import AqualinkClient
import asyncio
async def main():
async with AqualinkClient('[email protected]', 'password') as c:
print(c)
s = await c.get_systems()
print(s)
d = await list(s.values())[0].get_devices()
print(d)
if name=="main":
asyncio.run(main())
pi@raspberrypi:~ $ python aqua.py
<iaqualink.client.AqualinkClient object at 0xb5cfb370>
i2d is not a supported system type.
{}
Traceback (most recent call last):
File "/home/pi/aqua.py", line 16, in
asyncio.run(main())
File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/pi/aqua.py", line 12, in main
d = await list(s.values())[0].get_devices()
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: