diff --git a/main.go b/main.go index 5173fb2..3acbb63 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ const ( mqttBroker = "mqtt.bayme.sh" mqttUsername = "meshdev" mqttPassword = "large4cats" - mqttTopicPrefix = "msh/US/CA/Motherlode" + mqttTopicPrefix = "msh/US/bayarea" // Web server configuration serverHost = "localhost" diff --git a/web/src/components/dashboard/GatewayList.tsx b/web/src/components/dashboard/GatewayList.tsx index 1ca94c3..30ead31 100644 --- a/web/src/components/dashboard/GatewayList.tsx +++ b/web/src/components/dashboard/GatewayList.tsx @@ -21,22 +21,13 @@ export const GatewayList: React.FC = () => { return b.lastHeard - a.lastHeard; }); - if (gatewayArray.length === 0) { - return ( -
Real-time view of your Meshtastic mesh network traffic
diff --git a/web/src/store/slices/aggregatorSlice.ts b/web/src/store/slices/aggregatorSlice.ts index 74550ec..ffd43c6 100644 --- a/web/src/store/slices/aggregatorSlice.ts +++ b/web/src/store/slices/aggregatorSlice.ts @@ -25,6 +25,9 @@ export interface NodeData { textMessageCount: number; channelId?: string; gatewayId?: string; + // Fields for gateway nodes + isGateway?: boolean; + observedNodeCount?: number; } export interface TextMessage {