Versions Compared

Key

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

This tutorial explains how to set up a simple Car Counter project from scratch and get occupancy data via REST API.

...

Also, we can correct current group occupancy operatively if you notify us about your need for this action at least 24h before.

Configuration using parking analytics site

The parking analytics site provides an interface for simple configuration of car counter zone capacity and occupancy. If the zone contains more than one car counter group, you should configure each group using API. Configuration using API is described in the next chapter.

Preliminary steps

Before setting up your car counter zone occupancy and capacity you should follow a few steps:

  1. Go to site analytics.nwave.io

  2. Click on the main menu button

    Image Added

  3. Select the Car Counter page

    Image Added

  4. Open the FILTERS panel

    Image Added

  5. Select Project and Zone to be configured and press button SAVE

    Image Added

Capacity configuration

After doing the preliminary steps, you are able to set up the capacity of your car counter zone. To do that, you need to click on the pen icon on the right of “CAPACITY”:

...

Fill in the capacity value and press the button SAVE:

...

Now you can see, that capacity is successfully set

...

Occupancy configuration

After doing the preliminary steps, you can set up the capacity of your car counter zone. To do that, you need to click on the pen icon on the right of “OCCUPANCY”:

...

If you are going to set the current occupancy, it is enough to fill in the occupancy value and press the button SAVE

...

If you noticed that occupancy has been changed after counting or you want to correct occupancy in the past, you can choose the time of occupancy correction:

  1. Fill in the occupancy value

  2. Enable occupancy correction in the past

  3. Select the date and time of occupancy counting
    Please, select the date and time carefully. Corrections for the time earlier than the last made correction are prohibited.

  4. Press the button SAVE

...

Check occupancy changes applied

...

Configuration using API

Capacity Configuration

Capacity can be configured only for groups. You should go to the page of the group you created earlier and find the group ID

...

Code Block
languagebash
curl --location --request GET 'https://api.nwave.io/car_counters/v1/group/1234/capacity' --header 'X-Auth-Token: XXXXXXXXXXX'

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.

...

  1. Go to a car counter group page

  2. Click on the tab POSITIONS

  3. Click on Device ID positioned on Exit

  4. Click on “EDIT LABELS”

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

    Image RemovedImage 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.

...