Sigfox is a relatively low-cost wireless network technology that requires low power to connect, and that is implemented by lost cost hardware modules.
This tutorial provides a step-by-step guide to integrate Sigfox with the TagoIO Platform. By following these instructions, you will enable uplink and downlink operations, allowing data exchange between your sigfox devices and the TagoIO application.
Uplink is the process to send data from the devices to TagoIO. The Downlink is used to send data back to the devices. Learn how to perform downlink for SigFox .
Follow these steps to setup the Sigfox Backend and TagoIO.
Step 1: Create Authorization in TagoIO
Access Authorizations:
Go to Devices.
Create a New Authorization:
Click the Create Authorization button.
Provide a meaningful name for the authorization (e.g., Sigfox-Integration).
Click Save.
Copy the Authorization Token:
After creation, copy the authorization token. You will need this in later steps.
The
Authorization should be generated by TagoIO by acessing the
Service Authorization page; no Additional Parameters are needed.
Step 2: Set Up Integration in Sigfox
On the Sigfox Backend Portal, you will need to create a callback type 'uplink'. We will use the Data Uplink option to obtain the basic information in the messages.
If your contract with Sigfox allows you to get more information like RSSI, SNR, STATION, you can use the Advanced Data option.
Go to your Sigfox console and create a new Callback. You can create a new callback under the menu DEvice Type > Callback > New > Custom Callback
Configure the Callback:
Field | Description |
Type | Data & Uplink |
Channel | URL |
URL | Use the endpoint format sigfox.middleware.REGION.tago.io. Replace REGION with your deployment region (e.g., us-e1, eu-w1). |
Use HTTP Method | POST |
Send SNI | Check the box Send SNI |
Headers | Add two rows in the Headers section inside the header and value fields:
header | value | device | {device} | authorization | <authorization generated by TagoIO>
|
|
Content-type | application/json |
Body | Copy and paste the JSON text below.
- [{
- "variable": "device",
- "value": "{device}",
- "serie": "{time}"
- },{
- "variable": "data",
- "value": "{data}",
- "serie": "{time}"
- },{
- "variable": "seqNumber",
- "value": "{seqNumber}",
- "serie": "{time}"
- }]
|

Step 3: Add Device in TagoIO
To integrate your device with the TagoIO Platform, follow these guidelines:
- Ensure Device EUI Consistency:
- When creating the device in TagoIO, use the exact same Device EUI that is configured in Sigfox.
- The Device EUI must match exactly to establish a successful connection between Sigfox and TagoIO.
- Select the Appropriate Network and Device Type:
- Choose the Sigfox Network during the device setup process.
- Select the correct device type from the available options. If your device is not listed, you can add support through connectors.
- Add Device Support via Connectors (If Necessary):
- If your device type is not available in the default list, enhance its compatibility by utilizing connectors.
- For more information on available connectors and how to use them, refer to the Connector Overview.
For detailed instructions on adding devices, visit the
Adding Devices page.