Netatmo bridge offline 99% of time

I know I may sound a little negative … I am aware that openhab is a free software and many people are investing a lot of their spare time … but unfortunately I cant accept that the netatmo binding is giving me these “maximum usage reached” messages for nearly a year now.(Aftert it had worked flawlewssly for years …) I really dont understand why the binding does not implement a max request limit internally to prevent that error … sorry I am just frustrated after 4.2 broke my installation yesterday and I had to revert to a complete backup … today I have tried that special backport jar … same issue. I am really willing to help and try out a debug version of the author to nail down that bug not only me seem to be experiencing…

You are frustrated… ok.
But between your first post in this thread and the fix are only 8 days.

After the “maximum usage reached” messages you have the wait 1 hour.
The fixed jar or 4.2 does not shorten this time.

You’ve got a channel on the bridge counting requests. You can use it to switch it offline and wait some time to have it back online.

I’ve made nearly 10 PR to try to nail this issue, and I’ve some other to address. From time to time I need to work on some other things to stay motivated

3 Likes

I think I finally landed on the same issue than yours.
Having spent two days working in the dev environment, I reach user limit after two requests.

The only way I found to circumvent is to impose a 10s delay between each request.

This could be a server side issue, I found some cases on the web (https://helpcenter.netatmo.com/hc/en-us/community/posts/19767427948434-Getting-error-26-User-Usage-exceeded-for-a-few-hours-now). Maybe an option would be to use a new application.

I’ll keep you posted.

I think I’ve got it :
Remove your app from Home + Control & Security | Legrand - Netatmo - Bticino
Create a new app https://dev.netatmo.com/
Redo the grant process in openhab using your new clientId and clientSecret.

Hi,

I upgraded to 4.2.2 and now I get this error message

Rest call failed: statusCode=MAXIMUM_USAGE_REACHED, message=User usage reached

I deleted the app at dev.netatmo.com and created a new one but no success.

Before the upgrade all worked fine.

Best

Paul

There’s a bug in Netatmo Binding of 4.2.2. Correction is ongoing https://github.com/openhab/openhab-addons/pull/17484

Is a fix for 4.2.2 ​​(jar) already available?

Fix has been merged [netatmo] Avoid endless loop when Security claims event history by clinique · Pull Request #17517 · openhab/openhab-addons · GitHub, so I think yes it should be available. Thé fix for 4.3 is working

Could you give me a hint where to find the jar file.

Does anybody know where to find the 4.2.2 jar file with the fix of this problem?

Update your distro, you should be provided with last patch

1 Like

I was already on 4.2.2 stable, so there is no update distro available:
Installed: 4.2.2-1
Candidate: 4.2.2-1

Hey @WeRo,

I’ve compiled a snapshot version from the current 4.2.x branch for myself - it’s working for 4.2.2 - you can find it here: org.openhab.binding.netatmo-4.2.3-SNAPSHOT.jar

Please remove the netatmo binding before putting the snapshot version into your addons folder (i.e. /usr/share/openhab/addons)

Nils

Update - now it works, see below for my solution.
Hi,
previousely I was running OH3.4.x for a long time with the NetamoAccount and WeatherStation working well. When Netatmo changed the authentication I tried a while to get 3.4.4 or 3.4.5 working with it - but failed.
In another tread in forum I was asked to switch to the new 4.2.2.
Now I have installed OH4.2.2 as a clean windows installation and the NetatmoAccount is working fine - it shows ONLINE. But now when I add my Weatherstation it stays in yellow UNKNOWN. Can anyone help me with this?
Solution:

  1. Delete Netatmo App in Netatmo Portal
  2. Delete old OH NetatmoAccount and any NetatmoObject in OH
  3. Restart OH service
  4. Create NetatmoAccount new / Create WeatherStation new in OH
  5. works
    Many thanks, Michael

Many thanks Nils - it works perfect :+1:

Hi, @nboeckmann
How did you compile it? Some important bug fixes were merged after you compiled the snapshot.

After a few days the Netatmo WeatherStation goes OFFLINE and it is not possible to get it back ONLINE again.
Does anyone know how I can get the fix that @nboeckmann talked about in my 4.2.2 installation. I only use the OH update from the command prompt up to know.
Many thanks for your help.
Micha

Hey @nelson.aponte,

I’ve compiled with Eclipse / I’ve just re-compiled it with the latest version of the 4.2.x branch (it’s available via the same link as originally shared.)

Nils

Hi Nils,
im running into the same problem like otheres here…
Looks like your link is not active longer, could you please share the file again?
Thx
Lars

FYI, there were some additional bug fixes for the Energy functionality merged today to the 4.3.0 branch.