Azure IoT EdgeHub Dev Tool
Project description
Azure IoT EdgeHub Dev Tool
The Azure IoT EdgeHub Dev Tool provide a local development experience with a simulated EdgeHub environment for creating, developing, testing, running, and debugging Azure IoT Edge modules and solutions.
- The Edge solution could be run with the simulated EdgeHub locally without pushing image and creating deployment
- It helps to debug the module on the host (not in container) with the EdgeHub
Installing
- Install Docker CE on Windows, macOS or Linux.
Note: On Windows, please make sure the Docker is in Linux mode.
- Install Python (2.7/3.6) and Pip
- Install iotedgehubdev by running below command in your terminal
pip install --upgrade iotedgehubdev
Quickstart
-
Setup
iotedgehubdev setup -c <edge-device-connection-string>
-
Start/Stop an IoT Edge Solution in simulator
iotedgehubdev start -d <path/to/deployment manifest> iotedgehubdev stop
-
Start and debug a single module natively
-
Start the module with specific input(s)
iotedgehubdev start -i <module-inputs>
For example:
iotedgehubdev start -i "input1,input2"
-
output the module credential environment variables
iotedgehubdev modulecred
-
Start the module natively with the environment variables got from previous step
-
Send message to the module through restful api.
For example:
curl --header "Content-Type: application/json" --request POST --data '{"inputName": "input1","data": "hello world"}' http://localhost:53000/api/v1/messages
-
Other resources
Data/Telemetry
This project collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more.
If you don’t wish to send usage data to Microsoft, You can change your telemetry settings by updating collect_telemetry
to no
in the ini file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file iotedgehubdev-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: iotedgehubdev-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6880132ae1265bf134419f0d85600dcd0267df964e9d4d0be6a2f560b53026 |
|
MD5 | 0d6a1e594565c957646e2d4eaec3df1a |
|
BLAKE2b-256 | f6bf63e98024a6ef5ad0538dfcc8213e101671744d4a56e6c53102eede911f74 |