...
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 Block | ||
---|---|---|
| ||
curl --location --request GET 'https://api.nwave.io/car_counters/v1/group/1234/capacity' --header 'X-Auth-Token: XXXXXXXXXXX' | ||
| ||
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 | ||
---|---|---|
| ||
curl --location --request GET 'https://api.nwave.io/car_counters/v1/group/1234/occupancy' --header 'X-Auth-Token: XXXXXXXXXXX' | ||
Code Block | ||
| ||
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.
Go to a car counter group page
Click on the tab POSITIONS
Click on Device ID positioned on Exit
Click on “EDIT LABELS”
Mark label
OUT
in the list and press the button SAVE
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