Skip to content

imexh/azure-iot-hub-device-node

 
 

Repository files navigation

azure-iot-hub-device-node

This is a simple Node.js application written in JavaScript to run a simulated Azure IoT Hub device.

Prerequisites

Make sure you have the following installed on your machine:

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/priyanthabuddhika/azure-iot-hub-device-node.git
  2. Navigate to the project directory:

    cd azure-iot-hub-device-node
  3. Install dependencies:

    npm install
  4. Open the index.js file in your preferred code editor.

  5. Locate the main function in the code:

  6. Replace "<SMART-PLUG-CONNECTION-STRING>" with your actual device connection string.

Running the Application

To run the application, use the following command:

npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%