API Rate Limits
Rate limiting is considered on a per sensor basis. Allowed are up to 3 calls for
a sensor within one minute. If more than 3 calls are made within one minute
further calls are blocked for 7 minutes.
If rate limiting is applied the server returns the HTTP response code “429 Too
Many Requests”.
My settings in OH 3 are these und didn’t change them and it works until wendsday:
Invalid call blocking
To prevent misuse, if more than 5 calls with invalid parameters are made from
the same ip address within 15 minutes, further calls from the same ip address
within the 15 minute time window will be blocked.
If invalid call blocking is applied the server returns the HTTP response code
“403 Forbidden”.
In the past a friend of me made a small app for doing this. But suddenly it stopped working.
I tried to build the same solution with the HTTP-Binding and RegExp / JS on my Openhab3.
But, I always get now on the Request of the URL a 403 Forbidden.
It seems I found the route cause. The Request needs to have a user-agent information. I tried it with wget wget --user-agent=“Mozilla” https://measurements.mobile-alerts.eu/Home/SensorsOverview?phoneid=xxxxxxx and it works.
But I am too stupid to configure a headers information in the thing. Who can help me here?
I have the same behavior. It was working for a full year and suddenly stopped working since a week or so.
Can we perhaps change some settings in http.cfg to fix the issue?
I decided to use Exec and Curl too. Used -A option to indicate agent. Took me about 10 minutes to relink items. All seems to be working fine again. Thanks!
Hey,
I moved to a new appartement, stopped OH3 at my old appartement installed everything in my new appartement without changing anything an restated OH 3.
and that’s pretty much it. Your webpage data will now start coming in the output of this ‘Thing’. You can create channels, just like you would otherwise have done for using regular expressions to get the data.