Using the Device Emulator
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)
- Raw payloads (for custom data structures, e.g., CSV)
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.
- Press the Send payload button (▶) to send the payload.
- 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.
- If you need to convert non‑JSON payloads, see the Payload parser documentation for instructions on creating parsers that output JSON for TagoIO.
- You can also use Functions and Timer to send data automatically to your devices.