Public | Automated Build

Last pushed: a year ago
Short Description
Transfers Images from MQTT to Telegram
Full Description

MQTT Telegram

Uploads MQTT images to Telegram users.



Configuration

The telegram bridge has one yaml file for configuration:

---
mqtt:
    # Specify your MQTT Broker's hostname or IP address here
    host: localhost

telegram:
    # Token to talk to Telegram
    token: INSERT_TOKEN_HERE

# Where to send events to
topics:
    sample/topic:
        - INSERT_CHAT_ID

Usage

  1. Run the Docker container

     $ docker run \
         -d \
         --name="mqtt-telegram" \
         -v /opt/mqtt-telegram:/config \
         -p 8080:8080 \
         stjohnjohnson/mqtt-telegram
    
  2. Customize the MQTT host and Telegram tokens

     $ vi /opt/mqtt-telegram/config.yml
     $ docker restart mqtt-telegram
    
  3. Any images posted to those topics will be forwarded as photos to Telegram
Docker Pull Command
Owner
stjohnjohnson
Source Repository

Comments (0)