Netatmo bridge offline 99% of time

Just to be sure, did you uninstall the official version before dropping the JAR in the addons directory? You may also want to restart openHAB because of a bug with threads not being killed.

yes, uninstalled binding first, dropped new jar file and restarted OH.

EDIT: since error occurred again right after restart, disabled the thing, waited for 3 hours and enabled the thing again. Works just fine until now (15 hours later).

Jacob,
I’m using your build since 3 days and did not have any problems so far and it is working well.

-Markus

Thanks for confirming. Did you have any problems with the 4.1 version?

Yes, I was mainly hit by this : [netatmo] Enable home being both energy and security by clinique · Pull Request #16026 · openhab/openhab-addons · GitHub
The binding never worked for my energy-devices. I did cherry pick the above PR and built the addon locally and energy worked well.
Then I got hit at well as Netatmo had some issues, bridge went offline did not recover and triggered api-count-budget.

But with your version all is good so far.

I am using Openhab v.4.1.2 and the Netatmo binding ist allways offline.

2024-04-05 17:57:09.071 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler ApiBridgeHandler of thing netatmo:account:ebe81cb492 tried checking if channel monitoring#request-count is linked although the handler was already disposed.
2024-04-05 17:57:09.177 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler ApiBridgeHandler tried updating the thing status although the handler was already disposed.
2024-04-05 17:57:09.179 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler ApiBridgeHandler of thing netatmo:account:ebe81cb492 tried checking if channel monitoring#request-count is linked although the handler was already disposed.
2024-04-05 17:57:09.276 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler ApiBridgeHandler tried updating the thing status although the handler was already disposed.

==> /var/log/openhab/events.log <==
2024-04-05 17:57:10.535 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'netatmo:account:ebe81cb492' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Rest call failed: statusCode=MAXIMUM_USAGE_REACHED, message=Application usage reached
2024-04-05 17:57:10.536 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'netatmo:home:d4a3fd6495:59cb645eac34a5c0508b62c7' changed from UNKNOWN to OFFLINE (BRIDGE_OFFLINE)
2024-04-05 17:57:10.536 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'netatmo:weather-station:bd8688924a' changed from UNKNOWN to OFFLINE (BRIDGE_OFFLINE)
2024-04-05 17:57:10.538 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'netatmo:account:ebe81cb492' changed from OFFLINE (COMMUNICATION_ERROR): Rest call failed: statusCode=MAXIMUM_USAGE_REACHED, message=Application usage reached to OFFLINE (COMMUNICATION_ERROR)

I’m having the same symptoms… after some time the binding always ends up stuck due to MAXIMUM_USAGE_REACHED.
It’s never able to recover from that state, I have to manually pause / disable the binding and then do a restart of openhab to get all up and running again.

I’m using items from netatmo security and weather station.

Seems like the binding does not respect the configured reconnect / refresh intervals?
Or perhaps we’re missing a configuration for such for the weather station?

I have the same problem.
I just upgraded from 4.1.2 to 4.2.0M2 as I hoped the issue could be fixed due to Netatmo enhancements listed in the upgrade notes.

However after running the upgrade to 4.2.0M2 the bridge status changed from ONLINE to ERROR CONNECTION within a few seconds again.

Only after disabling and enabling the Bridge Thing three times in sequence, the bridge is ONLINE now.

netatmo Enhancements 16562 Add a buffer to lower Home API requests
16571 Enhance bridge status reporting
16572 Weather cache must be synchronized
16589 Lower Home API request quantity
Bug Fixes 16492 Fix erroneous local URL handling
16520 Fix account bridge staying offline
16530 Thing properties were no more provided
16543 Don’t read of Energy data for Security area
16546 Bring back auto refresh for Weather Station and HomeCoach
16548 Home child things won’t go online
16573 Fix ClassCastException
16574 Enhance RefreshCapability