Your SICK ID gives you access to our extensive range of services. This includes direct online orders, price and availability checks, and access to our digital services.
Communication with PeopleCounter can be done with REST API using POST requests. The list of commands can be found in the manual (see attachment - Chapter 7.10: Communication via REST API).
Here we will see a step-by-step on how this communication is done.
First of all, in order to send POST requests to the device, we need to do the communication with an external software, e.g.: Postman, that we will download and install. Once we have this software installed, we can send commands to our People Counter and communicate with it.
For the communication we will need to follow the steps below. In this example we will see how to increase and decrease the number of people inside (Like in Tab "Room capacity" in SOPASAir). Let's dive in!
First, we will open Postman and create a new request by pressing on "Create a request" in the "Launchpad" Tab under "Start something new"
A new tab will open. Then, as we need to communicate with the device using POST requests, we need to change the type of the request in the dropdown under "Untitled Request", and select POST.
We will see that next to the type of request, we need to write our command. In our first case, we will increase by 1 the number of counted people. To do that, we will write the following line next to the type "POST" (extracted from the manual):