Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jameszah/esp32-cam-telegram
Demo of sending a photo from a ESP32-CAM acting as a Telegram BOT
https://github.com/jameszah/esp32-cam-telegram
Last synced: about 11 hours ago
JSON representation
Demo of sending a photo from a ESP32-CAM acting as a Telegram BOT
- Host: GitHub
- URL: https://github.com/jameszah/esp32-cam-telegram
- Owner: jameszah
- Created: 2020-07-10T00:22:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-27T04:25:11.000Z (over 3 years ago)
- Last Synced: 2024-03-05T06:28:06.770Z (8 months ago)
- Language: C++
- Size: 91.8 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESP32-Cam-Telegram
Demo of sending a photo from a ESP32-CAM acting as a Telegram BOTMarch 26, 2021
Debugging code for Universal-Arduino-Telegram-Bot program
https://github.com/witnessmenow/Universal-Arduino-Telegram-Bot/issues/235#issue-842397567
Copy the code from the v5 folder for using esp32 library 1.05 (or 1.06)
Same as the Brain Lough SendPhoto example, but this adds the following commands
- /start - shows commands
- /photo
- /qvga - small photo
- /uxga - big photo
- /caption - send a big photo with a caption
----------------Original intro Summer 2020
1. Shows bugfix with missing println - mod to library and ESP-Cam2.ino
2. Shows example of sending large and small jpegs - same mod to library and ESP32-Cam3.ino
3. Shows code and example to send a caption with a picture - more mods to library in /caption folder and ESP32-Cam4.inohttps://github.com/witnessmenow/Universal-Arduino-Telegram-Bot/issues/186#issue-654370487
Bugfix on line 239 of .cpp
Also demo sending a big .jpg two ways - one of which fails
Some other debugging changes - search for jz
Just add wifi name/pass and BOTtoken, then send /photo from your Telegram BOT and look at serial monitor for debug messages, and telegram for one picture
-------------------
ESP32-Cam3.ino takes the commands /qvga (320x240, about 4 kb) and /uxga (1600x1200, about 100kb) to send different sized photos
- the qvga works on both send techqinues
- the uxga fails on second send technqiue -- so use the first technique------------------
August 7, 2020
ESP32-Cam4.ino along with the Telegram-Bot library within the caption folder
- send /caption to have your telegram bot send a photo with caption
- you must use the exmaple and library from the /caption folder