Eric FELIXINE
|
943836f8fb
|
feat: activate BunkerM MQTT broker + fix Telegraf
- BunkerM: recreated with port 1883 (external) -> 1900 (internal)
- BunkerM: disabled dynsec plugin, using password_file auth (bunker/bunker)
- Simulator: ENABLE_BUNKER=1, BUNKERM_PORT=1900
- Telegraf: reactivated BunkerM consumer on port 1900
- Telegraf: recreated container (3 MQTT consumers connected)
- Grafana: dashboard v4 with corrected Flux queries
- Grafana: datasource fixed (bucket=smartcity, token=my-super-token)
Verified:
- Simulator publishes to EMQX ✅, Mosquitto ✅, BunkerM ✅
- Telegraf receives from all 3 brokers ✅
- InfluxDB has data from all brokers ✅
- Grafana dashboard displays data ✅
|
2026-05-25 20:03:55 -04:00 |
|
Eric FELIXINE
|
6d1d9c8620
|
fix: telegraf containers names + openremote pg image + session snapshot 2026-05-25
- telegraf.conf: fix Mosquitto/BunkerM container names (hyphens not underscores)
- tegraf.conf: comment out BunkerM consumer (auth fails, simulator not sending)
- openremote/docker-compose.yml: switch PG image to timescaledb-ha:pg15 (fixes timescaledb_toolkit crash)
- Add session_resume + architecture snapshot 2026-05-25
- Update TODO.md with current status
|
2026-05-25 14:13:39 -04:00 |
|
Eric FELIXINE
|
47746b584c
|
fix: OpenRemote PUT 403/409, MQTTv5 callback, geojson-proxy API REST
- simulator.py: Fix MQTTv5 callback crash (5th arg *args)
- simulator.py: Fix _or_put() - GET version+realm before PUT, inject version in payload
- simulator.py: Fix token TTL (min 30s cache)
- simulator.py: Round-robin OR updates (~5 assets/iteration instead of 60)
- geojson-proxy: Rewrite using REST API instead of psycopg2 (PG auth issue)
- geojson-proxy: Add sensorType + attributes in properties for map styling
- docker-compose.yml: Add openremote_default network + DB vars for proxy
- docker-compose.yml: Add OR_REALM=master for geojson-proxy
Resolves: OpenRemote 403 (wrong realm in payload), 409 (missing version),
MQTTv5 callback crash, geojson-proxy DB connection failure
|
2026-05-18 10:04:12 -04:00 |
|
Eric FELIXINE
|
7477410813
|
Session 2026-05-17: GeoServer, PostGIS dédié, MapStore, ChirpStack
- GeoServer: workspace Digitribe + Data Store PostGIS dédié
- PostGIS dédié: conteneur postgis-smartcity (PostGIS 3.4)
- Couche sensors: 55 capteurs IoT importés depuis OpenRemote
- MapStore: GeoServer WMS ajouté au CORS
- ChirpStack: credentials réinitialisés (admin/admin1234)
- BunkerM: DNS corrigé (underscores → hyphens)
- Ditto: config MongoDB et auth devops
- Documentation: session_resume + TODO.md
|
2026-05-17 19:18:24 -04:00 |
|
Eric FELIXINE
|
918c03dffa
|
fix: Simulateur MQTT 3/4 + OpenRemote master + Mapsettings
- MQTT OK: 3/4 (EMQX, Mosquitto, BunkerM)
- OpenRemote: utilise realm master (token fonctionnel)
- Realm smartcity recréé dans Keycloak
- Assets IOTSensor créés dans master (30) et smartcity (30)
- Mapsettings: layers iot-sensors + labels pour master et smartcity
- INTERVAL=5s, réseau openremote_default ajouté
- Dockerfile: --no-cache rebuild
|
2026-05-11 14:19:53 -04:00 |
|
Eric FELIXINE
|
dfaa240d5a
|
fix: Stabilisation complète Smart City Digital Twin Martinique
- Correction simulateur: nettoyage code FIWARE (erreurs syntaxe)
- Grafana: dashboard complet 10 panneaux sur grafana.digitribe.fr
- InfluxDB: datasource corrigée (bucket smartcity, org digitribe)
- Nettoyage: suppression services FIWARE (Orion-LD, Stellio, QuantumLeap)
- Pipeline validé: Simulator → 3 MQTT brokers → Telegraf → InfluxDB → Grafana
- Dashboard URL: https://grafana.digitribe.fr/d/smartcity-martinique-complete/
Architecture simplifiée:
- 3 MQTT brokers (EMQX, Mosquitto, BunkerM)
- Telegraf pour agrégation
- InfluxDB pour stockage time-series
- Grafana pour visualisation (Traefik: grafana.digitribe.fr)
|
2026-05-08 01:10:30 -04:00 |
|
Eric FELIXINE
|
0ba25ef1a8
|
Session 2026-05-06: QuantumLeap+CrateDB, Telegraf debug, MapStore GeoServer fix
|
2026-05-06 13:23:58 -04:00 |
|
Eric FELIXINE
|
06249f67d6
|
fix: Stabilisation pré-démo - Simulator host-mode, Pulsar disabled, config patch
|
2026-05-05 15:42:57 -04:00 |
|
Eric FELIXINE
|
98954e86fb
|
fix: Redpanda start.sh + FROST direct simulator + Prometheus config
- Redpanda : correction start.sh (v24.3.14)
- FROST : ENABLE_FROST=true dans simulator (test direct)
- Pulsar : distribution.py mis à jour (mais ConnectError)
- Prometheus : config ajoutée (prometheus.yml)
- Grafana : datasources prêtes
|
2026-05-05 11:29:07 -04:00 |
|
Eric FELIXINE
|
5d4e9cb82d
|
refactor: simulator now sends ONLY to Pulsar (not direct to brokers)
- Disabled ENABLE_MQTT, ENABLE_ORION, ENABLE_STELLIO, ENABLE_FROST in docker-compose.yml
- Simulateur → Pulsar (ingestion)
- Pulsar Distribution Service → Brokers (MQTT, NGSI-LD, FROST)
- Updated INTERVAL to 1s for real-time
- Updated session resume
|
2026-05-05 10:26:40 -04:00 |
|
Eric FELIXINE
|
01c2be4930
|
feat(simulator): real-time (1s), fix ENABLE_PULSAR, add Pulsar/Redpanda publish, fix InfluxDB URL
- Change INTERVAL to 1s for real-time sensor data
- Fix ENABLE_PULSAR comparison (accept 'true'/'false' strings)
- Add publish_pulsar() and publish_redpanda() functions
- Fix InfluxDB URL (smart-city-influxdb instead of digital-twin-influxdb)
- Add docker-compose.yml with simulator service
- Add redpanda config and start script
- Add session_resume_2026-05-05.md
|
2026-05-05 02:53:43 -04:00 |
|