Azure IoT Device Workbench for Visual Studio Code
Перейти к файлу
Zhe Li 98984033bd update env 2019-03-26 16:36:11 +08:00
.vscode remove unnecessary binaries in last commit 2019-03-25 15:01:12 +08:00
docs Add the spec of azure provsioning (#597) 2019-03-20 01:50:37 -07:00
gif update gif (#544) 2018-12-25 14:24:38 +08:00
hooks add git hooks (#25) 2017-12-25 11:59:38 +08:00
pnpRepositoryViews fix loading bug 2019-03-22 12:15:58 +08:00
resources add option to select device provirion type in code generation 2019-03-25 14:58:36 +08:00
src fix gts error 2019-03-26 16:05:51 +08:00
test Merged PR 421683: add require logPath for extension context 2019-01-07 03:29:08 +00:00
vendor/node-usb-native Merged PR 434147: merge code from main repo 2019-02-15 08:09:18 +00:00
views add lazy load (#595) 2019-03-19 11:43:51 +08:00
.gitattributes add vue.js into vendor list (#224) 2018-04-23 11:56:40 +08:00
.gitignore better handle exception 2019-03-26 15:25:56 +08:00
.travis.yml revert gts 2018-06-27 11:13:46 +08:00
.vscodeignore better handle exception 2019-03-26 15:25:56 +08:00
CHANGELOG.md v0.2.5 2019-03-21 18:54:01 +08:00
LICENSE Initial commit 2017-12-11 18:53:44 -08:00
README.md Update example instruction. (#547) 2018-12-25 11:42:16 +08:00
azure-pipelines.yml load dynamic resource 2019-03-25 18:46:45 +08:00
genAiKey.js add ai key 2018-04-26 10:14:03 +08:00
gts.cmd revert gts 2018-06-27 11:13:46 +08:00
logo.png Change to new logo (#545) 2018-12-25 11:04:24 +08:00
package-lock.json Update files 2019-03-22 10:51:14 +08:00
package.json load dynamic resource 2019-03-25 18:46:45 +08:00
tsconfig.json Add azure function, multi workspace and tests (#53) 2018-02-07 15:32:07 +08:00
updateDynamicResourceLink.js update env 2019-03-26 16:36:11 +08:00

README.md

Azure IoT Device Workbench preview for Visual Studio Code

Gitter Travis CI

Welcome to Azure IoT Device Workbench preview for Visual Studio Code! The Azure IoT Device Workbench extension makes it easy to code, build, deploy and debug your IoT project with multiple Azure services and popular IoT development boards .

Prerequisites

Azure IoT Device Workbench aims to support multiple popular IoT development boards and kits. It currently supports following IoT hardware:

Please find the Setup Guide section below to configure your hardware.

We will support more devices in Azure IoT Device Workbench. Please help to take the survey to let us know your opinion of the device.

Installation

Open VS Code and press F1 or Ctrl + Shift + P to open command palette, select Install Extension and type iot-workbench.

Or launch VS Code Quick Open (Ctrl + P), paste the following command, and press enter.

ext install vscode-iot-workbench

After installation, please reload the window and make sure all the dependency extensions are correctly installed.

Supported Operating Systems

Currently this extension supports the following operatings systems:

  • Windows 7 and later (32-bit and 64-bit)
  • macOS 10.10 and later

Setup Guide

MXChip IoT DevKit

Please follow the guide to setup IoT DevKit.

Here are a set of tutorials that will help you get started:

teXXmo IoT button

Here are a set of tutorials that will help you get started:

Raspberry Pi

Here are a set of tutorials that will help you get started:

ESP32

Please follow the guide to setup ESP32 device.

Here are a set of tutorials that will help you get started:

Commands

Command Description
Azure IoT Device Workbench: Create Project... Create new IoT Device Workbench projects.
Azure IoT Device Workbench: Open Examples... Load existing examples of IoT Device Workbench project.
Azure IoT Device Workbench: Provision Azure Services... Provison Azure services for current project.
Azure IoT Device Workbench: Deploy to Azure... Deploy the code of the Azure services.
Azure IoT Device Workbench: Compile Device Code Compile device code.
Azure IoT Device Workbench: Upload Device Code Compile and upload device code.
Azure IoT Device Workbench: Configure Device Settings... Manage the settings on the device.
Azure IoT Device Workbench: Install Device Compiler Toolchain... Install device compiler toolchain.
Azure IoT Device Workbench: Set Workbench Path Set the default path for Azure IoT Device Workbench.
Azure IoT Device Workbench: Help Get help for Azure IoT Device Workbench.

Create Project

Provision Azure Services

Open Examples

Note:

  • When invoking the Azure IoT Device Workbench: Provision Azure Services... command with Azure IoT Hub and Azure Functions, by default, Azure Functions would use the IoT Hub consumer group of $Default. To switch to another consumer group, please follow the guide to create a new consumer group in Azure Portal. Then in IoT project, modify the following setting in function.json:
    "consumerGroup": "[consumer_group_name]"
    
  • You may open an existing IoT project after you close it. To do so:
    • In the menu of Visual Studio Code, choose File -> Open Workspace... .

    • In file selection panel, navigate to the folder that contains your project and select {PROJECT_NAME}.code-project.

      IoT Device Workbench: OpenExisting

    • Click Open.

Privacy Statement

The Microsft Enterprise and Developer Privacy Statement describes the privacy statement of this software.

Contributing

There are a couple of ways you can contribute to this repo:

  • Ideas, feature requests and bugs: We are open to all ideas and we want to get rid of bugs! Use the Issues section to either report a new issue, provide your ideas or contribute to existing threads.

  • Documentation: Found a typo or strangely worded sentences? Submit a PR!

  • Code: Contribute bug fixes, features or design changes:

    • Clone the repository locally and open in VS Code.
    • Install TSLint for Visual Studio Code.
    • Open the terminal (press Ctrl + `) and run npm install.
    • To build, press F1 and type in Tasks: Run Build Task.
    • Debug: press F5 to start debugging the extension.
    • Run gts check and gts fix to follow TypeScript style guide.
  • Example: Contribute examples for the supported devices.

    • Create a git repo to host the code of your example project.
    • Write a tutorial to describe how to run the example.
    • Submit a new issue and provide the following information:
      Item Description
      Name Name of the example to be displayed in example gallery.
      Description A short statement to describe the example.
      Location URL of the GitHub repo.
      Image URL of the example image (size: 640*370) shown in the gallery, if not provided, the default image will be used.
      Tutorial URL of tutorial that describes how to run the example.
      Difficulty Difficulty of the example, easy, medium or difficult.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information please see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Contact Us

If you would like to help to build the best IoT experience with Azure IoT Device Workbench, you can reach us directly at gitter chat room.

Telemetry

VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you dont wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.