get https://{nurevaDeviceIP}/api/v1/heartbeat
Allows clients to start a heartbeat stream. This is an SSE endpoint which allows users to check the connection to the device. Every 5 seconds, a heartbeat response of .
will be returned as the data from the endpoint, if there is still a connection. We recommend subscribing to this endpoint to check that the device is still connected to your integration rather than polling another endpoint.
Example response body
event: heartbeat data: . retry: 5000
If you are subscribed to the other SSE endpoints, such as the sound location data stream endpoint, then subscribing to this one as well is redundant. If any SSE endpoint is returning data this indicates that there is still connection. This endpoint would only serve as backup.