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

# bn\_telegram(1)

program to send deep learning results from MQTT to telegram

## NAME

bn\_telegram - program to send deep learning results from MQTT to telegram

## SYNOPSIS

**bn\_telegram** **--token** *TOKEN* \[**--target-label** *TARGET\_LABEL*\] \[**--broker-ip BROKER\_IP**\] \[**--broker-port BROKER\_PORT**\] \[**--topic \[***TOPIC*...\]\] \[**--topic-action TOPIC\_ACTION**\] \[**--topic-config TOPIC\_CONFIG**\]

**bn\_telegram** \[{**-h** \| **--help**} \| {**--debug**}\]

## DESCRIPTION

This manual page documents briefly the **bn\_telegram** command.

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

**bn\_telegram** is a program that send results to telegram.

## OPTIONS

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

- **--token** *TOKEN*

  Telegram token got from BotFather, or filepath of a JSON config file with token.

- **--target-label** *TARGET\_LABEL*

  Send notification email if the label is in inference result.

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

  MQTT broker IP.

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

  MQTT broker port.

- **--topic \[***TOPIC*...\]

  The topic to listen, and can be indicated multiple times.

- **--topic-action** *TOPIC\_ACTION*

  The action for the indicated topics.

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

  Path of the MQTT topic subscription JSON.

- **--pipeline-compatible**

  Change key of b64 image string in generalized result from bytes to image\_blob. Note: This is an experimental parameter.

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

  Show summary of options.

- **--debug**

  Debug mode toggle.

## 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\_gmail**(1)](/bn_gmail/1.md)

## AUTHOR

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

Wrote this manpage for the Debian system.

## COPYRIGHT

Copyright © 2020 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.
