ไทย
การปรากฏตัว
ไทย
การปรากฏตัว
สามารถแสดงภาพอุปสรรคบนแผนที่ผ่านตัวแทนกล้องของเอนทิตี้ Current Map




ตัวอย่างจะถูกจัดทำโดย การ์ด Dreame Vacuum
/api/camera_map_obstacle_proxy/{entity_id}?token={access_token}&index={obstacle_index}&crop={is_cropped}&file={download_file}
camera.{vacuum_name}_map)camera.{vacuum_name}_map)camera.{vacuum_name}_map)เคล็ดลับ
คืนค่า 404 หากอุปสรรคที่ร้องขอไม่มีอยู่
ตัวอย่าง:
http://local.homeassistant/api/camera_map_obstacle_proxy/camera.vacuum_map?token=5df93cfcf8ecc23fa17b233ca938cc52f41e2b17a46ca291865be3f9ba64d89b&index=2&crop=1ตัวอย่างในแดชบอร์ด
เพื่อดูตัวอย่างการใช้งาน endpoint นี้ ให้ดูที่ การ์ดอุปสรรค ในหน้าตัวอย่าง Custom Card Templates
สามารถแสดงภาพอุปสรรคบนแผนที่ประวัติผ่านตัวแทนกล้องของเอนทิตี้ Current Map
/api/camera_map_obstacle_history_proxy/{entity_id}?token={access_token}&history_index={history_index}&cruising={is_cruising_history}&index={obstacle_index}&crop={is_cropped}&file={download_file}
camera.{vacuum_name}_map)camera.{vacuum_name}_map)sensor.{vacuum_name}_cleaning_history)camera.{vacuum_name}_map)เคล็ดลับ
คืนค่า 404 หากแผนที่ประวัติหรืออุปสรรคที่ร้องขอไม่มีอยู่
ตัวอย่าง:
http://local.homeassistant/api/camera_map_obstacle_history_proxy/camera.vacuum_map?token=5df93cfcf8ecc23fa17b233ca938cc52f41e2b17a46ca291865be3f9ba64d89b&history_index=2&index=3