I created a room temperature control automation system project based on people s presence using Azure Custom Vision and Raspberry Pi. I have successfully sent DHT11 temperature sensor data, camera sensors for the number of people in the image to Azure IoT Hub. The next step is how to get data from Azure IoT Hub into Azure Functions and add data to the local database. After that, you can also perform on/off actions on the device being monitored.
我期望,在ImpoT Hub获得电离层电离层信息数据后,数据也可通过“功能”接收,数据可添加到当地数据库中,而这一数据功能能够以监控装置的形式/起飞。
I have created an event hub, event in azure-iot-hub and i ve also created a function from local vscode so that the values from the tool can be entered into the my local database. My problem was when doing the create an Azure Functions project step and in point number 4. Run the following command to create a Functions app in this folder. Link reference: https://github.com/microsoft/IoT-For-Beginners/tree/main/2-farm/lessons/5-migrate-application-to-the-cloud#create-a-serverless-application
My program has an error that can t run as shown in the following image. error azure function still error like this. error azure function 2