Renombrar FlotillasGPS a ADAN en todo el proyecto
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Integracion Meshtastic
|
||||
|
||||
Guia para configurar dispositivos Meshtastic con FlotillasGPS.
|
||||
Guia para configurar dispositivos Meshtastic con ADAN.
|
||||
|
||||
## Que es Meshtastic
|
||||
|
||||
@@ -11,7 +11,7 @@ Meshtastic es una plataforma de comunicacion mesh usando radio LoRa:
|
||||
- **Bajo costo**: Dispositivos desde $20 USD
|
||||
- **Bajo consumo**: Semanas de bateria
|
||||
|
||||
### Casos de Uso en Flotillas
|
||||
### Casos de Uso en ADAN
|
||||
|
||||
- Vehiculos en zonas rurales sin cobertura celular
|
||||
- Operaciones en minas, campos, areas remotas
|
||||
@@ -48,7 +48,7 @@ Meshtastic es una plataforma de comunicacion mesh usando radio LoRa:
|
||||
| MQTT / Internet
|
||||
v
|
||||
[Tu Servidor]
|
||||
FlotillasGPS
|
||||
ADAN
|
||||
```
|
||||
|
||||
---
|
||||
@@ -153,7 +153,7 @@ meshtastic --set mqtt.enabled true
|
||||
meshtastic --set mqtt.address tu-servidor.com
|
||||
meshtastic --set mqtt.username mesh_gateway
|
||||
meshtastic --set mqtt.password tu_password
|
||||
meshtastic --set mqtt.root_topic flotillas/mesh
|
||||
meshtastic --set mqtt.root_topic adan/mesh
|
||||
meshtastic --set mqtt.encryption_enabled true
|
||||
meshtastic --set mqtt.json_enabled true
|
||||
```
|
||||
@@ -168,7 +168,7 @@ MQTT Enabled: true
|
||||
MQTT Server: tu-servidor.com:1883
|
||||
MQTT Username: mesh_gateway
|
||||
MQTT Password: tu_password
|
||||
Root Topic: flotillas/mesh
|
||||
Root Topic: adan/mesh
|
||||
JSON Enabled: true
|
||||
```
|
||||
|
||||
@@ -190,7 +190,7 @@ mosquitto_passwd -c /etc/mosquitto/passwd mesh_gateway
|
||||
# Ingresar password
|
||||
```
|
||||
|
||||
Configuracion `/etc/mosquitto/conf.d/flotillas.conf`:
|
||||
Configuracion `/etc/mosquitto/conf.d/adan.conf`:
|
||||
```
|
||||
listener 1883
|
||||
allow_anonymous false
|
||||
@@ -207,12 +207,12 @@ systemctl restart mosquitto
|
||||
Suscribirse al topic para ver mensajes:
|
||||
|
||||
```bash
|
||||
mosquitto_sub -h localhost -t "flotillas/mesh/#" -u mesh_gateway -P tu_password
|
||||
mosquitto_sub -h localhost -t "adan/mesh/#" -u mesh_gateway -P tu_password
|
||||
```
|
||||
|
||||
Deberian aparecer mensajes JSON cuando los nodos envien posicion.
|
||||
|
||||
### 3. Configurar en FlotillasGPS
|
||||
### 3. Configurar en ADAN
|
||||
|
||||
Variables de entorno en `.env`:
|
||||
```bash
|
||||
@@ -220,7 +220,7 @@ MQTT_HOST=localhost
|
||||
MQTT_PORT=1883
|
||||
MQTT_USER=mesh_gateway
|
||||
MQTT_PASSWORD=tu_password
|
||||
MQTT_TOPIC=flotillas/mesh/#
|
||||
MQTT_TOPIC=adan/mesh/#
|
||||
```
|
||||
|
||||
---
|
||||
@@ -319,7 +319,7 @@ Cada vehiculo puede actuar como relay si esta configurado como ROUTER_CLIENT.
|
||||
|
||||
1. Verificar que el gateway recibe mensajes:
|
||||
```bash
|
||||
mosquitto_sub -h localhost -t "flotillas/mesh/#" -u mesh_gateway -P password
|
||||
mosquitto_sub -h localhost -t "adan/mesh/#" -u mesh_gateway -P password
|
||||
```
|
||||
|
||||
2. Verificar que el nodo esta en el mismo canal:
|
||||
|
||||
Reference in New Issue
Block a user