jpgorganizer / ioBroker.smartgarden

GARDENA smart system adapter for ioBroker
Other
21 stars 8 forks source link

LOG Error: request returned 403 Forbidden #48

Closed sekinooo closed 2 years ago

sekinooo commented 2 years ago

I have requested API key, and entered my username (email adress) and password to adapter, but I have Error: request returned 403 Forbidden in my log and Can't connect to device or service. Can you please explain what is the issue? I changed auth url to https://api.authentication.husqvarnagroup.dev/v1 and base url to https://api.smart.gardena.dev/v1 . Password is correct. i have no Secret key field as in your documentation, just user and password fields. Thank you!

Hamburger2022 commented 2 years ago

Do you use already version 2 of the Adapter? I installed it directly from github

sekinooo commented 2 years ago

I installed version directly from iobroker v 1.0.6 I will try install from github.

Hamburger2022 commented 2 years ago

You have to go to menu: Adapter Look for the github cat symbol (perhaps you have to activate expert mode in iobroker)

click on the cat symbol: Choose the last tab (custom / „benutzerdefiniert“ )

put the url of the the github tag oder branch Best

sekinooo commented 2 years ago

I tried but I'm stucked on installation screen for 10 minutes iobroker

Hamburger2022 commented 2 years ago

It took a long time - I did it last night, this morning it worked

sekinooo commented 2 years ago

when I install from iobroker v 1.0.6, it takes couple seconds... I will try to install it during night...

jpgorganizer commented 2 years ago

? I changed auth url to https://api.authentication.husqvarnagroup.dev/v1 and base url to https://api.smart.gardena.dev/v1 .

why do you use those adresses? why do you use /v1?

jpgorganizer commented 2 years ago

It took a long time - I did it last night, this morning it worked

This is a topic of ioBroker and/or github .... nothing that an adapter can influence

sekinooo commented 2 years ago

it shows on https://developer.husqvarnagroup.cloud/apis/GARDENA+smart+system+API#/general husqa

jpgorganizer commented 2 years ago

If you have trouble with the adapter then please post you settings (make you userdata unreadable) and a log with loglevel 3 And post the log as text and not as a screenshot .... (no support for screenshot logs) Otherwise nobody is able to help

sekinooo commented 2 years ago

It's working now, updated to 2.0, used secret key and I changed back auth url to https://api.authentication.husqvarnagroup.dev and base url to https://api.smart.gardena.dev Thank you all!

jpgorganizer commented 2 years ago

it shows on https://developer.husqvarnagroup.cloud/apis/GARDENA+smart+system+API#/general husqa

but you're installing an adapter and the doc says ... see https://github.com/jpgorganizer/ioBroker.smartgarden#setup-adapter

jpgorganizer commented 2 years ago

works now