# Getting Started

After completing the previous steps you are ready to test the sensor.

* [x] Attach the sensor onto the treadmill. This can easily done using an electric wire and some duck tape (see picture below).

&#x20;      ![](/files/QP947kbsAqMDztViX0Bz)

Optionally you can print a 3D-case to make it nice and clean - download 3D-model [here](https://www.thingiverse.com/bluesense/designs).

&#x20;    ![](/files/ftL6BOV7NTSBKd6PjKlp)

* [x] Measure the length of the treadmill belt. This can be done by putting some masking tape onto the belt, remove it and measure the total length on the floor.

&#x20;      ![](/files/a0KFF8bJws1Vxejj1t3l)

* [x] Put a marker on the belt. This can be a piece of tape e.g. isolation tape sticks fine or use some white paint or tipex to make a mark on the belt.
* [x] Tune the sensor to adjust the detection distance using a small screw driver on the top of the sensor. Make sure the red detection light is off and only lights up when the marker passes the sensor (see video [here](https://www.youtube.com/channel/UClSbeFniU3SZIRcFUoupkKg)). Turn the screw counterclockwise to reduce distance detection.
* [x] Connect to the ESP32 controller using a PC or Mobile Phone via the WiFi access-point "BlueTrack-Access-Point" with password "123456789"

&#x20;      ![](/files/MLGwh5UNeNkD0XFHZ1I6)

* [x] Open a browser and goto the URL : <http://192.168.4.1>
* [x] Login with user "admin" and password "admin"

&#x20;       ![](/files/Jeh8aIF4kBFKmPNEhb9n)

* [x] Click on settings and enter the length of the belt in Meters and Centimeters and click "Update"

&#x20;       ![](/files/wPOdq8jHNpjvVPHIkkZn)     <img src="/files/XPCqtR0KivGkR9e1gcXS" alt="" data-size="original">

{% hint style="info" %}
Match the treadmill display speed to the speed in Zwift:&#x20;

* Set the treadmill for example to 12km/h&#x20;
* Make small adjustments to the belt size until you reach the same speed within Zwift.

The speed indicated by the treadmill will never be exactly identical because  the sensor measures the real speed of the belt, which is affected by the impact of the runner.
{% endhint %}


---

# 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://bluetrack.bluesense.be/introduction/bluetrack-smart-treadmill-sensor/getting-started.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.
