Update README.md

This commit is contained in:
Naveen A.B 2020-06-28 16:45:55 +05:30 committed by GitHub
parent 5e32a60015
commit fe851b5be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 4 deletions

View File

@ -2,13 +2,21 @@
Python based Telegram bot to monitor and control the raspberry pi. 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: ## Commands:
- help - List of commands
- ledon1 - Switch on LED 1 - ledon1 - Switch on LED 1
- ledoff1 - Switch off LED 1 - ledoff1 - Switch off LED 1
- ledon2 - Switch on LED 2 - ledon2 - Switch on LED 2