我正在使用WSO2 IOT服务器和Raspbercrypi3。我还处于初级水平。我可以使用这个命令打开/关闭连接到raspberrypi的LED灯泡。
curl -k -X POST "https://172.16.13.86:8243/raspberrypi/1.0.0/device/us310v497by0/bulb?state=on“-H”接受:应用程序/json“-H”授权:承载人739e2223-62b6-3a24-890f-5b6e610ed6d2“
现在,我想要获取dht11传感器检测到的当前温度。我想知道我用来打开/关闭LED灯泡的相同类型的命令。有谁能帮帮我吗?
发布于 2019-01-04 16:42:54
请尝试:
curl应用程序GET --header 'Accept:-X /json‘'https://ServerIP:9443/api/device-mgt/v1.0/events/last-known/deviceType/deviceId’-H“授权:承载令牌”
https://stackoverflow.com/questions/54016667
复制相似问题