> For the complete documentation index, see [llms.txt](https://docs.motus.org/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.motus.org/en/stations/downloading-data/downloading-data-from-a-sensorstation.md).

# Downloading Data from a SensorStation

{% hint style="info" %}
More details on this process can be found in Cellular Tracking Technologies SensorStation Manual: <https://cellular-tracking-technologies.github.io/ctt_documentation/SensorStation-User-Guide.html>
{% endhint %}

## Downloading data from a SensorStation using the web interface

**Note**: that if detection data has not been downloaded from a station for more than 6 months the direct ethernet cable connection should be used to ensure all data files are downloaded and not missed.

### Equipment

{% columns %}
{% column %}
Ethernet cable

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2F2a9WTFAAZwgjy4RU1EiE%2Fimage.png?alt=media&amp;token=dded05fb-0a9d-4b9f-9859-1e9cc67b0feb" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}
USB to ethernet adapter (if no ethernet port on laptop you will need 2 adapters)

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FaswzIppNGA2NdIhszkv8%2Fimage.png?alt=media&amp;token=c90966d9-abc4-40d4-9950-cdf3b746865a" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}
Laptop![](https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FDJdoFTjwePbhMkkXPTqG%2Fimage.png?alt=media\&token=14ce08ba-83df-447c-a3a7-58fc760bee98)
{% endcolumn %}
{% endcolumns %}

### Parts of the SensorStation

Components of the Version 3 SensorStation from Cellular Tracking Technologies:

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2Favi7zUgARLmFHqjcnar9%2Fimage.png?alt=media&amp;token=0b44070a-396b-4f19-9eb7-1ad960dac4ad" alt=""><figcaption></figcaption></figure>

SensorStation LCD screen:

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FedkpLJnby430PjuZgmDw%2Fimage.png?alt=media&amp;token=06b6e466-bc98-4e91-953c-f47b23401b67" alt=""><figcaption></figcaption></figure>

The LCD screen is the main display that is used to navigate through the different settings of the SensorStation. There are four navigation buttons to the right of the screen labelled UP, DOWN, BACK, and SELECT that can be used to toggle through the menu options.

### Downloading data via ethernet cable

1. First ensure that the SensorStation is ON and the LCD screen is lit.
2. Use any open USB port and insert USB to ethernet adapter.
3. Connect your ethernet cable to the adapter then to your laptop (either via a direct ethernet port or using another USB to ethernet adapter).

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FRI3DpumipZhkz7Ojr8VU%2Fimage.png?alt=media&amp;token=947217e9-b41d-4bc0-adbb-4b872a44af48" alt=""><figcaption></figcaption></figure>

4. Open a web browser (Chrome or Firefox) on your laptop and type in the url: **sensorstation.local**
5. The CTT SensorStation web interface will now be displayed on your web browser. If it doesn’t load right away, try refreshing your browser, then try restarting your laptop. If that still does not work, restart the SensorStation and try connecting to the web interface again. To restart the SensorStation, turn the power switch to **OFF**, wait 30 seconds, then turn the power switch to **ON** again and wait a couple minutes until the SensorStation boots up (it is ready when the LCD screen menu appears).

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FpprQUlGuZMGvUUBmxsGx%2Fimage.png?alt=media&amp;token=80d28f49-358e-4242-a7d0-5f608a61bfa0" alt=""><figcaption></figcaption></figure>

6. Scroll down to the “**Data Management**” section. You will need to download 2 sets of data, one for each of the antenna frequencies. Tags detected on 166 MHz antennas will be downloaded under “**Nanotag Data**” and tags detected on 434 MHz antennas will be downloaded under “**CTT Tag Data**”.

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FqhGwNklatoAbH6N5lZr9%2Fimage.png?alt=media&amp;token=2d24a275-2f2b-49da-974f-2e662d0c47d8" alt=""><figcaption></figcaption></figure>

7. Click both the “**Download Current Data**” and “**Download Data Not Uploaded**” button under CTT Tag Data and Nanotag Data to download the data into zip files. Note, this may take a few minutes depending on how much data there is to download. Also note your browser may show the download as from an unknown source, and the download will not complete until you click “**Keep**”. There should be 2 separate zip folders downloaded. All the zip folders should download into the **Downloads** folder on your laptop. It doesn’t hurt to click “**Download Data Already Uploaded**” as well just to make sure everything is covered – it will likely just give a message saying “Nothing to download yet”, in which case you can just go back to the main interface.

{% hint style="info" %}
**For visual instructions:** Watch this demonstration video on the Motus Wildlife Tracking System YouTube page [here](https://www.youtube.com/watch/dO8vrPuAJFA): <https://www.youtube.com/watch/dO8vrPuAJFA>.&#x20;

Note that this video uses an IP address as the web browser URL to connect to the SensorStation web interface, rather than “sensorstation.local”. Either option should work.
{% endhint %}

### Additional Motus station maintenance on web interface

While you are connected to the CTT web interface there are a few details you can check to ensure the Motus station is operating correctly.

{% hint style="warning" icon="bell-exclamation" %}
**Reminder:** Please take screenshots of all details on the SensorStation and SensorGnome interface so that station operation can be verified and troubleshot at a later date.
{% endhint %}

1. Scroll down to the GPS section on the left-hand side of the screen and check to see that the Time and station GPS details are populated and accurate.

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FxOGfmefJ5vfiAGbyNxXJ%2Fimage.png?alt=media&amp;token=adbb1120-16a4-42ca-b4dd-481d8b85c514" alt=""><figcaption></figcaption></figure>

2. Under the “**Nanotag Data**” section, click on the “**Sensorgnome Interface**” button under Nanotag Data. You will be directed to the web interface that displays diagnostics for the 166 MHz antennas.

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FqdPkIcL0SXcbY306LOFq%2FSensorStation%20SG%20interface.png?alt=media&amp;token=95646f8c-1efc-4232-8949-a11579a916df" alt=""><figcaption></figcaption></figure>

3. On the SensorGnome web interface, again check that the date, time, and GPS location are populated and look correct (the time stamp will be in UTC). You can also check that the 166 MHz antennas are active. The funcube dongles are the pieces wrapped in shiny silver tape. The USB ports these are plugged into on the board should correspond to the USB ports listed in the “**What I’m doing now**” and “**Devices**” sections on the web interface (USB ports 3 and 4 in the screenshot above).

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FGTejvtZfsG2DBZNB06VF%2Ffuncube.png?alt=media&amp;token=a297271c-595c-4f14-823b-35699241faa4" alt=""><figcaption></figcaption></figure>

## Downloading data from a SensorStation using FileZilla

If the download buttons on the web interface for SensorStation don’t work, or if you prefer to use FileZilla, you can use the FileZilla method to download data from SensorStations as well. The method is the same as for SensorGnomes, except that the credentials to connect are different.

### Equipment

{% columns %}
{% column %}
Ethernet cable

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2F2a9WTFAAZwgjy4RU1EiE%2Fimage.png?alt=media&amp;token=dded05fb-0a9d-4b9f-9859-1e9cc67b0feb" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}
USB to ethernet adapter (if no ethernet port on laptop you will need 2 adapters)

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FaswzIppNGA2NdIhszkv8%2Fimage.png?alt=media&amp;token=c90966d9-abc4-40d4-9950-cdf3b746865a" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}
Laptop (with FileZilla)![](https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FDJdoFTjwePbhMkkXPTqG%2Fimage.png?alt=media\&token=14ce08ba-83df-447c-a3a7-58fc760bee98)
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
**Note:** You will need to have the free program FileZilla installed on your laptop. Download here: <https://filezilla-project.org/download.php>.
{% endhint %}

### Connecting to SensorStation via Ethernet

1. First ensure that the SensorStation is ON and the LCD screen is lit.
2. Use any open USB port and insert USB to ethernet adapter.
3. Connect your ethernet cable to the adapter then to your laptop (either via a direct ethernet port or using another USB to ethernet adapter).

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FBtMCCfGGfxeTtvCfRCO5%2Fimage.png?alt=media&amp;token=f613f6b6-f947-4183-807e-4b8b6864b6cf" alt=""><figcaption></figcaption></figure>

### Downloading data via FileZilla

1. On your laptop, create a new folder on your Desktop and name it with the Motus station name and the date you are downloading data. This is where you will save the downloaded data.
2. While the SensorStation is connected to your laptop via Ethernet cable and USB-ethernet adapter, open FileZilla. In the left panel named “Local site:”, navigate to the folder you created on your laptop’s Desktop where you will save the downloaded data. Click on the folder so it appears in the bottom left panel.

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FX4HZ2w981nkXY5euHbO9%2Fimage.png?alt=media&amp;token=fc6f8c2e-478e-4f9f-9ecb-e66685e30fcf" alt=""><figcaption></figcaption></figure>

3. In the top left bar, enter the following:

* Host: **sftp\://sensorstation.local**
* Username: **ctt**
* Password: **ctt-station**

{% hint style="warning" %}
**Note**: Some of the older SensorStations have a different username and password (the host stays the same). If the above password doesn’t work, try **ctt-sensor** instead (keeping **ctt** as the username). If that still doesn’t work, try the username **pi** and the password **raspberry**.
{% endhint %}

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FWu03xU3uo4D3TeEJSSB2%2Fimage.png?alt=media&amp;token=3a504b57-540e-4deb-a052-47f949bd587e" alt=""><figcaption></figcaption></figure>

4. Click “Quickconnect”. There will be a pop-up window that says “server’s host key is unknown”. Click “OK” and continue.

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2Fk0RdpfsGt8ebvb5m6nA0%2Fimage.png?alt=media&amp;token=b733b085-da04-49bc-a9d7-b144ab1ce555" alt=""><figcaption></figcaption></figure>

5. In the right panel named “Remote site:”, you will see the file directory for the SensorStation. Click the “/” at the top. Expand the file directory and click on following folders: “data”, then “SGdata”. A list of files with folders for each date will appear in the bottom right pane. Select all the folders for the dates you want to download. (Click the earliest date, then scroll down to the current date, hold Shift and click the current date to select all folders from first to last date.)
6. Right click on the selected folders and click “Add to queue”. At the bottom left of the page, you will see a tab named “Queued files” with the number of files.
7. At the top left, click the “Transfer” menu button, then click “Process queue”. The files will begin copying to the folder you created on your laptop’s Desktop. You should see a progress bar and the number of “Queued files” decreasing and the number of “Successful transfers” increasing. Wait until the queued files finish transferring.

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FWDSihvK6tSrRyk3NjNwX%2Fimage.png?alt=media&amp;token=add762e3-4758-4676-95a0-6c84dccfc7bd" alt=""><figcaption></figcaption></figure>

8. To download station logs (which are helpful for troubleshooting issues), create a new folder in your Desktop or Documents with the station name, date, and indicate that it is logs (do **not** store logs in the same folder as sgdata). On Filezilla, on the right panel named “Remote site:”, you will see the file directory for the SensorStation. Click the “/” at the top. Expand the file directory and click on following folders: “var”, then “log”. Copy all of the files in the log folder you created on your laptop. Select all the folders and files in this folder.
9. Right click on the selected folders and click “Add to queue”. At the bottom left of the page, you will see a tab named “Queued files” with the number of files.
10. At the top left, click the “Transfer” menu button, then click “Process queue”. The files will begin copying to the folder you created on your laptop’s Desktop. You should see a progress bar and the number of “Queued files” decreasing and the number of “Successful transfers” increasing. Wait until the queued files finish transferring.
11. Check the folders you created on your Desktop – for the detection data, you should see a folder for each date there (all the transferred data). If the files are there, in FileZilla, you can click the button with a little white computer and a red X to disconnect the SensorStation.

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FgzRu75yU7yeOwNT0zQVG%2Fimage.png?alt=media&amp;token=d152669d-5705-4f9a-b822-019c7e3fe6e3" alt=""><figcaption></figcaption></figure>

12. You can now unplug your laptop from the SensorStation. Leave the SensorStation on and close the case.

## Downloading data from a SensorStation using a USB drive

### Equipment

{% columns %}
{% column %}

<p align="center">USB flash drive<br>(blank – no other files saved on the USB drive)</p>

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2Fg2wsRszUQQzzKABes4LM%2Fimage.png?alt=media&amp;token=9206078d-bf3b-47ad-849a-83f235d25a00" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}
Laptop (highly recommended, but optional)

<figure><img src="https://2565212148-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjf0K5m6GrB75xw7Xweac%2Fuploads%2FMx1IWb9zlxmJ1VUVCreb%2Fimage.png?alt=media&amp;token=ecd42f34-31a2-4bde-b5b9-0fc786c527e8" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Downloading data via USB

1. Use any open USB port and insert the USB flash drive.
2. Press **SELECT** to choose “**File Transfer**”.
3. Press **SELECT** to choose “**Mount USB**”. You should see a confirmation message saying “**USB Mount : success**”.
4. Press **BACK** to return to File Transfer menu.
5. Use the **DOWN** button to navigate to “**Download**” and press **SELECT**. You should see a confirmation message that the download has been successful.
6. Press **BACK** to return to File Transfer menu. Use the **DOWN** button to navigate to “**Unmount USB**” and press **SELECT**. Once you see the success confirmation you may remove the USB drive from the SensorStation.
7. We recommend you connect the USB to your laptop while at the station site to make sure that the files have been uploaded successfully.On the USB drive you will find several files including:

* GPS files
* Log files
* Raw-data files
* Two folders: SGData and uploaded


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.motus.org/en/stations/downloading-data/downloading-data-from-a-sensorstation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
