3ff7372d19 | ||
---|---|---|
.vscode | ||
images | ||
src | ||
test | ||
typings | ||
.gitignore | ||
.vscodeignore | ||
README.md | ||
package.json | ||
tsconfig.json |
README.md
Azure IoT Toolkit
Toolkit makes Azure IoT Development easier
Features
[*] Send messages to Azure IoT Hub (device-to-cloud message)
[*] Monitor device-to-cloud messages
[ ] Send messages from Azure IoT Hub to device (cloud-to-device message)
[*] Device management (List, Create, Delete)
[*] Discover devices connected via Ethernet, USB serial and WiFi
[ ] And more...
Commands
Command | Keyboard Shortcuts | Menu Contexts |
---|---|---|
Send message to IoT Hub | Ctrl+Alt+F9 | editor/context |
Start monitoring | Ctrl+Alt+F10 | editor/context |
Stop monitoring | Ctrl+Alt+F11 | editor/context |
List device | Ctrl+Alt+F1 | editor/context |
Create device | Ctrl+Alt+F2 | editor/context |
Delete device | Ctrl+Alt+F3 | editor/context |
Discover device | Ctrl+Alt+F6 | editor/context |
Usages
-
Send messages to Azure IoT Hub
-
Monitor device-to-cloud messages
-
Device management (List, Create, Delete)
-
Discover Ethernet, USB serial, WiFi devices
- Install device-discovery-cli:
$ npm install --global device-discovery-cli
- Discover devices in VS Code:
Configuration
To set the Device Connection String which is used to send device-to-cloud message:
{
"azure-iot-toolkit.deviceConnectionString": "HostName=<my-hub>.azure-devices.net;DeviceId=<known-device-id>;SharedAccessKey=<known-device-key>"
}
To set the IoT Hub Connection String to monitor device-to-cloud message:
{
"azure-iot-toolkit.iotHubConnectionString": "HostName=<my-hub>.azure-devices.net;SharedAccessKeyName=<my-policy>;SharedAccessKey=<my-policy-key>"
}
To set the IoT Hub Consumer Group (default is "$Default"):
{
"azure-iot-toolkit.consumerGroup": "$Default"
}
Telemetry data
By default, anonymous telemetry data collection is turned on to understand user behavior to improve this extension. To disable it, update the settings.json as below:
{
"azure-iot-toolkit.enableAppInsights": false
}
Change Log
0.0.3
- Discover Ethernet, USB serial, WiFi devices
0.0.2
- Device management (List, Create, Delete)
0.0.1
- Send messages to Azure IoT Hub
- Monitor device-to-cloud messages
Issues
Submit the issues if you find any bug or have any suggestion.
Contribution
Fork the repo and submit pull requests.