从azure iot hub中检索数据时出现问题 [英] Issue in retreiving the data from azure iot hub
问题描述
首先,我想告诉你我的用例。我使用python sdk从DHT传感器使用覆盆子pi发送温度和湿度到azure iot hub这个部分正在工作。然后使用流分析我正在重定向我的azure iot hub 数据到
sql数据库这部分工作正常。然后我用asp.net创建了一个web api来调用数据库中的最后一条记录,这也是有效的。
但是ii kn for事实上,这不是最好的方法,任何人都可以建议我最好的工作方法
你正确地做了。你在这面面遇到的问题是什么?如果您的主要目标是在Web应用程序上显示数据,那么您可以按照文档
使用Azure App Service的Web Apps功能可视化Azure IoT中心的实时传感器数据
First of all i want to tell you about my usecase. I am sending Temperature and humidity from DHT Sensor using raspberry pi to azure iot hub using python sdk this part is working. Then using stream analytics i am redirecting my azure iot hub data to sql database this part is working. Then i have created a web api using asp.net to call the last record from the databsed this is also working.
But i i kn for the fact that this is not the best approach can anyone suggest me the best approach for my work
Hi,
You are doing it correctly. What is the issue you are facing here? If your main goal is to display the data on web app then you can follow the documentation Visualize real-time sensor data from your Azure IoT hub by using the Web Apps feature of Azure App Service
这篇关于从azure iot hub中检索数据时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!