In this project, we’ll create a Telegram Bot using python-telegram-bot
and deploy it to Heroku. It is also programmed to control a feed on Adafruit. The program sends values of 1 and 0 to the feed and turns the status indicator on or off.
You will have to sign up for the following services:
This bot takes 3 commands: /start
,/lighton
and /lightoff
/start
will return a message instructing the user to give the appropriate inputs/lighton
will display the message “Light has been turned ON”. It will also return an image of a lit bulb and will send a value to Adafruit indicating that its ON. …About