{# sat_positions live position telemetry. Fields from payload->data->data. #} {% set d = (event.data.get('data') or {}).get('data') or {} %} {% if d.get('satellite_name') is not none %}
Satellite
{{ d.satellite_name }} (NORAD {{ d.norad_id }})
{% endif %} {% if d.get('lat_deg') is not none and d.get('lon_deg') is not none %}
Sub-satellite point
{{ "%.4f"|format(d.lat_deg) }}°, {{ "%.4f"|format(d.lon_deg) }}°
{% endif %} {% if d.get('alt_km') is not none %}
Altitude
{{ "%.1f"|format(d.alt_km) }} km
{% endif %} {% if d.get('velocity_kmps') is not none %}
Velocity
{{ "%.3f"|format(d.velocity_kmps) }} km/s
{% endif %} {% if d.get('heading_deg') is not none %}
Heading
{{ "%.1f"|format(d.heading_deg) }}°
{% endif %} {% if d.get('tle_epoch') is not none %}
TLE epoch
{{ d.tle_epoch }}
{% endif %}