iotedgefoundation/iot-edge-echo

By iotedgefoundation

Updated almost 4 years ago

Image
0

678

iotedgefoundation/iot-edge-echo repository overview

iot-edge-echo

IoT Edge module which visualizes incoming messages and outputs them unchanged. It's great for getting insights into your IoT Edge routing.

Introduction

This is a C# .Net Standard module, written for Azure IoTEdge version GA.

This module is a simple module that helps to go get insights about module outputs and outputted messages.

It's great to check the output from third party modules (eg. the Azure Stream Analytics module).

You can just put it next to another route to listen to the communication between these two routes.

Note: This module is not capable of splitting multiple streams of input data flowing through it.

Docker Hub

A version generated for Docker Linux can be found at https://hub.docker.com/r/svelde/iot-edge-echo/

You can pull it with docker pull svelde/iot-edge-echo but I suggest using svelde/iot-edge-echo:3.0.1-amd64 (for Linux containers) when you deploy it using the Azure portal or the IoT Edge deployment manifest.

Module Twin

This module does not support 'desired' or 'reported' properties.

Routing input and outputs

This module ingests telemetry messages using input input1.

The messages passed through are sent using output output1

Output messages

The output messages are the same as inputted message except for one extra property:

Properties.Add("content-type", "application/edge-output1-echo-json");
Routes

Use this example route:

{
  "routes": {
    "heartbeatToEcho": "FROM /messages/modules/heartbeat/outputs/output1 INTO BrokeredEndpoint(\"/modules/echo/inputs/input1\")",
    "route": "FROM /messages/modules/echo/outputs/output1/* INTO $upstream"
  }
}

Environment variables

On initialize, this module exposes all available environment variables in the logging.

Contribute

This logic is licensed under the MIT license.

Want to contribute? Throw in a pull request....

Sourcecode is available here.

Want to know more about me? Check out my blog

Tag summary

Content type

Image

Digest

sha256:9984db16d

Size

74.7 MB

Last updated

almost 4 years ago

docker pull iotedgefoundation/iot-edge-echo:3.0.9-amd64