The following section describes how to fetch the device's triggers via a websocket, ideal for highly responsive applications.
Specifically, the MT1 server provides the STOMP protocol over a SockJS endpoint.
STOMP and SockJS are available for a variety of programming languages, including JavaScript, Java, C# and Python.
This topic provides access to all triggers of all devices which are associated to the given userId.
This topic provides access to all triggers of the given device, identified by deviceId.
To calculate the device's trigger time with the provided timeOffset the following formula can be applied: