Pulizia file e caricamento forzato immagini

This commit is contained in:
root
2026-04-18 15:00:45 +02:00
parent 6d88808c88
commit d9e885e462
3 changed files with 0 additions and 114 deletions
-114
View File
@@ -1,114 +0,0 @@
# 📡 ARIFVG Fleet Control Console
🌍 *[Read in English](#english) | 🇮🇹 [Leggi in Italiano](#italiano)*
---
<a name="english"></a>
## 🇬🇧 English
**Fleet Control Console** is a modern, real-time command and control (C2) dashboard designed for amateur radio repeater networks (MMDVM). It allows administrators and operators to monitor, manage, and configure remote digital voice nodes (DMR, NXDN, YSF, P25) entirely through a responsive web interface.
![Schermata Dashboard](images/dash.jpg)
### ✨ Features
* **Real-Time Telemetry:** Monitor CPU, RAM, Temperature, and Disk usage of remote nodes.
* **Live Transit Log:** Watch MMDVM transits in real-time (DMR, NXDN, YSF, P25) with dynamic TalkGroup and Network detection.
* **Remote Service Control:** Start, Stop, or Restart remote daemons (e.g., MMDVMHost, DMRGateway) directly from the browser.
* **Live INI Editor:** Edit configuration files of remote nodes directly from the web interface without SSH.
* **Profile Management:** Switch repeater configurations (Profile A/B) on the fly.
* **Modern UI:** Glassmorphism design with automatic Dark/Light mode and mobile-friendly layout.
* **Role-Based Access:** Secure login system with Admin and Operator roles (Node-specific permissions).
### 🏗️ Architecture
The system relies on an **MQTT Broker** for fast, asynchronous communication and is divided into two main components:
1. **Web Server (`app.py`):** A Flask-based backend that serves the UI, handles user authentication (SQLite), and communicates with the MQTT broker.
2. **Remote Agent (`system_monitor.py`):** A lightweight Python script running on each remote Raspberry Pi / Linux node. It reports hardware health and executes commands sent from the dashboard.
### 🚀 Installation & Setup
**1. Clone the repository**
```bash
git clone https://github.com/your-username/fleet-control-console.git
cd fleet-control-console
```
**2. Install requirements**
```bash
pip install flask paho-mqtt psutil werkzeug
```
**3. Configure the Server**
Rename the example configuration and client files:
```bash
mv config.example.json config.json
mv clients.example.json clients.json
```
Edit `config.json` with your MQTT broker credentials. Edit `clients.json` with the IDs and names of your remote nodes.
**4. Configure the Remote Nodes**
On each remote node, place the `node_agent/system_monitor.py` script.
Rename `monitor_config.example.ini` to `monitor_config.ini` and set the MQTT credentials matching the main server.
**5. Run the Server**
```bash
python3 app.py
```
Default login is `admin` / `admin123`. **Change this immediately** from the Admin panel!
---
<a name="italiano"></a>
## 🇮🇹 Italiano
**Fleet Control Console** è una dashboard di comando e controllo (C2) in tempo reale, progettata per le reti di ripetitori radioamatoriali (MMDVM). Permette ad amministratori e operatori di monitorare, gestire e configurare i nodi digitali remoti (DMR, NXDN, YSF, P25) interamente da un'interfaccia web responsiva.
![Schermata Dashboard](https://via.placeholder.com/800x400.png?text=Trascina+qui+il+tuo+screenshot+in+GitHub)
### ✨ Funzionalità
* **Telemetria in Tempo Reale:** Monitoraggio di CPU, RAM, Temperatura e Disco dei nodi remoti.
* **Log Transiti Live:** Visualizzazione dei transiti MMDVM in tempo reale con rilevamento dinamico dei TalkGroup e dei Network.
* **Controllo Servizi Remoto:** Avvia, Ferma o Riavvia i demoni remoti (es. MMDVMHost, DMRGateway) direttamente dal browser.
* **Editor INI Live:** Modifica i file di configurazione dei nodi remoti direttamente dall'interfaccia web, senza usare SSH.
* **Gestione Profili:** Commuta l'assetto del ripetitore (Profilo A/B) con un clic.
* **Interfaccia Moderna:** Design "Glassmorphism" fluido con modalità Chiara/Scura e layout ottimizzato per smartphone.
* **Accesso basato su Ruoli:** Sistema di login sicuro con ruoli Admin e Operatore (con permessi vincolati a nodi specifici).
### 🏗️ Architettura
Il sistema si affida a un **Broker MQTT** per la comunicazione asincrona e veloce, ed è diviso in due componenti principali:
1. **Web Server (`app.py`):** Un backend basato su Flask che fornisce l'interfaccia, gestisce l'autenticazione (SQLite) e parla con il broker MQTT.
2. **Agente Remoto (`system_monitor.py`):** Uno script Python leggero che gira su ogni Raspberry Pi / nodo Linux remoto. Invia i dati di salute hardware ed esegue i comandi ricevuti dalla dashboard.
### 🚀 Installazione e Configurazione
**1. Clona il repository**
```bash
git clone https://github.com/tuo-username/fleet-control-console.git
cd fleet-control-console
```
**2. Installa le dipendenze**
```bash
pip install flask paho-mqtt psutil werkzeug
```
**3. Configura il Server Principale**
Rinomina i file di esempio per la configurazione e i client:
```bash
mv config.example.json config.json
mv clients.example.json clients.json
```
Modifica `config.json` inserendo le credenziali del tuo broker MQTT. Modifica `clients.json` con gli ID e i nomi dei tuoi nodi remoti.
**4. Configura i Nodi Remoti**
Su ogni nodo remoto, copia lo script `node_agent/system_monitor.py`.
Rinomina `monitor_config.example.ini` in `monitor_config.ini` e inserisci le credenziali MQTT (le stesse del server).
**5. Avvia il Server**
```bash
python3 app.py
```
Il login di default è `admin` / `admin123`. **Cambiala immediatamente** dal pannello di Amministrazione!
---
*Created by IV3JDV @ ARIFVG - 2026*
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB