meshtastic/docs/configuration/module/paxcounter.mdx

96 lines
2.1 KiB
Plaintext
Raw Normal View History

2023-12-17 09:51:07 -08:00
---
id: paxcounter
title: Paxcounter Module Usage
sidebar_label: Paxcounter
---
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
2024-02-25 18:30:55 -08:00
The Paxcounter module counts the number of people passing by a specific area by scanning for WiFi and BLE MAC addresses. It is commonly used in retail stores, museums, and other public spaces to monitor foot traffic and gather valuable data for analysis.
2023-12-17 09:51:07 -08:00
In order to use this module, make sure your devices have firmware version 2.2.17 or higher.
2024-02-25 18:30:55 -08:00
:::info
To operate the Paxcounter Module, it is mandatory to switch off both WiFi and Bluetooth in your Network and Bluetooth settings.
:::
2023-12-17 09:51:07 -08:00
## Paxcounter Module Config Values
### Enabled
Whether the Module is enabled.
### Update Interval
The interval in seconds of how often we can send a message to the mesh when a state change is detected.
## Paxcounter Module Client Availability
<Tabs
groupId="settings"
defaultValue="cli"
values={[
{label: 'Android', value: 'android'},
{label: 'Apple', value: 'apple'},
{label: 'CLI', value: 'cli'},
{label: 'Web', value: 'web'},
]}>
<TabItem value="android">
2024-02-22 13:09:26 -08:00
#### Android
2023-12-17 09:51:07 -08:00
:::info
2024-02-25 10:32:13 -08:00
Paxcounter Config options are available for Android.
1. Open the Meshtastic App
2. Navigate to: **Vertical Ellipsis (3 dots top right) > Radio Configuration > Paxcounter**
2023-12-17 09:51:07 -08:00
:::
</TabItem>
<TabItem value="apple">
2024-02-22 13:09:26 -08:00
#### Apple
2023-12-17 09:51:07 -08:00
:::info
No Paxcounter Module config options are available on the iOS, iPadOS and macOS app.
:::
</TabItem>
<TabItem value="cli">
2024-02-22 13:09:26 -08:00
#### CLI
2023-12-17 09:51:07 -08:00
:::info
All Paxcounter Module config options are available in the python CLI version 2.2.16 and higher.
:::
Example commands are below:
```shell title="Enable/Disable the Paxcounter Module"
meshtastic --set paxcounter.enabled true
meshtastic --set paxcounter.enabled false
```
```shell title="Set the Minimum Broadcast Interval to 900 seconds"
2023-12-17 09:51:07 -08:00
meshtastic --set paxcounter.paxcounter_update_interval 900
```
```shell title="Get the Paxcounter Module Configuration"
meshtastic --get paxcounter
```
</TabItem>
<TabItem value="web">
2024-02-22 13:09:26 -08:00
#### Web
2023-12-17 09:51:07 -08:00
:::info
2024-02-25 10:32:13 -08:00
All Paxcounter module config options are available in the Web UI.
2023-12-17 09:51:07 -08:00
:::
</TabItem>
2024-02-25 10:32:13 -08:00
</Tabs>