flz / iaqualink-py

Asynchronous library for Jandy iAqualink
BSD 3-Clause "New" or "Revised" License
30 stars 19 forks source link

Pool controller Jandy IQPUMP01 support. #36

Open aruiz760 opened 1 year ago

aruiz760 commented 1 year ago

Hello, I hope I'm putting this in the correct location. The Jandy IQPUMP01 shows up in the Iaqualink app but not on the integration. Here is a log output:

_Logger: homeassistant.components.iaqualink Source: components/iaqualink/init.py:98 Integration: Jandy iAqualink (documentation, issues) First occurred: 12:28:20 AM (8 occurrences) Last logged: 1:28:00 PM

No systems detected or supported_

Would appreciate any help. Thanks.

Joacbe commented 1 year ago

IQPUMP seems a bit special and is not supported out of the box by the module apparently (at least I was taking a look at the Home Assistant integration).

I don't have the skills to modify anything of the existing but I've been able to identify the various API URLs to be called to perform the basic operations and validate them all on my pupm.

I'll be more than happy to share if anybody has the skills and is willing to add the IQPUMP01 support.

aruiz760 commented 11 months ago

Thanks.

robertw commented 5 months ago

IQPUMP seems a bit special and is not supported out of the box by the module apparently (at least I was taking a look at the Home Assistant integration).

I don't have the skills to modify anything of the existing but I've been able to identify the various API URLs to be called to perform the basic operations and validate them all on my pupm.

I'll be more than happy to share if anybody has the skills and is willing to add the IQPUMP01 support.

If you have the api calls and willing to share that would be a big help thnak you

Joacbe commented 5 months ago

I can share my Postman project where all the details are aggregated. ZodiacIQPump.postman_collection.json

I have 8 variables defined:

image

Below variables values are coming from your Jandy/iAqualink account:

And identified 10 different API calls

Those are allowing to perform all the most important operations over the pump: image

Dealing with pump override/forced activation start / stop

Setting back pump in scheduled operating mode

Dealing with pump schedules: reading/writing

Last but not least, this is how to interprete the values returned when dealing with the schedules:

Notes, schedules are all separated by a | and stored on a single line

robertw commented 5 months ago

Many thanks i am not a great coder but will try to make it work with home Assistant.......