Track Anything Real-Time With thethings.iO Sigfox Location Tracker

The ability to track your assets real-time comes with many benefits. Location data enables an organization to derive valuable information that aids in the process of efficient decision making. In addition, it enables an organization to reduce operating costs while improving efficiency. Now thethings.iO can help you with this.

The location data can be used to optimize delivery routes, avoid specific areas and inefficient dispatch. This will help your company to save time, fuel, labor, and depreciation of transport vehicles. Companies can also improve customer satisfaction through quick response time.

Another benefit of thethings.iO Location Tracker is reducing theft or misplacement of cargo by being able to track assets accurately and knowing real-time if they go off route. The location tracker can be used to track any assets including vehicles, packages, and people.

What is a location tracker?

A location tracker is a sensor that you connect to your assets that allows you to locate the coordinates of your assets. Each set of coordinates corresponds to a timestamp so you know when and where the asset is, or was at that exact moment, in real-time. This product is the first thethings.iO IoT device connected in an open, scalable manner, operated with Sigfox connectivity and ready to deliver in 4 weeks.

Out of the box, and thanks to thethings.iO your company can enjoy a ready tracking solution that automatically reports to the company and makes the ROI very acceptable.

Request a free demo

Common Use Case for a Location Tracker

A practical example of use for a location tracker is for cargo and freight transportation. It is often difficult to locate cargo when there is miles and miles of large containers. A location tracker allows companies to quickly and efficiently locate cargo that needs to be shipped. The supply chain of assets is able to run smoothly from start to finish when accompanied by location trackers.

Another example is to track packages (with economical high value) being sent with mailing companies, which can be tracked in real-time. Check this example of a package sent from Barcelona to Zaragoza and coming back with the Spain high-speed train (300km/h).

Your Experience With thethings.iO

thethings.iO Location Tracker provides you with a hassle-free way to track and monitor your assets. The setup is so simple that it can be completed within minutes!

Once the setup is done the you are able to constantly monitor the tracker ID number, location coordinates, current movement status, and when it was last seen with the live dashboard supported by the Sigfox IoT platform. The ID number allows each tracker for all of your companies vehicles to be differentiated. This service allows companies and clients to have 24×7 access to the whereabouts of their cargo location. With improved efficiency, reduced costs, and time saved why wouldn’t you invest in this device supported by thethings.iO, actually the best enterprise IoT platform!

The geoposition of the tracker can be generated with the potential methods, depending on the hardware that you can choose:

  1. With Sigfox geolocation services: with an accuracy between 1 to 10 km today (2017), Sigfox promises to improve this with AI algorithms.
  2. With Sigfox geolocation services and WiFi: if you need to have a very good GPS accuracy in cities, WiFi is the best way to geolocalize a device. Sigfox and thethings.iO re offering this information automatically with the newest Sigfox geolocation services and Cloud code.
  3. and with traditional GPS: last but not least, if the device doesn’t have sky vision,
    there will be no signal. So, be careful and don’t waste your time (and money) here.

From here, first of all, thethings.iO receives the GPS position coming from any of these methods. Then it is possible to start analyzing the data, such as, defining geo-fences where a SMS or an e-mail should be sent if a container gets into that area, or to the destination.

Request a free demo

If you would like more information on how thethings.iO can help you track your assets in a fast, easy way check out https://thethings.io/location-tracker-using-sigfox/. Feel free to try out a free demo!

Webinar – Making a phone call with Sigfox and thethings.iO IoT platform

This webinar will give you an overview on how to connect your devices with thethings.iO and instantly monitor them using Sigfox.

The webinar will show you how to easily create a dashboard of your data that you are able to manage. It will also show you how to make a cloud code trigger that is able to launch a real-time phone call in order to alert you if a threshold is reached. The real-time calls will be sent using Twilio service. This service could be very important in situations where there is a use case with cold chain issues, health and safety of products or people are at risk.

thethings.iO allows customers to connect their device’s to the Internet with maximum customer friendly usability. In addition, we are able to adapt to our customers needs and provide flexibility. thethings.iO provides the most simple enterprise IoT platform, making data collection and analysis a breeze. With scalability, quick market time (everything working in 15 minutes), and flexible pricing you don’t want to miss out on our IoT platform. Check out our Internet of Things platform and services with our free 15 day trial! Sign up at thethings.iO

IoT model canvas by thethings.iO

After working on hundreds of IoT projects at thethings.iO, always there are common strategies and steps.  We truly believe on a lean approach for IoT, in order to reduce the time to market. That means, that we needed a document or a visual element to describe the IoT project value proposition, the hardware, the payloads, […]

Webinar – Connect Sigfox and Spot’it Sigfox Atlas service with thethings.iO IoT platform

Last week, we celebrated our monthly webinar. We described what is Sigfox technology and their newest IoT geolocation service, called Atlas (formerly Spot’it) connected to thethings.iO.

Geolocation is a really interesting feature in several IoT verticals. Understand where is an asset, a car, a package or people is priceless in specific moments where there is money or life in risk. All of this depends on having GPS availability on the hardware, usually a GPS chip introduced on the shield with an antenna. Now Sigfox is releasing Atlas (previously Spot’it). Atlas (Spot’it) is the newest location manager of Sigfox, with no GPS chip, that makes your hardware cheaper than expected.

Transcription of the webinar

Hello good afternoon hope that you can hang here, I’m here and Marc Pous, CEO of thethings.iO. I’m here with Carles my colleague.

So we are here ready to the webinar where we are going to show you how to connect the Sigfox device to thethings.iO today and make a really beautiful dashboard just in five minutes. Then we are going to show you, as well, how to connect the Atlas geolocation service (Spot’it) and geolocate a device with no GPS. Finally we are going to show you an extra bonus. Actually we are going to show you how you can send a Wi-Fi mac address to thethings.iO through Wi-Fi with Sigfox and complement the Atlas geolocation with the services that can offer better geolocation like Google Wi-Fi API location.

First of all, thethings.iO is the most simple enterprise IOT platform and, what does it mean? so this is what our customers say about us they say that we are so simple to use, so simple to connect devices and that’s really important when you are on an IoT project you know we all know that it’s painful to connect the device the Internet we all know that actually it’s hard to scale etc so we practice if we find all of the connection all the device provisioning all the data collection and data visualization. We simplify the way to add new business logic on top of the data. Actually collecting feedback from our customers we like to call us as the most simple enterprise IoT platform. You are free to try for free our platform you have 15 days free trial.

Uplink and downlink Sigfox communication with thethings.iO

Bidirectional communication sometimes it’s relevant on the Internet of Things field. In some LPWAN protocols it’s complex to have bidirectional communication. With Sigfox and thethings.iO it’s really easy to set up bidirectional communication, that is called downlink.

Sigfox downlink with thethings.iO

Sigfox downlink with thethings.iO

On today’s post, we are going to connect a Sigfox device with the Sigfox backend in order to maintain a bidirectional communication with thethings.iO.

What is Sigfox uplink and downlink?

The uplink process is the usual way of data coming from the devices to the Sigfox backend, that can be redirected to thethings.iO with a callback. Find here how to connect Sigfox with thethings.iO.

The downlink process is the process that enables a device to get data coming from a cloud, a mobile application or another device.

This downlink process is only available when the uplink process includes an ACK flag corresponding to a downlink request. At that point thethings.iO will be available to transfer the downlink message to the device through the Sigfox backend.

Find here a diagram by disk91 where you can understand better the downlink workflow interaction.

Have in mind that most of these devices are low power devices or they are running with batteries, that means that they are not able to receive data anytime.

Let’s build the downlink

Make sure you already have:

Let’s start!

thethings.iO IoT Platform

Once you have an account, if you don’t have a Sigfox product to use, follow this steps:

  1. Enter to your account and click on Things.
  2. Press on Create new IoT product.
  3. Select Sigfox as Serialisation format.
  4. Give a name and choose Akeru/Smart Everything for the board.
  5. Click on the previously created product and copy the subscription URL.

Registering the Callback at the Sigfox backend

Once you have copied the previous url, navigate to the Sigfox backend.

  1. Click on your device.
  2. Navigate to callbacks.
  3. Create a new Callback: Make sure you select DATA and BIDIR as the type and POST as the HTTP Method.
  4. Given the previous url, add /downlink at the end of the url. The url should look similar to: https://subscription.thethings.io/sgfx/1234/abcdefghijklmn/downlink?id={device}&data={data}Also, if you want any other Sigfox variables, feel free to add: &radius={radius}&seqNumber={seqNumber}&snr={snr}&time={time}&station={station}&rssi={rssi}&ack={ack}

The Sigfox downlink parser at thethings.iO

Following the registration of the callback at the sigfox backend, we should proceed to create and fill the sigfox_downlink_parser associated to your product:

  1. Navigate to Cloud Code
  2. Move to Functions and create a new function called sigfox_downlink_parser. Make sure to introduce the previous name correctly.
  3. Fill the sigfox_downlink_parser:
    • In order to prepare the data to be returned to the device, follow the next structure:
      • The result variable should be an object: With the device id as the key and with a new variable (limit size of 8 bytes) as the value:
        var result = {“sigfoxDeviceId”: { “downlinkData”: “variable or message to send”}}
  4. Following the previous requirement, a simple parser should look like this:
    function main(params, callback) {
    var result = {};

var variable = "sigfoxDw";
result[params.deviceId] = { downlinkData: variable };
callback(null, result);
}

Device downlink management

Each sigfox device library should provide the necessary function in order to extract the acknowledged data from thethings.iO.

Focusing on the Smart Everything, there’s an example on github showing the handling of the downlink data.

Feel free to create an account at thethings.iO and start connecting things to the Internet with the most simple enterprise IoT platform.

Looking for partners for the best IoT platform

At thethings.iO we are growing worldwide, from New Zealand to Canada, passing through Argentina or Ireland, companies need to connect things all around the world. This is the reason why we are looking for businesses, integrators and consultancies to refer, resell, and implement thethings.iO as an IoT software solution locally.

thethings.iO partners

thethings.iO partners

Currently, thethings.iO partners are businesses or individual professionals who frequently use our product to deliver an end-to-end IoT solution to their customers. We call them integrators: consultancy firms, engineering teams or development shops working for companies who need to connect their assets.

Using thethings.iO as an IoT platform lets integrators cut costs while delivering a top-nocht Internet of Things solution to their customers. Easy prototyping, fast demos, simple scalability and uncomplicated implementation helps them save time and money.

And becoming our partner makes it even better. Partner integrators have premium discounts on thethings.iO public pricing, receive marketing and development support and get high priority at our helpdesk. Partners also get prior access to new product features and have a private development sandbox, among other exclusive features.

Interested in becoming a partner? Are you an integrator who need the best IoT platform in the market? Speak with one of our Partner Managers today and start making actionable insights with the IoT and Big data.

Using Sigfox Spot’it with thethings.iO to geolocate your Sigfox things

Geolocate a device is very powerful in some use cases. Understand where is an asset, my car or my dog is priceless in specific moments where there is money or life in risk. All of this depends on having GPS availability on the hardware, usually a GPS chip introduced on the shield with an antenna. With the GPRS and 3G, etc the antenna’s triangulation enabled IoT devices (and mobile handsets) to become geolocalized with some errors but without GPS chip. Now Sigfox is releasing a similar feature, Sigfox antennas triangulation enable geolocation with no GPS chip, that makes your hardware cheaper than expected.

Today we are going to connect a Sigfox device with the Spot’it service. Spot’it is the newest location manager of Sigfox. Now with thethings.iO and Sigfox Spot’it you can track all your Sigfox devices in a very simple way. thethings.iO is the most simple Sigfox IoT platform.

Make sure you already have:

Let’s start!

thethings.iO IoT Platform

Once you have an account, if you don’t have a Sigfox product to use, follow this steps:

  1. Enter to your account and click on Things.
  2. Press on Create new IoT product.
  3. Select Sigfox as Serialisation format.
  4. Give a name and choose Akeru for the board.
  5. Click on the previously created product and copy the subscription URL.

Registering the Callback at the Sigfox backend

Once you have copied the previous url, navigate to the Sigfox backend.

  1. Click on your device.
  2. Navigate to callbacks.
  3. Create a new callback. Make sure you choose Service as the type of callback and GEOLOC as the type of service.
  4. Beginning with the previous URL, make sure to erase the data={data} and include lat and lng to the previous url.

The url should look like this: https://subscription.thethings.io/sgfx/geo/1234/abcdefghijklmn?id={device}&lat={lat}&lng={lng}

Also, if you want any other Sigfox variables, feel free to add: &radius={radius}&seqNumber={seqNumber}&snr={snr}&time={time}&station={station}&rssi={rssi}

All the Sigfox variables that you specify will be automatically parsed into resources in your thethings.iO thing.

Showing device location as a path at thethings.iO is simple

First of all go to create a thethings.iO dashboard.

To create a dashboard in your thethings.iO account to show the device location in a map. The location should be presented as a path of different points in a map.

  1. Click on the Add Widget blue button.
  2. Give a name to the Widget.
  3. Select Thing Resource inside Data Source.
  4. Select thing you just created before.
  5. Select ‘Spotit’ as the name of the resource that contains the location.
  6. Check Historical and press the Routes box.
  7. Click on Costumize it and select the number values you want to show. Also select “Activate markers to show each point and Activate path”.
  8. Accept and Save!

Easy right? Now you can geolocate any Sigfox device and see the routes and more information at thethings.iO in just 5 minutes. Try it yourself!

Connect mcThings with thethings.iO IoT platform

Hardware is one of the most important part of the connected products actually. During the prototyping phase it’s important to have great hardware running your use case. We found that mcthings it’s a great hardware platform to build prototypes and real hardware on the top. If you are developing a project in United States, Latam or Oceania using Sigfox, you cannot miss mcThings hardware platform. Of course you also can use this hardware for WiFi and other protocols as we are going to show today with thethings.iO IoT platform.

On todays post we’re going to connect the mcModule 120 with the MQTT protocol and the mcGateway (from mcThings) to thethings.iO.

 

 

Before following some steps, please make sure:

  • You have downloaded and installed mcStudio.
  • A micro usb cable to connect the mcGateway or the mcDongle (to OTA update the devices).
  • A mcGateway, a mcDongle and a mcModule.

 

Lets start! Connecting the mcGateway to the Wi-Fi / Ethernet If you want to connect the mcGateway to the internet using Wi-Fi, as the Quick start guide specifies:

  1. Ensure the Network Mode toggle switch is in the Wi-Fi position. This is indicated by “WIFI” on the underside of your mc-Gateway.
  2. You can connect the gateway via WPS or directly to your WIFI network using the gateway config. For this project, we connect the gateway using WPS.
  3. Start the WPS mode on your Wi-Fi router.
  4. Hold down the push button labeled USER SW for 1 second and release to start the WPS process.
  5. The amber LED labelled CONN will flash while attempting to connect to Wi-Fi
  6. When a network connection is established, the amber LED labeled CONN will turn on.

Otherwise connect the Ethernet cable to the mcGateway.

thethings.iO IoT platform

 

Create a thethings.iO account:

If you still don’t have an account, please register at thethings.iO IoT platform. In order to create a new thing:

  1. Enter to your account and click on Things.
  2. Press on Create new IoT product.
  3. Give a name and choose Other for the board.
  4. Finish the steps and remember the thing Token.

Programming the mcThings mcModules

 

    1. Download or clone thethings.iO mcthings repository. Place the contents in your mcthings project and libraries (by default in “My Documents”).
    2. Open the mcStudio application. Change the thing token with an actual token provided to you in the previous step.

 

    1. Connect to the gateway and to the module. Navigate to “Tools” and click on “Devices”. Select the connected mcGateway.

 

    1. Configure the mcGateway with the correct thethings.iO MQTT broker:

 

  1. Build and deploy the code to the modules.

Create a dashboard with thethings.iO IoT platform

 

  1. Create a thethings.iO dashboard: Now it’s time to create a dashboard in your thethings.iO account to show all the values sent by the mcModules. Lets create some charts:
    1. Click on the Add Widget blue button.
    2. Give a name to the Widget.
    3. Select Thing Resource inside Data Source.
    4. Select thing you just created before.
    5. Select the name of the resource you want to display and the format (pie, chart, graph…).
    6. Click on Customize it and select the number values you want to show.
    7. Accept and Save!

Repeat this last step to build awesome dashboards with thethings.iO!