From f05a5197cd5d27d7196619bdcf9e91ad180247cc Mon Sep 17 00:00:00 2001 From: James Smith Date: Thu, 19 Mar 2026 14:55:48 +0000 Subject: [PATCH] Fix satellite target switching regression --- templates/satellite_dashboard.html | 6 +++++- utils/satnogs.py | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/templates/satellite_dashboard.html b/templates/satellite_dashboard.html index c632ba8..6cfd552 100644 --- a/templates/satellite_dashboard.html +++ b/templates/satellite_dashboard.html @@ -796,6 +796,9 @@ { description: 'APRS digipeater', downlink_low: 145.825, downlink_high: 145.825, uplink_low: null, uplink_high: null, mode: 'FM AX.25', baud: 1200, status: 'active', type: 'beacon', service: 'Packet' }, { description: 'SSTV events', downlink_low: 145.800, downlink_high: 145.800, uplink_low: null, uplink_high: null, mode: 'FM', baud: null, status: 'active', type: 'image', service: 'SSTV' } ], + 40069: [ + { description: 'Meteor LRPT weather downlink', downlink_low: 137.900, downlink_high: 137.900, uplink_low: null, uplink_high: null, mode: 'LRPT', baud: 72000, status: 'active', type: 'image', service: 'Weather' } + ], 57166: [ { description: 'Meteor LRPT weather downlink', downlink_low: 137.900, downlink_high: 137.900, uplink_low: null, uplink_high: null, mode: 'LRPT', baud: 72000, status: 'active', type: 'image', service: 'Weather' } ], @@ -1788,7 +1791,6 @@ } async function calculatePasses() { - const requestId = ++_passRequestId; const lat = parseFloat(document.getElementById('obsLat').value); const lon = parseFloat(document.getElementById('obsLon').value); const requestKey = getActivePassRequestKey(selectedSatellite); @@ -1799,6 +1801,8 @@ return; } + const requestId = ++_passRequestId; + if (container) { container.innerHTML = '
Calculating passes...
'; } diff --git a/utils/satnogs.py b/utils/satnogs.py index 2e2d067..d599086 100644 --- a/utils/satnogs.py +++ b/utils/satnogs.py @@ -55,6 +55,20 @@ _BUILTIN_TRANSMITTERS: dict[int, list[dict]] = { "service": "SSTV", }, ], + 40069: [ + { + "description": "Meteor LRPT weather downlink", + "downlink_low": 137.900, + "downlink_high": 137.900, + "uplink_low": None, + "uplink_high": None, + "mode": "LRPT", + "baud": 72000, + "status": "active", + "type": "image", + "service": "Weather", + }, + ], 57166: [ { "description": "Meteor LRPT weather downlink",