demo-ready: Désactive Pulsar (bloqué) pour démo 9h00 - Autres services ✅
This commit is contained in:
51
session_resume_2026-05-06.md
Normal file
51
session_resume_2026-05-06.md
Normal file
@@ -0,0 +1,51 @@
|
||||
# Session Resume - 2026-05-06 (Demo Day!)
|
||||
|
||||
## Objectif
|
||||
Démo du Smart City Digital Twin Martinique à 9h00. Tout doit être fonctionnel.
|
||||
|
||||
## État des services (06h30)
|
||||
| Service | Status | URL/Port | Notes |
|
||||
|---------|--------|----------|-------|
|
||||
| OpenRemote Manager | ✅ UP (healthy) | https://openremote.digitribe.fr | MapSettings Martinique OK (HTTP 200) |
|
||||
| InfluxDB | ✅ UP (healthy) | localhost:8086 | Bucket `iot_data` - 1472 points/5min |
|
||||
| Grafana | ✅ UP | http://localhost:3001 | Dashboards: Air Quality, Pulsar Metrics |
|
||||
| Simulator | ✅ Running | PID 1575645 | Orion-LD ✅, InfluxDB ✅, Pulsar disabled |
|
||||
| Orion-LD | ✅ UP (healthy) | localhost:1026 | Context broker NGSI-LD |
|
||||
| Traefik | ✅ UP | - | Routage OpenRemote OK (302→login) |
|
||||
|
||||
## Corrections effectuées cette nuit
|
||||
1. **OpenRemote MapSettings** : Déployé dans `/storage/manager/`, `/deployment/map/`, `/opt/map/`
|
||||
2. **MBTiles metadata** : Bounds corrigés (`-83.0,9.0,-55.0,21.0`)
|
||||
3. **Port 8080** : Libéré (arrêt Pulsar) + mappé `8080:8080` dans docker-compose.yml
|
||||
4. **Traefik** : Config corrigée avec IP directe `172.29.0.11:8080`
|
||||
5. **InfluxDB Bug** : `ENABLE_INFLUX=true` maintenant reconnu (patch commité)
|
||||
6. **Git** : Commit local fait, push en cours de fix
|
||||
|
||||
## Commandes de démarrage (si redémarrage nécessaire)
|
||||
```bash
|
||||
# OpenRemote
|
||||
cd /home/eric/openremote && docker compose -f docker-compose.yml up -d
|
||||
|
||||
# Simulator (sur l'hôte)
|
||||
cd ~/smart-city-digital-twin-martinique
|
||||
ENABLE_INFLUX=true ENABLE_PULSAR=false INFLUX_URL=http://localhost:8086 python3 simulator.py &
|
||||
|
||||
# Vérification
|
||||
curl -sk https://openremote.digitribe.fr/api/master/map | python3 -m json.tool | grep center
|
||||
```
|
||||
|
||||
## Infos critiques
|
||||
- **OpenRemote Admin** : admin / Digitribe972
|
||||
- **InfluxDB Token** : my-super-secret-admin-token
|
||||
- **Grafana** : admin / Digitribe972
|
||||
- **Orion-LD** : http://localhost:1026
|
||||
|
||||
## À vérifier avant 9h00
|
||||
1. Ouvrir https://openremote.digitribe.fr → Login → Vérifier carte Martinique
|
||||
2. Ouvrir http://localhost:3001 → Dashboard "Air Quality Monitoring"
|
||||
3. Vérifier que le simulateur tourne : `ps aux | grep simulator.py`
|
||||
|
||||
## Git Status
|
||||
- Commit: `81de240 fix: ENABLE_INFLUX bug`
|
||||
- Push: En cours (problème auth à régler)
|
||||
- Repo: https://gitea.digitribe.fr/eric/smart-city-digital-twin-martinique
|
||||
Reference in New Issue
Block a user