IOT PRACTICAL - TELEGRAM MESSENGER - DEEPAK POINT

Official website of the Deepak Point. we share computer software, hardware and networking, technology, website, game, mobile, online earning, tips and tricks, Pc solution, computer hardware and networking, software Platform. Here we will provide you only interesting content, which you will like very much.

Breaking

Monday, 14 November 2022

IOT PRACTICAL - TELEGRAM MESSENGER

Exp-05

 Aim:- Control Raspberry pi via telegram app.

Step1: create bot apk in telegram application in your mobile phone.

Syntex:- 
Open telegram --search botfather--open it.
Type--. /start----then /newbot-----useridbot


Open terminal run the below cmd.
1. Sudo apt-get install python-pip
2. Sudo pip install teleport
3. Git clone://GitHub/salmanfarisvp/TelegramBot.git


Now time to change the acces token in given code


3.3 Install "Python Package Index"

sudo apt-get install python-pip

Note: Make sure Pi has internet access

3.4 Install "telepot"

 sudo pip install telepot

Step 4: Run the Python Code

4.1 Clone the git

git clone https://github.com/salmanfarisvp/TelegramBot.git 

4.2 Paste your Bot Token here

 bot = telepot.Bot('Bot Token') 

Note: 1.6 for more details

4.3 Run the Code

python telegrambot.py 

All set, now time to connect the Pi and LED.

Step 5: Connect LED to Pi

Step 6: Send Command

6.1 Start our Bot

No comments:

Post a Comment

NO NEED TO DO ANY SPAM ACTIVITY.

Post Top Ad

Responsive Ads Here