Somfy-Developer / Somfy-TaHoma-Developer-Mode

A collection of requests to use a local API with Somfy TaHoma gateways
147 stars 12 forks source link

Question: Access restrictions, rate limit #1

Closed AdyRock closed 2 years ago

AdyRock commented 2 years ago

Hi,

Now that the API is local, are there any access limits on the API? For example, can I poll the events every 2 seconds?

qelanhari commented 2 years ago

👍 for this question

vhenriet-sfy commented 2 years ago

Hi,

There is no rate limit on API endpoints. But be aware that calling them too frequently will impact your gateway performance and you might observe latency during product control.

You can safely fetch events every 2s without any issue.