vrindamarukansal / azure-iot-starterkit-setuputil

An application that sets the IP address and status of the IoT device in its device twin's tags

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

azure-iot-starterkit-setuputil

This repository contains a simple Node.js application for setting the IoT device's IP address and status in its device twin tags. It will retry up to 5 times before exiting.

Getting Started

Prerequisites

  • Node.js
  • Docker

Quickstart

  1. git clone https://github.com/Azure-Samples/azure-iot-starterkit-setuputil.git
  2. cd azure-iot-starterkit-setuputil
  3. docker build -t azure-iot-starterkit-setuputil .
  4. docker run -e "HUB_CONNECTION_STRING=<YOUR_HUB_CONNECTION_STRING>" -e "DEVICE_ID=<YOUR_DEVICE_ID>" -e "DEVICE_IP_ADDRESS=<YOUR_IP_ADDRESS>" -e "STATUS=<STATUS_STRING>" --rm azure-iot-starterkit-setuputil

About

An application that sets the IP address and status of the IoT device in its device twin's tags

License:MIT License


Languages

Language:JavaScript 100.0%