You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An updated and async version of the original [tahoma-api](https://github.com/philklei/tahoma-api) by [@philklei](https://github.com/philklei). The aim of this wrapper is to offer an easy to consume Python wrapper for the internal API's used by tahomalink.com.
4
+
5
+
Somfy TaHoma has an official API, which can be consumed via the [Somfy-open-api](https://github.com/tetienne/somfy-open-api). Unfortunately only a few device classes are supported via the official API, thus the need for this wrapper.
6
+
7
+
This package is written for the Home Assistant [ha-tahoma](https://github.com/iMicknl/ha-tahoma) integration, but could be used by any Python project interacting with Somfy TaHoma devices.
Register a new setup event listener on the current session and return a new listener id.
100
+
Only one listener may be registered on a given session.
101
+
Registering an new listener will invalidate the previous one if any.
102
+
Note that registering an event listener drastically reduces the session timeout : listening sessions are expected to call the /events/{listenerId}/fetch API on a regular basis.
Fetch new events from a registered event listener. Fetched events are removed from the listener buffer. Return an empty response if no event is available.
112
+
Per-session rate-limit : 1 calls per 1 SECONDS period for this particular operation (polling)
0 commit comments