fix: add paho-mqtt dependency + improve Infonet sync status labels

paho-mqtt was missing from pyproject.toml, causing the Meshtastic MQTT
bridge to silently disable itself in Docker — no live chat messages
could be received. Also improve Infonet node status labels: show
RETRYING when sync fails instead of misleading SYNCING, and WAITING
when node is enabled but no sync has run yet.
This commit is contained in:
anoracleofra-code
2026-03-26 15:45:11 -06:00
parent b03dc936df
commit 12cf5c0824
3 changed files with 15 additions and 1 deletions
@@ -49,10 +49,12 @@ export default function NetworkStats() {
}, []);
const nodeColor = stats.syncOutcome === 'ok' ? 'text-green-400'
: stats.syncOutcome === 'running' ? 'text-amber-400'
: stats.nodeEnabled ? 'text-amber-400' : 'text-gray-600';
const nodeLabel = stats.syncOutcome === 'ok' ? 'CONNECTED'
: stats.syncOutcome === 'running' ? 'SYNCING'
: stats.nodeEnabled ? 'SYNCING' : 'OFFLINE';
: stats.syncOutcome === 'error' || stats.syncOutcome === 'fork' ? 'RETRYING'
: stats.nodeEnabled ? 'WAITING' : 'OFFLINE';
return (
<div className="flex flex-wrap items-center justify-center gap-x-5 gap-y-1 mt-5 text-sm font-mono text-gray-500">