How fabiocabrini/fiware works
FIWARE Descomplicado packages a Docker-based FIWARE IoT stack, with a Smart Lamp example and historical-data viewers. The principal workflow is device telemetry and commands through MQTT/IoT integration into context and historical services, followed by dashboard retrieval and display. The README excerpt documents the principal FIWARE enablers, but the deployment files and firmware were not sampled; their detailed wiring is therefore not asserted. Dashed links mark that unverified integration.
Main entry points: docker-compose.yml Docker stack · mosquitto.conf Mosquitto broker · api-sth.py STH data fetch · matplotlib_dashboard.py Plot dashboard
Components 14
FIWARE stack
- Docker stack
docker-compose.yml - Draco stack
docker-compose-draco.yaml - Orion broker
docker-compose.yml - MQTT IoT Agent
docker-compose.yml - Mosquitto broker
mosquitto/mosquitto.conf - MongoDB
docker-compose.yml
Lamp devices
- ESP32 lamp
fiware_ngsi_mqtt_esp32.ino - Lamp simulator
esp32_mockup_SmartLamp.py
History and dashboards
- STH-Comet
docker-compose.yml - STH data fetch
api-sth.py - Live dashboard
api-sth.py - Plot dashboard
matplotlib_dashboard.py
Other components
- Operator
- Dashboard user
Connections 17
- Operator → Docker stack: starts stack
- Docker stack → Orion broker: configures
- Docker stack → MQTT IoT Agent: configures
- Docker stack → Mosquitto broker: configures
- Docker stack → MongoDB: configures
- Docker stack → STH-Comet: configures
- Draco stack → Docker stack: extends
- ESP32 lamp → Mosquitto broker: publishes telemetry
- Lamp simulator → Mosquitto broker: publishes telemetry
- Mosquitto broker → MQTT IoT Agent: routes MQTT
- MQTT IoT Agent → Orion broker: updates context
- Orion broker → STH-Comet: stores history
- STH data fetch → STH-Comet: fetches history
api-sth.py - Live dashboard → STH data fetch: requests data
api-sth.py - Plot dashboard → STH-Comet: fetches history
matplotlib_dashboard.py - Dashboard user → Live dashboard: views data
- Dashboard user → Plot dashboard: views plot