Test device (Smartrak GPS Tracker)
To quickly get measurements in KPN Things over the M2M network.
Last updated
To quickly get measurements in KPN Things over the M2M network.
Last updated
Contact your account manager if you are interested in testing KPN Things with this device! Since we have configured it in a specific way, you need to obtain it through us. Also, when you are provided with the Device, you will also be given an OurThings account as well in order to execute step 3.
The Smartrak M2M GPS tracker is a device produced by Streamline and used for demo purposes. When you push the button the device will send its location to KPN Things.
The first step is to check if everything is present in the box:
Contents:
Battery (1)
Logic board (2)
Bottom part of the casing (3)
Top part of the casing (4)
KPN M2M SIM card (5)
Wireless Charger (not shown)
Step 1: Insert the SIM-card and write down the IMEI (1), we need that later.
Step 2: Connect the battery.
Step 3: Connect the vibration motor. This can be a bit of challenge, but you can do this. The connector has to be pushed on the terminal from above instead of sliding
Step 4: Connect the bottom part. This is the wireless charging circuit.
Step 5: Put everything together.
Step 6: Rotate the two parts as shown. The on/off button has to be on the side of the vibration motor.
Step 7: Click two parts of the casing together.
Plug in your QI charging device.
Place the device on the QI charging device and allow it to charge for a few hours.
You should hear a beep when the device starts charging.
Open the KPN Things Portal, and log in with the credentials you received in the mail. Go to the All Devices page and click on Add new Device.
Select the Streamline M2M device device type
Enter a name for your test device
Click Add Device to continue
Now enter the Streamline M2M specific information of your Device.
IMEI of your Device. This value is printed on the logic board. If you followed the assembly instructions in step 1, you have written this value down.
2. ICCID of your SIM card. This value is printed on your SIM card. Select the correct SIM card from the drop down.
3. Click Add Network Info to save the network information and then Finish to continue.
If you want, you can learn more about M2M in KPN Things.
Push the button on the device and it will send its location to KPN Things! After the push the LEDs start blinking:
Lightning icon: GPS location is being searched
Battery icon: Device is turned on / charging
Waving person icon: indicates the button is pressed
The first time after connecting the battery it can take up to 5 minutes to receive a message. If the LEDs do not start blinking try to push and hold the on / off button for 10 seconds. The battery LED in the middle should start blinking. If still nothing happens, try to charge the device for at least 2 hours.
You should now visit the Device Detail Page in the Portal of this Device. In the connectivity block, you should see that the last message time indicates that KPN Things just received a message from your Device!
To make the data visible we will connect it to the Demo environment of KPN Things. For that we will create a Cumulocity Destination and add it to a Flow.
Open the KPN Things Portal. Go to the All Destinations page and click on Add new Destination.
Fill in the Destination information:
Choose Cumulocity environment
Give your destination a name
Fill in the Tenant URL: https://demo.kpnthings.com
Fill in the provided Username
Fill in the provided Password
Select Asset Tracking
Select Send location update events and Send measurements
Click Add Cumulocity environment
Now we add this new destination to a Flow. Click on the Project you want to use and click Flows. Click Add Flow.
Fill in a Flow name, an optional Description and click Create flow.
Now, click Link Device, choose Link an existing device and select the Device you just added.
Now we have to add a decoder to this flow. A decoder translates the message from the device in such a way the Demo environment can use it to show the location of the device. Go back to the newly created Flow Overview page and click Data Processing.
Next, click on the device you have just added to the flow. The available decoders are now visible. Click the toggle (1) to activate the Decoded Streamline M2M data decoder.
Click here to learn more about decoding.
Now go back to your new created flow and click Link Destination.
Select your Destination, and click Add Destination.
Go to https://demo.kpnthings.com and Log in. Click on Assets and click Add new Asset.
Now:
Fill in the Name.
Select Demo Devices in the Asset Group selector.
Select M2M Demo Devices under Client.
Fill in the IMEI of the device in the search box and select the device.
Click OK.
Now go back to the Assets overview and select your newly created Asset. The location of the device will now be visible on the map!
You device is now visible in the demo environment! If you press the button you will see the updated location on the map.