【发布时间】:2021-08-13 14:31:17
【问题描述】:
我知道这是一个相对简单的问题,但我不清楚是否可以安排 google nest 相机每 15 分钟拍摄一次图像并将其上传到云端。
我查看了 SDM(智能设备管理)API 并发现了以下 POST 请求:
sdm.devices.traits.CameraEventImage
POST /enterprises/project-id/devices/device-id:executeCommand
{
"command" : "sdm.devices.commands.CameraEventImage.GenerateImage",
"params" : {
"eventId" : "26TU35cUFaYxYbQFumKQIilunU..."
}
}
我想知道是否有人对此有任何经验。使此 API 调用足以触发相机拍摄图像,还是需要直接在相机上编程。
【问题讨论】:
标签: python google-cloud-platform iot google-cloud-iot smart-device