# Smartrak

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.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2Fc0Hz62B4At0m9Bd0nC13%2Fimage.png?alt=media&#x26;token=16dcf1f9-e716-4853-8a89-94d8f2c0f4f3" alt=""><figcaption><p>Smartrak M2M tracker</p></figcaption></figure>

## Check contents of the test device box

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)

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FoHG1mjxpn5xJSiAIipHU%2Fimage.png?alt=media&#x26;token=66dee30a-38d7-4ab7-b47d-40e80a141bd8" alt=""><figcaption><p>Box contents</p></figcaption></figure>

## 1. Insert SIM and assemble device

### Assemble the device

Step 1: Insert the SIM-card and **write down** the IMEI (1), we need that later.&#x20;

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FPhc2r8Bwq7zLw5Z1K51c%2Fimage.png?alt=media&#x26;token=26ec9ed7-d1b2-447f-a724-4cc775602a5f" alt=""><figcaption></figcaption></figure>

Step 2: Connect the battery.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FriVSNvn3ccKBU9TTu0h4%2Fimage.png?alt=media&#x26;token=9611db09-285a-4239-bad8-3ebf12e325d5" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2F8fxYAi9fYX8EHgA1d2NN%2Fimage.png?alt=media&#x26;token=7da2caea-0d21-4c5f-94de-ea296aa2371c" alt="Step 3: Connect the vibration motor"><figcaption><p>Step 3: Connect the vibration motor</p></figcaption></figure>

Step 4: Connect the bottom part. This is the wireless charging circuit.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FipfHNajHRcAWmyeUsZhr%2Fimage.png?alt=media&#x26;token=579b2087-3f8c-49bd-85f0-0acf96c33492" alt=""><figcaption><p>Step 4: Connect the wireless charging circuit</p></figcaption></figure>

Step 5: Put everything together.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FPaL0CDIIAHpXy5ZzhimK%2Fimage.png?alt=media&#x26;token=25b9647d-bac7-4bb0-aff1-a1387bc2c05c" alt=""><figcaption><p>Step 5: Stack the components as shown</p></figcaption></figure>

Step 6: Rotate the two parts as shown. The on/off button has to be on the side of the vibration motor.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2Foo3YESKy04mYNMHFxpab%2Fimage.png?alt=media&#x26;token=b900f3ea-e0b0-4538-8e15-76c14461797d" alt=""><figcaption><p>Rotate the two parts a shown.</p></figcaption></figure>

Step 7: Click two parts of the casing together.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2F4NPn5JhUfPl69wpXcgVW%2Fimage.png?alt=media&#x26;token=86d9e5cf-245a-496e-aff5-f39b0a5097b6" alt=""><figcaption><p>Step 7: Click two parts together, and done! 🥳</p></figcaption></figure>

### Charge the device

1. Plug in your QI charging device.
2. Place the device on the QI charging device and allow it to charge for a few hours.&#x20;
3. You should hear a beep when the device starts charging.&#x20;

## 2. Configure the device in the KPN Things Portal

### Open the KPN Things Portal

Open the [KPN Things Portal](https://portal.kpnthings.com), and log in with the credentials you received in the mail. Go to the **All Devices** page and click on **Add new Device**.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2Fm6AmUD8tNDK2jqNk654y%2Fimage.png?alt=media&#x26;token=e53a79a0-7be1-48d0-bf15-d1b3a68ed3ee" alt=""><figcaption></figcaption></figure>

### Fill in your device information

1. Select the **Streamline M2M device** device type
2. **Enter a name** for your test device
3. Click **Add Device** to continue

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FyiyoespPfSXk6YLTQnkV%2Fimage.png?alt=media&#x26;token=7a7740c4-3ead-452b-ad64-e8258609c70c" alt=""><figcaption></figcaption></figure>

### Provide Network Information <a href="#provide-network-information" id="provide-network-information"></a>

Now enter the Streamline M2M specific information of your Device.​‌

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2F7MQ3mSq8E8whVwRa8ETw%2Fimage.png?alt=media&#x26;token=8ccd6d4e-7bfb-4f9d-bbc0-ee3c38302d30" alt=""><figcaption></figcaption></figure>

1. **IMEI** of your Device. This value is printed on the logic board. If you followed the [assembly instructions in step 1](#assemble-the-device), you have written this value down.

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2Flj0txeSXsVdBWcONsZKg%2Fimage.png?alt=media&#x26;token=1945a673-2bc0-4b94-a279-575fe27ad7fa" alt=""><figcaption></figcaption></figure>

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](https://docs.kpnthings.com/kpn-things/building-blocks/connectivity/connecting-m2m-devices).

### Check incoming data in the Portal

Push the button on the device and it will send its location to KPN Things! After the push the LEDs start blinking:&#x20;

1. **Lightning** icon: GPS location is being searched
2. **Battery** icon: Device is turned on / charging&#x20;
3. **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.&#x20;

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FljD6ZwyVSAMbHH4tJOH2%2Fimage.png?alt=media&#x26;token=15d3f4bc-df26-4d7a-b5a5-e0f23a3b1c9e" alt=""><figcaption></figcaption></figure>

You should now visit the [Device Detail Page](https://docs.kpnthings.com/kpn-things/building-blocks/devices#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!

<figure><img src="https://1453626848-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6RrePMSAjRvOgcHjMBZ%2Fuploads%2FCprgOFtBIVJB7p6iESz6%2Fimage.png?alt=media&#x26;token=5ac2c1be-fcfc-4ccb-b14b-fbcc3a52ccdd" alt=""><figcaption></figcaption></figure>

Continue to the next step:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kpnthings.com/kpn-things/getting-started/tutorials/connect-devices/smartrak.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
