Floorplans

Validate the arguments and hand off to 'open_entry_auto_calibration' library maintained by Algorithm folks to calculate the trigger region.

See TriggerRegionSerializer for more detailed information; at a glance, though:

    This endpoint required a single argument to run: 'doorway_id'.
    If 'doorway_id' is provided, the tied PlanSensors are automatically looked up,
    and so are WallSegments on this Plan.

If "push_to_doorway": True is provided, this calculated trigger region will automatically be
saved to api.Doorway.trigger_region AND pushed to the sensor's config if a sensor is attached to
the plan sensor.
post/v2/floorplans/{plan_id}/thresholds/calculate/

Request body

doorway_idstring nullable
push_to_doorwayboolean nullable

Response

Created

doorway_idstring nullable
push_to_doorwayboolean nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.