From fe851b5be7b6788fbb3c9d8e17d098d803d48751 Mon Sep 17 00:00:00 2001 From: "Naveen A.B" <53806497+RNA3210d@users.noreply.github.com> Date: Sun, 28 Jun 2020 16:45:55 +0530 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 72c7d75..00aff44 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,21 @@ Python based Telegram bot to monitor and control the raspberry pi. -Coming soon.. - - +## Before you start +- Install telepot library for enabling the Raspberry Pi to communicate with the Telegram bot using the API. + ``` + sudo apt-get install python-pip + sudo pip install telepot + ``` +- Request the BotFather to create a new Bot. +- Paste the HTTP access token here : + ``` + bot = telepot.Bot(' Enter your Telegram bot API token here ') + ``` ## Commands: - +- help - List of commands - ledon1 - Switch on LED 1 - ledoff1 - Switch off LED 1 - ledon2 - Switch on LED 2