You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| DEBUG | `tutorial:*` | Debug flag used for logging |
226
+
| WEB_APP_PORT | `3000` | Port used by web-app which displays the dummy device data |
227
+
| DUMMY_DEVICES_PORT | `3001` | Port used by the dummy IoT devices to receive commands |
229
228
| DUMMY_DEVICES_API_KEY | `4jggokgpepnvsb2uv4s40d59ov` | Random security key used for JSON interactions - used to ensure the integrity of interactions between the devices and the IoT Agent |
230
-
| DUMMY_DEVICES_TRANSPORT | `MQTT` | The transport protocol used by the dummy IoT devices |
229
+
| DUMMY_DEVICES_TRANSPORT | `MQTT` | The transport protocol used by the dummy IoT devices |
231
230
232
231
The other `tutorial` container configuration values described in the YAML file are not used in this tutorial.
233
232
234
233
## IoT Agent for JSON Configuration
235
234
236
-
The [IoT Agent for JSON](https://fiware-iotagent-json.readthedocs.io/en/latest/) can be instantiated within a
237
-
Docker container. An official Docker image is available from [Docker Hub](https://hub.docker.com/r/fiware/iotagent-json/)
235
+
The [IoT Agent for JSON](https://fiware-iotagent-json.readthedocs.io/en/latest/) can be instantiated within a Docker
236
+
container. An official Docker image is available from [Docker Hub](https://hub.docker.com/r/fiware/iotagent-json/)
238
237
tagged `fiware/iotagent-json`. The necessary configuration can be seen below:
239
238
240
239
```yaml
@@ -284,7 +283,7 @@ The `iot-agent` container is driven by environment variables as shown:
284
283
| IOTA_LOG_LEVEL | `DEBUG` | The log level of the IoT Agent |
285
284
| IOTA_TIMESTAMP | `true` | Whether to supply timestamp information with each measurement received from attached devices |
286
285
| IOTA_CB_NGSI_VERSION | `v2` | Whether to supply use NGSI v2 when sending updates for active attributes |
287
-
| IOTA_AUTOCAST | `true` | Ensure JSON number values are read as numbers not strings |
286
+
| IOTA_AUTOCAST | `true` | Ensure JSON number values are read as numbers not strings |
288
287
| IOTA_MONGO_HOST | `context-db` | The hostname of mongoDB - used for holding device information |
289
288
| IOTA_MONGO_PORT | `27017` | The port mongoDB is listening on |
290
289
| IOTA_MONGO_DB | `iotagentul` | The name of the database used in mongoDB |
@@ -906,8 +905,8 @@ available. In other words the IoT Agent registered itself as a
906
905
[Context Provider](https://github.com/FIWARE/tutorials.Context-Providers/) for the command attributes.
907
906
908
907
Once the commands have been registered it will be possible to ring the **Bell**, open and close the **Smart Door** and
909
-
switch the **Smart Lamp** on and off by sending requests to the Orion Context Broker, rather than sending JSON
910
-
requests directly the IoT devices as we did in the
908
+
switch the **Smart Lamp** on and off by sending requests to the Orion Context Broker, rather than sending JSON requests
0 commit comments