WSO2物联网服务器
WSO2 IOT server
我正在使用 WSO2 物联网服务器和 raspberrypi 3。我处于初级阶段。我能够使用此命令切换 on/off 连接到 raspberrypi 的 LED 灯泡。
curl -k -X POST "https://172.16.13.86:8243/raspberrypi/1.0.0/device/us310v497by0/bulb?state=on" -H "accept: application/json" -H "Authorization: Bearer 739e2223-62b6-3a24-890f-5b6e610ed6d2"
现在我想获取 dht11 传感器检测到的当前温度。我想知道我用于切换 on/off LED 灯泡的相同类型的命令。谁能帮帮我?
请尝试:
curl -X GET --header 'Accept: application/json' 'https://ServerIP:9443/api/device-mgt/v1.0/events/last-known/deviceType/deviceId' -H "Authorization: Bearer token"
我正在使用 WSO2 物联网服务器和 raspberrypi 3。我处于初级阶段。我能够使用此命令切换 on/off 连接到 raspberrypi 的 LED 灯泡。
curl -k -X POST "https://172.16.13.86:8243/raspberrypi/1.0.0/device/us310v497by0/bulb?state=on" -H "accept: application/json" -H "Authorization: Bearer 739e2223-62b6-3a24-890f-5b6e610ed6d2"
现在我想获取 dht11 传感器检测到的当前温度。我想知道我用于切换 on/off LED 灯泡的相同类型的命令。谁能帮帮我?
请尝试:
curl -X GET --header 'Accept: application/json' 'https://ServerIP:9443/api/device-mgt/v1.0/events/last-known/deviceType/deviceId' -H "Authorization: Bearer token"