Change Ban mechanism for API

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
moises
Posts: 24
Joined: 19 Nov 2016, 16:07

Change Ban mechanism for API

Post by moises » 16 Jan 2018, 17:54

Please consider changing the current Ban mechanism, it is broken by design!
With more than one device in operation, there is an event at least once a minute.
This means that even a short interruption (like restarting the internet connection) is a guaranteed ban.

Instead, you should implement a dynamically increasing ban time:
- First timeout, no more connection attempts for 5 minutes
- Second timeout, pause subsequent connection attempts for 10 minutes
- Increasing timeout for all subsequent failed connection attempts and enable unban through the dev page

This would save you a lot of open connections for short interruptions that would not currently lead to a ban
and at the same time would also get less applications banned, making the service more reliable.

Post Reply

Return to “Netatmo API”