Subscribe to Locations

To subscribe to locations from a device, connect to the MQTT API and subscribe it to the locations topic for that device.

To subscribe to locations the MQTT topic is: devices/{device.id}/locations

Replace {device.id} with your device ID (should begin with dev_).

Example Code

Subscribe to all device locations using the Wia SDK

Javascript
Copy
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches