RabbitMQ Group Availability

RabbitMQ Group Availability API is capable of sending updates about parking occupancy with a calculated summary. When you use this API, you are getting complete occupancy info about parking. Nwave cloud calculates the number of occupied and vacant spaces according to parking type, parking sensors health and other secondary data.

Group Availability message structure

{ "timestamp": string ISO8601, "group_id": integer, "group_custom_id": string, "level_id": int, "floor_number": int, "positions_availability": [ { "position": { "id": int, "network_id": UUID, "custom_id": string, "group_inner_id": int, "lat": real, "lon": real }, "occupation_status": string //'occupied' / 'free' / 'n/a' } ... ], "summary": { "total": int, "occupied": int, "available": int, "undefined": int } }

where:

  • timestamp - message generation time

  • group_id - parking group id

  • group_custom_id - user-defined ID of a parking group

  • level_id - identified of a level object which describes parking floor

  • floor_number - parking floor number

  • positions_availability - list of parking spaces in a parking group with their IDs, geo-locations and occupancy statuses

  • summary - an object which describes a number of parking spaces inside of parking and a number of occupied and vacant spaces