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.
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: