DEV Community

Conall Laverty
Conall Laverty

Posted on

How To Integrate Any Sigfox Device With Wia

Hey Folks!
We've just released a whole new way to easily integrate any of your Sigfox devices with the Wia cloud platform. Here's the steps you need to follow to get up and going.

P.S. If you want to see your devices on iOS and Android, pre-register here for our beta.

Create Your Wia Account

If you haven't already got one, click here to sign up.

Setup a Space

Once logged in, setup a new Space for your devices. I'm going to call mine My Sigfox Devices. When your Space is ready, you should see a screen like the one below.

screencapture-dashboard-wia-io-spaces-created-1513170238630

Start Setting Up Integration

Open the Space dropdown, by clicking on the Space name in the top left corner, and click Settings. Select Integrations in the sidebar.

screencapture-dashboard-wia-io-spaces-spc FO431hY1-settings-integrations-1513170427867

Click Setup to begin setting up the integration.

screencapture-dashboard-wia-io-spaces-spc FO431hY1-settings-integrations-sigfox-1513170504931

How to get your Sigfox API keys

  • Go to the Sigfox dashboard
  • Go to Group > Your Group Name > API Access
  • To generate your API keys, follow these steps:
    • Click on New in the top right hand corner
    • Enter Wia as the name
    • Add DEVICES_MESSAGES[R] option and generate keys

screencapture-backend-sigfox-api-user-59b91a779058c21b41b8d96c-list-1513171158652

Copy and paste the Login and Password keys into the input fields in Wia and click Create Integration.

screencapture-dashboard-wia-io-spaces-spc FO431hY1-settings-integrations-sigfox-1513170596442

How to setup your Sigfox callback

Now that you've setup the integration. Let's setup the callback for your devices.

  • Go to the Sigfox dashboard
  • Select Device Type, then the name of the device type you would like to integrate
  • On the left, select Callbacks
    • Note: If there are current any Wia callbacks, remove them
  • Click New in the top left corner to create a new callback
  • Select Custom Callback and enter the parameters below:
    • Type: DATA UPLINK
    • Channel: URL
    • Url pattern: https://api.wia.io/v1/events
    • Use HTTP method: POST
    • Headers
    • header: Authorization
    • value: Bearer [YOUR INBOUND KEY]
      • Note: See inbound key below that starts with ik_
    • Content Type: application/json
    • Body: Copy and paste text from here
    • Click Ok

screencapture-backend-sigfox-devicetype-59c178829e93a154e9374013-callbacks-5a2eb8043c87897b18442712-edit-1513171179662

Start sending data from any of your Sigfox devices of that device type and they will start to appear in Wia.

Invite People to Your Space (Optional)

You can now share your Space with other users. Click on the Space name in the top left corner, go to Settings then click Users in the sidebar. Enter the email address of the person(s) you would like to invite.

That's all folks!

P.S. If you need any help with getting setup, tweet us or email support@wia.io

Reference

Sigfox is a French Internet of Things (IoT) company founded in 2009 that builds wireless networks to connect low-energy narrowband objects such as electricity meters, smartwatches, and washing machines, which need to be continuously on and emitting small amounts of data.

Top comments (0)