galletn / iaqualink

Home Assistant Iaqualink Vacuums Robots
8 stars 1 forks source link

Unable to Complete Setup (Polaris VRX iQ+) #13

Closed GitHubGoody closed 1 month ago

GitHubGoody commented 5 months ago

I just purchased a Polaris VRX iQ+ (a supported model) and have it connected to my iAquaLink account*, but I cannot get it to complete the initial setup.

Here are the steps I've taken:

Any ideas for where to continue troubleshooting?

*I've confirmed the robot has a green light and I can control it via the iOS iAquaLink app (when on my LAN and off via cellular data), but for some reason, the iAquaLink Owner's Center Portal indicates that its offline.

image

ppastur commented 5 months ago

Hi, I've just checked mine and the API key still works. Can you provide a little more information about what is or is not happening in HA - for instance;

GitHubGoody commented 5 months ago

I searched the entire list for any mention of iAquaLink, robot, and vacuum. None of them are related to this integration.

I don't receive an error message under Notification at least. Is there somewhere else I should check?

ppastur commented 5 months ago

When you say you searched the list, I assume you mean you searched in Developer Tools>States? if so this is correct but you should be searching for the name you set up in the provided Setup config to your configuration.yaml. For example, if you gave the name "Sven" then you should be searching (or to be completely accurate filtering) for an entity with the name "Sven" in it like so:

image

For error messages look in the log. To find the log, click on Settings>System and then select log. There you can search for errors.

GitHubGoody commented 5 months ago

Thanks. Here's what I got:

image image

ppastur commented 5 months ago

Can you post the relevant part of your config.yaml please (and remember to redact your username & password if you are not using a secrets.yaml file). What would be interesting to know is if you wrapped your password in single quotes? i ask because I had a similar issue and due to the complexity of my passwords it was necessary to wrap them in single quotes - that fixed my issue

e.g. if your password is @S5Sd8e177.q6[k!00s and your username is my_username@somewhere.com and you want to call your pool robot aquaman

then the relevant section in your config.yaml should look similar to:

  - platform: iaqualinkRobots
    username: my_username@somewhere.com
    password: '@S5Sd8e177.q6[k!00s'
    api_key: whatevertheAPIKeyIs
    name: aquaman

Make sure your indentation is correct, check your configuration file by going to settings and clicking on the button 'Check Configuration'. If all good then restart HA and check your logs to see if the error reappears and then go back to Developer Tools>States to see if you can find aquaman.

galletn commented 5 months ago

Seems like your model is not returned (or at least not at the same place in the API)

Sorry for my inactivity for the past months, had some major setbacks in life to deal with.

I'll try to create a quick fix.

Anyhow during the winter I tried to revamp the code already in order to make some other fixes, but did not put it on github yet.

I'll release it and then you guys can test it too, it's been running for a few months here already so should be stable.

galletn commented 5 months ago

@GitHubGoody, afraid that I will need your credentials to be able to check what the API is returning for you.

Can you change your password for me to debug, and change it back once completed? Also don't put it here, let's get in touch privately in that case.

Alternatively I can give you my postman collection so that you can check yourself what the API returns?

Some API experience is mandatory in order to do that.

GitHubGoody commented 5 months ago

I changed my password. I don't think GitHub has PM capability, so I sent you a message on the HA Community site. @galletn Will that work for you?

GitHubGoody commented 3 months ago

I just updated to the latest version of this integration and I'm now able to see a single sensor (sensor.iaqualinkrobots_aquaman), so I know it's talking to my iAquaLink account (@ppastur single or no quotes on the passsword both worked to get this far).

Aquaman

However, by comparing this to the screenshot I posted above from the iAquaLink Owner's Center, I may have found the issue. Since I also have an iAquaLink automation control system, it appears it's trying to pull that in (see the serial_number and robot_name attributes) instead of the Robot. This is despite me using the correct name of my robot "Aquaman" in the configuration.

GitHubGoody commented 2 months ago

@galletn I don't know if you saw my latest update. Any ideas? Thank you.

galletn commented 1 month ago

Also check your PM's but it seems to be fixed!