Remove LoRa/ISM mode (redundant with 433MHz)

The LoRa mode was removed because:
- rtl_433 cannot decode actual LoRa (CSS modulation)
- The 433MHz mode already handles ISM band devices
- True LoRa decoding requires specialized tools like gr-lora

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-08 17:07:36 +00:00
parent 54514fddec
commit af35ba9f88
5 changed files with 5 additions and 893 deletions
+1 -11
View File
@@ -103,11 +103,6 @@ satellite_process = None
satellite_queue = queue.Queue(maxsize=QUEUE_MAX_SIZE)
satellite_lock = threading.Lock()
# LoRa/ISM band
lora_process = None
lora_queue = queue.Queue(maxsize=QUEUE_MAX_SIZE)
lora_lock = threading.Lock()
# ============================================
# GLOBAL STATE DICTIONARIES
# ============================================
@@ -309,7 +304,6 @@ def health_check() -> Response:
'adsb': adsb_process is not None and (adsb_process.poll() is None if adsb_process else False),
'wifi': wifi_process is not None and (wifi_process.poll() is None if wifi_process else False),
'bluetooth': bt_process is not None and (bt_process.poll() is None if bt_process else False),
'lora': lora_process is not None and (lora_process.poll() is None if lora_process else False),
},
'data': {
'aircraft_count': len(adsb_aircraft),
@@ -323,7 +317,7 @@ def health_check() -> Response:
@app.route('/killall', methods=['POST'])
def kill_all() -> Response:
"""Kill all decoder and WiFi processes."""
global current_process, sensor_process, wifi_process, adsb_process, lora_process
global current_process, sensor_process, wifi_process, adsb_process
# Import adsb module to reset its state
from routes import adsb as adsb_module
@@ -357,10 +351,6 @@ def kill_all() -> Response:
adsb_process = None
adsb_module.adsb_using_service = False
# Reset LoRa state
with lora_lock:
lora_process = None
return jsonify({'status': 'killed', 'processes': killed})