mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-08-02 06:52:53 +02:00
d3590f9228
New app/observer.py: ObserverManager owns per-broker paho-mqtt clients (own network threads, QoS 0, LWT + retained status) and the packet fan-out. Packet decode/hash/format functions are ports of upstream meshcore-packet-capture including its legacy path fallbacks and unknown-version quirk; validated against 10 live packets from the reference observer network (hash/route/type/len all byte-identical). Adds paho-mqtt==2.1.0. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
39 lines
760 B
Plaintext
39 lines
760 B
Plaintext
# mc-webui Python Dependencies
|
|
|
|
# Web Framework
|
|
Flask==3.0.0
|
|
Werkzeug==3.0.1
|
|
|
|
# WSGI Server for production
|
|
gunicorn==21.2.0
|
|
|
|
# Configuration
|
|
python-dotenv==1.0.0
|
|
|
|
# Scheduled Tasks
|
|
APScheduler==3.10.4
|
|
|
|
# Date/Time Utilities
|
|
python-dateutil==2.8.2
|
|
|
|
# QR Code Generation
|
|
qrcode==7.4.2
|
|
Pillow==10.1.0
|
|
|
|
# HTTP Client for MeshCore Bridge communication
|
|
requests==2.31.0
|
|
|
|
# Cryptography for pkt_payload computation (AES-128-ECB)
|
|
pycryptodome==3.21.0
|
|
|
|
# WebSocket support for console (threading mode - no gevent needed)
|
|
flask-socketio==5.3.6
|
|
|
|
# Observer: MQTT packet publishing (meshcore-packet-capture compatible)
|
|
paho-mqtt==2.1.0
|
|
python-socketio==5.10.0
|
|
python-engineio==4.8.1
|
|
|
|
# v2: Direct MeshCore device communication (replaces bridge subprocess)
|
|
meshcore>=2.2.0
|