Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • configuration of entrances, exits, transitions

  • configuration of groups capacity

  • setting up current group occupancy

Note

Temporary all operations described above can be done only by Nwave Team. Please, contact us if you need to complete car counter parking project registrationPlease note that full car counters support is currently under construction. Nwave currently offers user support for configuring car counters only for single-group zones. If you have the need to split a zone into multiple groups or use car counters to obtain occupancy information for each floor in a multi-level car parking facility, we kindly request that you reach out to Nwave Support for further assistance.

Nwave is committed to providing comprehensive support and solutions to meet your specific requirements.

Configuration of entrances, exists, transitions and group capacity is a one-off operation in most cases. You should provide us with information in the format presented below:

...

code
Code Block
languagebash
curl --location --request GET 'https://api.nwave.io/car_counters/v1/group/1234/capacity' --header 'X-Auth-Token: XXXXXXXXXXX'
languagebash
curl --location --request PUT 'https://api.nwave.io/car_counters/v1/group/1234/capacity' --header 'X-Auth-Token: XXXXXXXXXXX' --header 'Content-Type: application/json' --data-raw '{"capacity":99}'

Occupancy Correction

Occupancy correction is needed periodically or after technical maintenance. The Nwave cloud calculates occupancy for all levels of the hierarchy based on group occupancy, so all occupancy correction operations are possible only with groups.

...

Code Block
languagebash
curl --location --request GET 'https://api.nwave.io/car_counters/v1/group/1234/occupancy' --header 'X-Auth-Token: XXXXXXXXXXX'
Code Block
languagebash
curl --location --request PUT 'https://api.nwave.io/car_counters/v1/group/2923/occupancy' --header 'X-Auth-Token: XXXXXXXXXXX' --header 'Content-Type: application/json' --data-raw '{"occupied":3}'

Entrances and Exits Configuration

You have to mark a position by label IN or OUT to make it entrance or exit for car counter group.

  1. Go to a car counter group page

  2. Click on the tab POSITIONS

    Image Added
  3. Click on Device ID positioned on Exit

    Image Added
  4. Click on “EDIT LABELS”

    Image Added
  5. Mark label OUT in the list and press the button SAVE

    Image Added

Done, the position is configured as the exit from the group. Now repeat the same actions with device 1FD02 and set the label IN for setting it as the entrance to the group.

Manual Testing

Virtual Car Counters

...

The next step is getting data. You can read about API here: https://nwaveio.atlassian.net/wiki/spaces/ND/pages/30180966573125968913/Car+Counters#Analytics+Counters+Analytics+API#Realtime-Occupancy-Summary-API

In this tutorial, we show only how to get the zone’s current occupancy. Use the following snippet. You should replace zone_id and X-Auth-Token values before running.

...

🎆 Done! You have just created Car Counters Parking Project and got data about its occupancy. You can find more data about analytics API features on the special documentation page