Figure 1


This is a great example showing how to connect the Nanofox from Gridya with TagoIO. This Sigfox board can be connected to a PC, Mac, Arduino, Raspberry PI, and other platforms.

Follow these steps to interface Nanofox with TagoIO and start to build your own application in minutes.

1. Setup the module

Follow the installation guide from Gridya here and prepare your Nanofox to send data.

If you already added your device, configured uplink and downlink on Sigfox portal, please ignore the step 2.

2. Setup Sigfox Portal and TagoIO

Follow the instructions on this link to create your device at TagoIO and to configure the callback on the Sigfox Portal. Make sure you create a device by filling the fields on the tab "Tokens" as described here.

Check with your Nanofox distributor about how to register the Nanofox in the Sigfox Portal.

3. Setup an Analysis

a) Create an analysis that will parse the payload coming from the Nanofox to extract the variables.
b) Copy the code from parse_nanofox.js. and click the tab Script and paste the code.
c) Configure the "Time interval to run this script" as "Disabled".
d) In the "Environmental variables", add the text "acc_token" in the variable key, and enter your account token in the variable value field. (account token is generated in the "My Account" > "Tokens" section).

4. Setup an Action

a) Create an Action, select "Action to be taken" as "Run Analysis" and select the analysis that you just created.

b) In the tab "Trigger", select the variable "data" from the device you created. Select the options as showed in the figure below.

Now, just turn your Nanofox board on, and wait for the data to hit your data bucket! Every time the Nanofox sends data, an action will be triggered and the script will parse the data sending to the bucket, ready to be showed in the widgets.

You can start to build your dashboards immediately. Here a real example of a dashboard displaying data from a Nanofox.

Also, you can create notifications and more advanced scripts as needed.

Enjoy your Gridya Nanofox with Tago!