Problems to connect to Gardena cloud service with the Gardena binding

I’ve installed this new jar and deleted and recreated the application in the gardena developer site, than I added apisecret key as the new appkey. Unfortunately I still get the following error: Error 429 null, {“message”:“Limit Exceeded”}

Does anyone have and idea what do I do wrong?

Thanks in advance!

I had the same issue and recreated the application in the gardena developer site about 3 or 5 times. After several tries the bridge was online.

Hi @gerrieg

Thank you for your recent fix of the login problem. I installed the current jar and my bridge is back online. Unfortunately I have two issues with the current build, maybe you can have a look at it?

I have a mower thing. In openhab.log I found following warning message, nevertheless the battery state of the mover is displayed correctly by the item connected to the battery state channel. I don’t know what this warning message is about…

[internal.handler.GardenaThingHandler] - Value of propertyPath 'common.attributes.batteryState.value' can not be casted to Number: class java.lang.String cannot be cast to class java.lang.Number (java.lang.String and java.lang.Number are in module java.base of loader 'bootstrap')

Using the current build I have problems with german “umlaute”. This is a screenshot of my activity item of the mower. Do I have to change something in my configuration?

Best regards,
Boris

Wow, It solved the problem. Thank you!

Still: I don’t understand why did I get the limit error. It was working for months

'common.attributes.batteryState.value' can not be casted to Number: class java.lang.String cannot be cast to class java.lang.Number (java.lang.String and java.lang.Number are in module java.base of loader 'bootstrap') is reported for all Things.

There is a different thread discussing the “429: limit exceeded”, that popped up for many users just recently:

Yes, I’m also watching the different thread.

Turns out, that even with the current build I’m getting an error 429 again after some hours. This version doesn’t fix the error 429 problem.

Hi @cwi

what do you mean with

'common.attributes.batteryState.value' can not be casted to Number: class java.lang.String cannot be cast to class java.lang.Number (java.lang.String and java.lang.Number are in module java.base of loader 'bootstrap') is reported for all Things.

I only have this log entries with the gardena battery Item.

I see that with every (Gardena) Thing’s update, so e.g. for sensor, valve and power socket (although the latter doesn’t use a battery). Any such Thing has a BatteryState in Channels list, but I use it only on a subset, e.g. not on power socket.

Could you fix this for the automower binding as well?
This is unfortunately facing exactly the same issue…

I’m able to connect to Gardena now - using OH 3.4.0.M1 :slight_smile: Thanks a lot for the updated binding! :+1:
Just one question - I’m using a Gardena Pump, but I cannot find a channel containing the water volume forwarded by the pump.
This information is available in the Gardena App - unfortunately only in a very high level, not very detailed.
Is it possible to retrieve this information using the API in OH3 as well?
many thanks :slight_smile:

Hello,

is it possible to retrieve the flow rate and water pressure for Gardena pump “smart Hauswasserwerk 5000/5” while the pump is active?
I cannot find a channel containing this data, but it is available in the Gardena App as in the picture:

Bildschirmfoto 2023-05-05 um 18.27.01

I have Gardena Smart Water Control valve and it isn’t possible to control flow rate and water pressure. The Gardena binding doen’t have channel in the corresponding thing to control flow rate and water pressure. (I’m on Openhab 3.4.2).

There’s a lot of stuff in the app not mapped to the API unfortunately. The API description is here, you can check whether you can find something related to pressure and flow rate. I couldn’t find anything on a quick glance.

many thanks @maniac103, @bodow

I contacted Husqvarna/Gardena already twice, asking for API improvements, but without any success :frowning:

All, I’m trying for quite some time to to get the Gardena binding to work in OH3.
In the meantime I have 2 issues:

  1. I’m still unable to connect to the devolopper portal. I’m glad I found this thread and it looks like the new .jar file gerrieg created and openschwall published should solve the isse.
    Unforturnatley the link openschwall shared does not function anymore so I can’t download the file.

Can somebody pls help me to get access the the updated .jar file.

  1. Apparently I have blocked my account because of too many login attempts. The system says:

Error 400 Bad Request, {“error”:“invalid_request”,“error_description”:“Blocked for too many login-attempts”,“error_code”:“user.is.blocked”}

Can somebody advise me how to unlock the account?

Thanks a lot!!

Arno

In my opinion you should update to openhab 4.1 which solves at least your first issue. For me the update from OH 3 to 4 was easy and flawless.

Thanks for your quick response, Peter.
Will need to backup everything and than I‘ll give it a try. Regarding the locked account: It has been unlocked already. Looks like they only temporarily locked it. Thx again, Arno

yes, you need to wait one day or so for unlock.

…. upgraded to OH4 and the binding functions now. Though, I had to upgrade the Raspi OS to bullseye first, which was a bit of an advanture for me :grinning:. Anyway, I‘m glad it works. Thx, Peter