Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Takes a topic emitted by nut2mqtt and transmits changes to a Telegram chat

License

NotificationsYou must be signed in to change notification settings

rburkholder/mqtt2telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build:

To Build statically linked application:

git clone https://github.com/rburkholder/mqtt2telegram.gitcd mqtt2telegrammkdir buildcd buildcmake ..makecd ..

Configuration File template (change usernames, passwords, and addresses):

$ cat x64/debug/mqtt2telegram.cfgmqtt_id = readermqtt_host = 127.0.0.1mqtt_username = adminmqtt_password = passwordmqtt_topic = nuttelegram_token = 64713789....telegram_chat_id = 10

Telegram Messaging

  • BotFather Token - create bot, obtain token
  • populate the telegram_token in choices.cfg
  • start application
  • from your regular telegram account, send some text to the bot to register chat id
  • use menu SendMessage to send a test message to confirm chat id
  • chat id will persist in the state file for next startup
  • in strategy file, to send message: m_fTelegram( "message text" );

About

Takes a topic emitted by nut2mqtt and transmits changes to a Telegram chat

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp