cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards

Home Page:https://cyberman54.github.io/ESP32-Paxcounter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Counter mode cyclic and cumulative in parallel?

ClemensGruber opened this issue · comments

You can define by COUNTERMODE (line 22 in paxcounter[_orig].conf)

#define COUNTERMODE 0 // 0=cyclic, 1=cumulative, 2=cyclic confirmed

that the counter mode is cyclic vs. cumulative, that means counting

(a) how much people are current arround vs.
(b) how much (unique) people were arround in x hours / days / since restart (?)

Is it possible to count current people COUNTERMODE 0 // 0=cyclic and in parallel how much unique people were around e.g. the last day? That's COUNTERMODE 1 // 1=cumulative resetted every day at 00:00 h or 04:00 h (for a long after midnight lasting event)?

Or is the only way to get this data setting up two physical pax counter with different configurations? :(

See documentation:
https://cyberman54.github.io/ESP32-Paxcounter/remotecontrol/#0x02-set-counter-mode

In cumulative mode, you can reset the counter by rcommand 02 00 02 01.
Cumulative mode is useful to measure new arrivals, e.g. at events. Typically you see a steep curve at the beginning of an event. The curve flattenes when the arrivals decrease. This can be useful e.g. to adjust opening entrance doors, number of cash desks, etc.

This is not an issue, thus i close this. If you need further discussion, please move to discussions tab.