Skip to main content

Telemetry

Intro

This can serve as base examples on how to retrieve telemetry from the satellite. More detailed specifications can be found here.

Base URL

The base url for evey request is the following:

http://satellite-telemetry.dphi-tm

It will be referred to as BASE_URL in the rest of the documentation.

Example Workflow for simple telemetry tasks

  1. Check API status
curl "$BASE_URL/health"

Returns service status and timestamp.

  1. List available types
curl "$BASE_URL/api/telemetry/types"

Returns all supported telemetry types.

  1. Get telemetry records
curl "$BASE_URL/api/telemetry?datatype=temperature&limit=5"

Returns latest 5 temperature records.

Returns power telemetry records.

  1. Fetch stats or latest TLE
curl "$BASE_URL/api/telemetry/stats"
curl "$BASE_URL/api/telemetry/tle"

Returns telemetry stats or latest TLE string.

Full example curl for telemetry data:

curl "$BASE_URL/api/telemetry?starttime=2025-01-01T00:00:00Z&endtime=2025-01-02T00:00:00Z&datatype=temperature&limit=10"

Fisheye images workflow

To get the Images the Fisheye camera took, one can gather a list of files first :

curl "$BASE_URL/api/images/list"

An example of the returned JSON might look as follows :

{"success":true,"data":["example3.png","example2.png","example1.png"],"error":null,"count":3}

With this, one can either:

  • Get 1 single image, the result will be the image directly. One example to gather an image with curl would be :
curl -X POST -d '{"images": ["example3.png"]}' -H "Content-Type: application/json" http://satellite-telemetry.dphi-tm/api/images --output example3.png
  • Get multiple images zipped together :
curl -X POST -d '{"images": ["example3.png","example2.png"]}' -H "Content-Type: application/json" http://satellite-telemetry.dphi-tm/api/images --output example.zip
  • Finally get the whole set of images with a limit (Highly discouraged to go over 100 images as processing might take too long and timeout) :
curl -X POST -d '{"limit": 100}' -H "Content-Type: application/json" http://satellite-telemetry.dphi-tm/api/images --output example.zip

The zipped files are in fact not compressed, it uses the STORED algorithm, so it's more a convenient way to get multiple images at once.