---
name: "bn_data_collector"
section: "1"
platform: "linux"
package: "python3-berrynet"
version: "3.10.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bn_data_collector"
---

# bn\_data\_collector(1)

program to collect data from MQTT

## NAME

bn\_data\_collector - program to collect data from MQTT

## SYNOPSIS

**bn\_data\_collector** \[**--data-dirpath DATA\_DIRPATH**\] \[**--broker-ip BROKER\_IP**\] \[**--broker-port BROKER\_PORT**\] \[**--topic-config TOPIC\_CONFIG**\]

**bn\_data\_collector** \[{**-h** \| **--help**}\]

## DESCRIPTION

This manual page documents briefly the **bn\_data\_collector** command.

This manual page was written for the Debian distribution because the original program does not have a manual page.

**bn\_data\_collector** is a program that collects data from MQTT.

## OPTIONS

The program follows the usual GNU command line syntax, with long options starting with two dashes (\`-'). A summary of options is included below.

- **--data-dirpath** *DATA\_DIRPATH*

  Dirpath where to store collected data.

- **--broker-ip** *BROKER\_IP*

  MQTT broker IP.

- **--broker-port** *BROKER\_PORT*

  MQTT broker port.

- **--topic-config** *TOPIC\_CONFIG*

  Path of the MQTT topic subscription JSON.

- **-h**, **--help**

  Show summary of options.

## BUGS

The upstreams BTS can be found at **https://github.com/DT42/BerryNet/issues**.

## SEE ALSO

[**bn\_darknet**(1)](/bn_darknet/1.md), [**bn\_camera**(1)](/bn_camera/1.md), [**bn\_dashboard**(1)](/bn_dashboard/1.md)

## AUTHOR

**Ying-Chun Liu** \<paulliu@debian.org\>

Wrote this manpage for the Debian system.

## COPYRIGHT

Copyright © 2018 Ying-Chun Liu (PaulLiu)\

This manual page was written for the Debian system (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3.
