Parkings & Zones - General
Parkings and parking zones
A parkings can contain one or more parking zones. Parkings and parking zones have different features.
Parkings:
Occupancy (count and state) is based on the its parkings zones.
A ‘threshold free’ parameter can be set (through ALIOT), to prevent the parking state from ‘jittering’ (continu free <=> full state changes).
A ‘daily reset’ parameter can be set (through ALIOT), to reset the current occupancy count.
Outputs can be set automatically based on the the occupancy state. This way a parking can be closed or a free/full display can be set
Counter actions can be sent automatically based on the occupancies. This way a display can be updated.
Zones:
Counting is done on parking zone level by counting loops placed in the ground.
The occupancy state is calculated on parking zones level. See Occupancy state for more info.
Outputs can be set automatically based on the the occupancy state. This way a zone can be closed or a free/full display can be set.
Counter actions can be sent automatically based on the occupancies. This way a display can be updated.
Parking logs
Parkings logs are created in case of:
A passage, when the maximum number of passages before writing a log is reached (see parameters below)
A timer, when the maximum timespan before writing a log has passed (see parameters below)
A daily reset event happening
An API call modifying the occupancy of a zone: /increase-occupancy, /decrease-occupancy, /update-occupancy and /reset-occupancy
An API call modifying the occupancy of a parking: /reset-occupancy
An API call modifying the state of a zone: /update-state
An API call modifying the state of a parking: /update-state
Upon modifying settings in ALIOT, if this leads to the maximum amount of passages before writing a log being reached
Upon startup
The following parameters (set through ALIOT) have impact on the frequency of log creation:
Max time between 2 logs
Max amount of passages before log creation
Each log contains the following properties:
Id: unique log id
ParkingName: name of the parking as defined in ALIOT.
TimeCreated: utc creation time of the logs
OccupancyState: the state of the parking at the time of the log being created. See occupancy state for more info.
Occupance: number of occupied parking spaces at the time of the log being created
ThresholdFree: number of free places before the OccupancyState goes from Full/OutofService to Free
Capacity: total amount of parking spaces
Enumeration occupancy states
Free = 0
Full = 1
OutOfService = 2