Sensors

Set the count zone of a waffle sensor and send it with a SET_ZONE command.

    The zone is normalized to the canonical WKT the sensor reports back. It's sent
    even when unchanged, which recovers a command the sensor missed.

    Example JSON request body:
    `{"zone": "POLYGON ((-2.5 0.5, 2.5 0.5, 2.5 6, -2.5 6, -2.5 0.5))"}`
put/v2/sensors/{serial_number}/config/zone/

Request

  • Base URL: https://api.density.io
  • URL: https://api.density.io/v2/sensors/{serial_number}/config/zone/
  • Auth: API key in header Authorization

Request body

zonestring required

Response

Updated

zonestring required

Changes