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

  • Base URL: https://api.density.io
  • URL: https://api.density.io/v2/floorplans/{plan_id}/thresholds/calculate/
  • Auth: API key in header Authorization

Request body

doorway_idstring nullable
push_to_doorwayboolean nullable

Response

Created

doorway_idstring nullable
push_to_doorwayboolean nullable

Changes

No recorded changes to this operation across all 3 revisions of this API.