{"id":15422755,"url":"https://github.com/formulahendry/vscode-azure-iot-toolkit","last_synced_at":"2025-04-19T15:27:19.439Z","repository":{"id":85969252,"uuid":"72176529","full_name":"formulahendry/vscode-azure-iot-toolkit","owner":"formulahendry","description":"This extension is now maintained in the Microsoft repo","archived":false,"fork":false,"pushed_at":"2018-03-09T04:59:04.000Z","size":20205,"stargazers_count":6,"open_issues_count":8,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T09:22:40.735Z","etag":null,"topics":["azure","azure-iot","iot","iothub","typescript","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://github.com/microsoft/vscode-azure-iot-toolkit","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formulahendry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-28T05:33:30.000Z","updated_at":"2020-04-29T08:40:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"09871b22-276d-44d3-adae-1ea769347aaf","html_url":"https://github.com/formulahendry/vscode-azure-iot-toolkit","commit_stats":{"total_commits":68,"total_committers":4,"mean_commits":17.0,"dds":"0.044117647058823484","last_synced_commit":"4daf83b7ea56bef18d86c4c8debb39c110eea8fe"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulahendry%2Fvscode-azure-iot-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulahendry%2Fvscode-azure-iot-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulahendry%2Fvscode-azure-iot-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulahendry%2Fvscode-azure-iot-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formulahendry","download_url":"https://codeload.github.com/formulahendry/vscode-azure-iot-toolkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249726268,"owners_count":21316377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","azure-iot","iot","iothub","typescript","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-10-01T17:39:26.091Z","updated_at":"2025-04-19T15:27:19.420Z","avatar_url":"https://github.com/formulahendry.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [DEPRECATED] Azure IoT Toolkit\n\n[![Join the chat at https://gitter.im/formulahendry/vscode-azure-iot-toolkit](https://badges.gitter.im/formulahendry/vscode-azure-iot-toolkit.svg)](https://gitter.im/formulahendry/vscode-azure-iot-toolkit?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge) [![Marketplace Version](https://vsmarketplacebadge.apphb.com/version-short/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Rating](https://vsmarketplacebadge.apphb.com/rating-short/formulahendry.azure-iot-toolkit.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.azure-iot-toolkit) [![Build Status](https://travis-ci.org/formulahendry/vscode-azure-iot-toolkit.svg?branch=master)](https://travis-ci.org/formulahendry/vscode-azure-iot-toolkit) [![Build status](https://ci.appveyor.com/api/projects/status/fh583240003oggc0?svg=true)](https://ci.appveyor.com/project/formulahendry/vscode-azure-iot-toolkit)\n\nToolkit makes Azure IoT Development easier. For more awesome Azure IoT projects and resources, please visit https://aka.ms/azure.iot\n\n## Upgrade to Microsoft offical [Azure IoT Toolkit](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) extension\n\nThis extension is deprecated. It is moved to Microsoft offical [Azure IoT Toolkit](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) extension. Please uninstall this extension and install the offical extension.\n\n## Features\n\n[x] Device Explorer\n\n[x] Send messages to Azure IoT Hub (device-to-cloud message)\n\n[x] Monitor device-to-cloud messages\n\n[x] Code snippet for IoT Hub\n\n[x] Send messages to Azure Event Hub\n\n[x] Monitor Event Hub messages\n\n[x] Send/monitor messages from Azure IoT Hub to device (cloud-to-device message)\n\n[x] Device management (List, Create, Delete)\n\n[x] Discover devices connected via Ethernet, USB serial and WiFi\n\n[x] Deploy and run in remote machine\n\n[x] Invoke Direct Method\n\n[x] Get/update Device Twin\n\n[ ] Debug in remote machines\n\n[ ] And more...\n\n## Device Explorer\n\n* Device management\n    * List devices\n    * Get device info\n    * Create device\n    * Delete device\n* Interact with Azure IoT Hub\n    * Send D2C message to IoT Hub\n    * Monitor IoT Hub D2C message\n    * Send C2D message to device\n    * Monitor C2D message from IoT Hub\n    * Invoke Direct Method\n    * Get/update Device Twin\n\n### Prerequisites\n\n1. In Explorer of VS Code, click \"IoT Hub Devices\" in the bottom left corner.\n\n![Click Device Explorer](images/device-explorer-click.png)\n\n2. If you have not set Iot Hub Connection String before, an input box will pop up, then enter your Iot Hub Connection String (It is one-time configuration).\n\n![Enter Connection String](images/enter-connection-string.png)\n\n3. The device list will be shown.\n\n![Device Explorer](images/device-explorer.png)\n\n## Commands\n\n| Command | Keyboard Shortcuts | Menu Contexts |\n| --- | --- | --- |\n| IoT: Send message to IoT Hub | Ctrl+Alt+F9 | view/item/context |\n| IoT: Start monitoring IoT Hub message | Ctrl+Alt+F10 | view/title |\n| IoT: Stop monitoring IoT Hub message | Ctrl+Alt+F11 | editor/context (in output panel) |\n| IoT: Send C2D message to device | None | view/item/context |\n| IoT: Start monitoring C2D message | None | view/item/context |\n| IoT: Stop monitoring C2D message | None | editor/context (in output panel) |\n| IoT: Send message to Event Hub | None | editor/context |\n| IoT: Start monitoring Event Hub message | None | editor/context |\n| IoT: Stop monitoring Event Hub message | None | editor/context (in output panel) |\n| IoT: List device | Ctrl+Alt+F1 | None |\n| IoT: Create device | Ctrl+Alt+F2 | view/title |\n| IoT: Delete device | Ctrl+Alt+F3 | view/item/context |\n| IoT: Discover connected device | Ctrl+Alt+F6 | editor/context |\n| IoT: Deploy to remote machine | Ctrl+Alt+F4 | None |\n| IoT: Run in remote machine | Ctrl+Alt+F5 | None |\n\n## Usages\n\n* Code Snippets\n\n| Trigger | Content |\n| ---- | ---- |\n| iotSendD2CMessage | Send D2C message to IoT Hub |\n| iotMonitorD2CMessage | Monitor D2C message for IoT Hub |\n| iotSendC2DMessage | Send C2D message to device |\n| iotMonitorC2DMessage | Monitor C2D message from IoT Hub |\n| iotCallDirectMethods | Send direct methods to device |\n| iotReceiveDirectMethods | Receive direct methods from IoT Hub |\n\n![Snippet](images/snippet.gif)\n\n\u003e After code snippet is created, you need to install corresponding npm package (e.g. [azure-iot-device-mqtt](https://www.npmjs.com/package/azure-iot-device-mqtt)) to run the code snippet.\n\u003e If you want to 'Run Code' directly, you need to install [Code Runner](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner).\n\n* Send/monitor messages for Azure Event Hub\n\n![Event Hub](images/event-hub.gif)\n\n* Deploy and run in remote machine\n\n| Config | description |\n| ---- | ---- |\n| azure-iot-toolkit.localFolder | The folder of current machine to deploy |\n| azure-iot-toolkit.remoteFolder | The folder of remote machine to deploy |\n| azure-iot-toolkit.host | The hostname or IP address of remote machine |\n| azure-iot-toolkit.username | The username of remote machine |\n| azure-iot-toolkit.password | The password of remote machine |\n| azure-iot-toolkit.command | The command to run in remote machine |\n\n![Remote](images/remote.gif)\n\n* Discover Ethernet, USB serial, WiFi devices\n  1. Install Node.js or install [device-discovery-cli](https://github.com/Azure/device-discovery-cli):\n\n    ```\n    $ npm install --global device-discovery-cli\n    ```\n  2. Discover devices in VS Code:\n\n![Device](images/discover.gif)\n\n## Configuration\n\nTo set the Device Connection String which is used to send device-to-cloud message or other functions as a device simulator:\n```json\n{\n    \"azure-iot-toolkit.deviceConnectionString\": \"HostName=\u003cmy-hub\u003e.azure-devices.net;DeviceId=\u003cknown-device-id\u003e;SharedAccessKey=\u003cknown-device-key\u003e\"\n}\n```\n\nTo set the IoT Hub Connection String to monitor device-to-cloud message or other functions as a service simulator:\n```json\n{\n    \"azure-iot-toolkit.iotHubConnectionString\": \"HostName=\u003cmy-hub\u003e.azure-devices.net;SharedAccessKeyName=\u003cmy-policy\u003e;SharedAccessKey=\u003cmy-policy-key\u003e\"\n}\n```\n\nTo set the IoT Hub Consumer Group (default is \"$Default\"):\n```json\n{\n    \"azure-iot-toolkit.iotHubConsumerGroup\": \"$Default\"\n}\n```\n\nTo set the Event Hub Connection String:\n```json\n{\n    \"azure-iot-toolkit.eventHubConnectionString\": \"{Event Hubs connection string}\"\n}\n```\n\nTo set the Event Hub Path:\n```json\n{\n    \"azure-iot-toolkit.eventHubPath\": \"{Event Hub path/name}\"\n}\n```\n\nTo set the Event Hub Consumer Group (default is \"$Default\"):\n```json\n{\n    \"azure-iot-toolkit.eventHubConsumerGroup\": \"$Default\"\n}\n```\n\nTo set whether to show verbose info when monitoring messages (default is `true`):\n```json\n{\n    \"azure-iot-toolkit.showVerboseMessage\": true\n}\n```\n\nTo set whether to stringify device-to-cloud messages (default is `true`):\n```json\n{ \n    \"azure-iot-toolkit.iotHubD2CMessageStringify\": true\n}\n```\n\n## Telemetry data\nBy 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:\n```json\n{\n    \"azure-iot-toolkit.enableAppInsights\": false\n}\n```\n\n## Change Log\nSee Change Log [here](CHANGELOG.md)\n\n## Issues\nSubmit the [issues](https://github.com/formulahendry/vscode-azure-iot-toolkit/issues) if you find any bug or have any suggestion.\n\n## Contribution\nFork the [repo](https://github.com/formulahendry/vscode-azure-iot-toolkit) and submit pull requests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulahendry%2Fvscode-azure-iot-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformulahendry%2Fvscode-azure-iot-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulahendry%2Fvscode-azure-iot-toolkit/lists"}