shurillu / CTBot

A simple (and easy to use) Arduino Telegram BOT Library for ESP8266/ESP32
MIT License
150 stars 34 forks source link

Actively push notification to Telegram user #57

Closed nkebx2 closed 4 years ago

nkebx2 commented 4 years ago

Good day, thanks for sharing this library.

I tried to measure the temperature of my server room with some temperature sensors and I wanted the bot to actively inform me if the server room exceeded certain temperature.

I wonder this could be done in this library, thanks!

shurillu commented 4 years ago

Hello nkebx2, sure, it 's possible! You have to do:

There are a lot of online services for discovering your own Telegram ID but you can modify the echobot example to reply with the sender Telegram ID. Cheers,

Stefano

nkebx2 commented 4 years ago

Hello shurillu,

It works like a charm, thanks for your reply, please keep up the good work!