Using the Device Emulator
This article explains how to use the TagoIO Device Emulator to send test payloads to your applications, the supported payload formats, and how to convert non-JSON data using a Payload parser.
If you want a quick way to send data to your applications but don't have your hardware device available, or you simply need to send data to debug your applications, you can use the Device Emulator.
To access the emulator, go to Devices, select the device, and then click on the Emulator tab.
Supported payload formats
You can send payloads in different formats, including:
- Standard JSON (recommended)
If you send raw data or any format other than JSON, you must create a Payload parser to convert the output into the JSON format that TagoIO accepts.
Example JSON payload
Below is a simple JSON example you can use in the Emulator payload editor:
{
"variable": "temperature",
"value": 7
}
Sending the payload
- Enter your payload in the Emulator editor.
- TagoIO's API response will appear in the right‑hand panel labeled “TagoIO’s API response”. If nothing has been sent yet, the panel will display: “Nothing sent yet. Press the ▶ button to send the payload.”
Notes and references
- Access the emulator from: Devices → select your device → Emulator tab.
- You can also use Functions and Timer to send data automatically to your devices.