A service for handling core functionality in the IoT platform
Design
flowchart LR
iot-core--rabbitMQ-->handler
transformer--http-->context-broker
subgraph iot-transform-fiware
handler-->transformer-registry-->transformer
end
Dependencies
Transformers purpose is to transform measurements into Smart Data Models (FIWARE). Additional transformers could easily be developed using the context-broker client api and decorator functions.
AirQualityObserved
Specification
An observation of air quality conditions at a certain place and time.
IndoorEnvironmentObserved
Specification
An observation of air and climate conditions for indoor environments.
GreenspaceRecord
Specification
This entity contains a harmonised description of the conditions recorded on a particular area or point inside a greenspace (flower bed, garden, etc.).
Device
Specification
An apparatus (hardware + software + firmware) intended to accomplish a particular task (sensing the environment, actuating, etc.).
Lifebuoy
Specification
Custom Smart Data Model
WeatherObserved
Specification
An observation of weather conditions at a certain place and time. This data model has been developed in cooperation with mobile operators and the GSMA.
WaterQualityObserved
Specification
Water Quality data model is intended to represent water quality parameters at a certain water mass (river, lake, sea, etc.) section
WaterConsumptionObserved
Specification
The Smart Water Meter model captures water consumption, customer side leak alarms and associated flow rate originating from the smart water meters
Build and test
Build
docker build -f deployments/Dockerfile . -t diwise/iot-transform-fiware:latest
Test
Testing is best done using unit tests. For integration testing the preferred way is to use docker-compose.yaml
found in repository diwise
Configuration
Environment variables
"RABBITMQ_HOST": "<rabbit mq hostname>"
"RABBITMQ_PORT": "5672"
"RABBITMQ_VHOST": "/"
"RABBITMQ_USER": "user"
"RABBITMQ_PASS": "bitnami"
"RABBITMQ_DISABLED": "false"
"NGSI_CB_URL":"<http://context-broker>"
CLI flags
none
Configuration files
none
Links
iot-transform-fiware on diwise.github.io