Skip to main content

Simulated Source

The DSK Edge Simulated Sensor allows to simulate a data source on the edge side for testing purposes. The generated data for the streams is transmitted to the DSK Agent via our MQTT broker.

Automated setup#

During the automated setup of the DSK Agent you can select to additionally deploy the DSK Edge Simulated Sensor for test data generation.

Deploy Simulated Sensor

Afterwards you can continue with connecting to, linking & configuring the DSK Edge Agent and the Simulated Sensor/Source.

Manual setup#

For the manual setup of the DSK Edge Simulated Sensor (simulated-sensor) we need the main DSK Edge services as a basis.

  • Copy the docker-compose.override.yml file.
    (see also Docker doc - Understanding multiple Compose files)

    docker-compose.override.yml
    version: "3.3"
    services:  simulated-sensor:    image: ${DOCKER_REGISTRY-tributech.azurecr.io/}simulated-sensor:${TAG:-latest}    depends_on:      - mosquitto-server      - dsk-agent    environment:      - MqttOptions__MQTTHost=mosquitto-server      - Logging__LogLevel__Default=Information    networks:      - edge-net    restart: unless-stopped    logging:      driver: "json-file"      options:        max-size: "2m"        max-file: "5"
  • Startup all DSK Edge services including the Simulated Sensor (will automatically retrieve the Docker images).

    docker-compose up -d
  • You can now continue with connecting to, linking & configuring the DSK Edge Agent and the Simulated Sensor/Source.