# Snapshot 2026-05-26 — Smart City Digital Twin Martinique ## État des services ### Pipeline de données ✅ FONCTIONNEL ``` Simulateur (60 capteurs) → EMQX + Mosquitto → Telegraf → InfluxDB → Grafana ``` ### Containers UP | Container | Status | Notes | |-----------|--------|-------| | smart-city-simulator | ✅ Up 2j | 60 capteurs, MQTT OK | | smart-city-telegraf | ✅ Up | Connecté EMQX + Mosquitto | | smart-city-influxdb | ✅ Up healthy | Bucket `smartcity` with data | | smart-city-grafana | ✅ Up | Dashboard v3, datasource corrigé | | openremote-postgresql | ✅ Up healthy | timescaledb-ha:pg15 | | openremote-keycloak | ✅ Up | Recréé manuellement | | openremote-manager | ❌ Crash loop | Flyway corrigé mais PG recréé | | contexus-app | ⚠️ Unhealthy | Postgres/Redis OK | | contexus-postgres | ✅ Up healthy | | | contexus-redis | ✅ Up healthy | | ### Containers DOWN (intentionnel pour CPU) - ThingsBoard, Pulsar, Redpanda, FROST, Stellio, Orion-LD ## Données InfluxDB confirmées - Bucket: `smartcity` - Measurement: `mqtt_consumer` - Tag `topic`: `smartcity/{type}/{id}` (ex: `smartcity/airquality/1`) - Types: airquality(20), parking(20), traffic(10), weather(10), light(5), noise(5) ## Grafana Dashboard - UID: `smartcity-martinique-complete` - URL: https://grafana.digitribe.fr/d/smartcity-martinique-complete/smart-city-digital-twin-martinique-complet - Version: 3 (15 panels, requêtes Flux corrigées) - Datasource: InfluxDB-SmartCity-Correct (uid: dd1bfc24-...) ## Fichiers modifiés cette session - `grafana-datasources.yml` - `grafana-dashboard-smartcity.json` - `grafana/provisioning/dashboards/smart-city-dashboards.json` - `grafana/provisioning/datasources/datasources.yml` - `openremote/docker-compose.yml` (OR_SETUP_TYPE: "default") - `TODO.md` (home + projet) - `session_resume_2026-05-26.md` (nouveau) ## Commit - `5bbd5a6` — "fix: Grafana dashboard 'no data' — datasource + Flux queries" - Push Gitea: ❌ (502 Bad Gateway) ## Prochaines étapes 1. Recloner le répertoire (décision utilisateur) 2. Relancer OpenRemote après reclonage 3. Push Gitea quand le serveur sera accessible 4. Configurer les 60 devices Contexus 5. Activer BunkerM dans Telegraf