In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Step 1, deploy the sample Module in Edge Device
IoT Hub- > IoT Edge device-> setup module
Deploy the new Module https://hub.docker.com/_/microsoft-azureiotedge-simulated-temperature-sensor using the following image
After you start the deployment, you can see that only Edge Agent is running as shown in the following figure
Wait a moment in the virtual machine and run iotedge list on powershell. You can see that both Sensor and Edge Hub are already running. Go back to Portal, refresh the page, and you can see that Sensor and Edge Hub are also running.
At this point, the deployment is complete.
Step 2, check the Module log at Edge Device
For the source code of the newly added Module, please see: https://github.com/Azure/iotedge/blob/027a509549a248647ed41ca7fe1dc508771c8123/edge-modules/SimulatedTemperatureSensor/src/Program.cs
Type iotedge logs Sensor-f in power shell, where Sensor is the newly added Module name.
Step 3, use Visual Studio Code to receive the data reported by Module from IoT Hub
To prepare the Visual Studio Code development environment, see "VS Development Environment preparation"
Select "Select IoT Hub" in the button of "Azure IoT Hub" in the lower left corner.
Select the IoT Hub to use and list the IoT Edge Device and its Modules status under IoT Hub
Right-click on Edge Device and select "Start Monitoring Built-in Event Endpoint" to start monitoring the data of IoT Hub built-in endpoints. At this point, this section ends.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.