Azure IoT Hub extension for Visual Studio Code
Перейти к файлу
formulahendry 3ff7372d19 minor change for README 2016-11-06 05:32:01 +00:00
.vscode first commit 2016-10-28 13:46:08 +08:00
images Discover devices connected via Ethernet, USB serial and WiFi 2016-11-06 05:27:32 +00:00
src Discover devices connected via Ethernet, USB serial and WiFi 2016-11-06 05:27:32 +00:00
test first commit 2016-10-28 13:46:08 +08:00
typings first commit 2016-10-28 13:46:08 +08:00
.gitignore first commit 2016-10-28 13:46:08 +08:00
.vscodeignore first commit 2016-10-28 13:46:08 +08:00
README.md minor change for README 2016-11-06 05:32:01 +00:00
package.json Discover devices connected via Ethernet, USB serial and WiFi 2016-11-06 05:27:32 +00:00
tsconfig.json first commit 2016-10-28 13:46:08 +08:00

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

    Send

  • Monitor device-to-cloud messages

    Monitor

  • Device management (List, Create, Delete)

    Device

  • Discover Ethernet, USB serial, WiFi devices

    1. Install device-discovery-cli:
    $ npm install --global device-discovery-cli
    
    1. Discover devices in VS Code:

    Device

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.