ice987987/ioBroker.husqvarna-automower

Connection Problem

HelloFriend001 opened this issue · 10 comments

The problem

I still get the error message:

husqvarna-automower.0 | 2022-06-12 10:02:40.101 | error | Error: "Automower Connect API" not reachable. (ERR_#004)
husqvarna-automower.0 | 2022-06-12 10:02:39.847 | info | starting adapter "husqvarna-automower"...
husqvarna-automower.0 | 2022-06-12 10:02:39.809 | info | starting. Version 0.1.0 (non-npm: ice987987/ioBroker.husqvarna-automower#69f868487c91c4757aadb309e50ec28c5f7b0e98) in /opt/iobroker/node_modules/iobroker.husqvarna-automower, node: v14.19.3, js-controller: 4.0.23

I have set up the husqvarna account several times. I doesn't help.
Besides, the link in the README "Please make sure that you have created an account, password and API-Key according to these instructions. "Old" logins will not work."
is not working.

Version of nodejs

14.19.3

Version of ioBroker js-controller

4.0.23

Version of Adapter

0.1.0

Operating system incl. version running ioBroker

Linux

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode and check that there are no personal information)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

husqvarna-automower.0 2022-06-12 10:02:40.101 error Error: "Automower Connect API" not reachable. (ERR_#004)
husqvarna-automower.0 2022-06-12 10:02:39.847 info starting adapter "husqvarna-automower"...
husqvarna-automower.0 2022-06-12 10:02:39.809 info starting. Version 0.1.0 (non-npm: ice987987/ioBroker.husqvarna-automower#69f868487c91c4757aadb309e50ec28c5f7b0e98) in /opt/iobroker/node_modules/iobroker.husqvarna-automower, node: v14.19.3, js-controller: 4.0.23

Husqvarna changed their homepage a few days ago, therefore one link was no longer active, which is now fixed.

ERR_#004 means, that the adapter is not able to connect to husqvarna with your generated KEY, PASSWORD and USERNAME, which is the first task in the programm. If you put the adapter in "debug mode" your credentials are visible in the log. Are they correct?

if you still get an error: please delete the application on the husqvarna homepage, wait a few hours and try again.

did you connect an application to your api?

did you connect the husqvarna application to your api?

I am not sure what you mean!?
I connected my Husqvarna Automower to my Husquarna account and can stear it from my apps in IOS and/or Android. So the connection to my account works.

It looks like husqvarna did not only change the homepage. There might also be changes in the login procedure.

Do you want to login to the first time now or did you already had a connection with this adapter?

Same problem here..
First time installation of the adapter, installation requirements are fullfilled, credentials are correct, in the Husqvarna Developer Portal my application ist connected to the new API but: Error: "Automower Connect API" not reachable. (ERR_#004)

It looks like husqvarna did not only change the homepage. There might also be changes in the login procedure.

Do you want to login to the first time now or did you already had a connection with this adapter?

With this adapter I want to log in for the first time.

there is a new beta version available with the "new login-procedure" from husqvarna. If you want, you could try it with the following link:
https://github.com/ice987987/ioBroker.husqvarna-automower/tree/development

(under NPM6, the installation takes a while, due to the NPM6-Bug)

there is a new beta version available with the "new login-procedure" from husqvarna. If you want, you could try it with the following link: https://github.com/ice987987/ioBroker.husqvarna-automower/tree/development

(under NPM6, the installation takes a while, due to the NPM6-Bug)

Thanks @ice987987
Top Job - it's working !!!
Connected now to API and Mower.

@TomBo1969
What is your experience with the updated adapter?

@ice987987 It works!!
Thanks a lot!