Sign inSign up

asami76/iot-sensor

By asami76

Updated over 2 years ago

Image
0

50

asami76/iot-sensor repository overview

Github repo for the image is https://github.com/ahmedsami76/iot-sensor

This is a sensor simulator that:

  • Sends telemetry data to azure iot hub
  • Receives c2d messages
  • Receives c2d method invocation (namely TurnFanOn and TurnFanOff)

Requirements:

  • make sure you have Azure IoT hub created in Azure and a container in a Blob storage configured for file upload.
  • A .env file with the environment variables below:

IoTHub__IoTHubName=
IoTHub__DeviceId=
IoTHub__Key=
FILE_UPLOAD_PATH=
Sample usage:
docker run --rm --env-file .env -e FILE_UPLOAD_PATH=/data/upload_me.txt -v "$(pwd)/data":/data --name iot-sensor-container iot-sensor:v2

Tag summary

Content type

Image

Digest

sha256:13deebb9f

Size

89.1 MB

Last updated

over 2 years ago

docker pull asami76/iot-sensor:v2