How asmaklad/teleview works
TeleView is firmware for ESP32-Camera boards, principally letting users request and configure camera captures through Telegram, with a Wi-Fi configuration portal and optional web capture. The main control path is Telegram commands to camera/photo handling and delivery; web configuration and persistent settings form a parallel management path. README also documents motion alerts, time-lapse, deep sleep, SD saving, OLED/flash controls, and email. The main sketch and several feature paths were not excerpted, so their wiring is not asserted; dashed links mark documented but unverified integrations.
Main entry points: telegram_utils.h Bot commands · TeleView.ino Camera capture · webPages.h Config portal · camera_pins.h Board pins
Components 16
Telegram control
- Bot commands
telegram_utils.h - Telegram API
Web configuration
- Config portal
webPages.h - Web capture
webPages.h - Wi-Fi setup
Camera and board
- Device runtime
TeleView.ino - Camera capture
TeleView.ino - Board pins
camera_pins.h - Motion detection
motionDetect.h - OLED display
display.h
Settings and delivery
- Configuration
persist.h - Device preferences
persist.h - SMTP email
- SD card photos
Other components
- Telegram user
- Local browser
Connections 21
- Telegram user → Bot commands: sends commands
README.md - Bot commands → Camera capture: requests capture
telegram_utils.h - Bot commands → Configuration: updates options
telegram_utils.h - Bot commands → Telegram API: sends photos
telegram_utils.h - Camera capture → Telegram API: uploads image
- Device runtime → Bot commands: handles bot
- Device runtime → Config portal: starts portal
- Config portal → Configuration: loads and saves
webPages.h - Configuration → Device preferences: reads and writes
persist.h - Local browser → Config portal: configures device
README.md - Config portal → Wi-Fi setup: configures network
README.md - Local browser → Web capture: requests image
README.md - Web capture → Camera capture: captures image
- Board pins → Camera capture: defines pins
README.md - Board pins → Motion detection: enables PIR
README.md - Motion detection → Camera capture: samples frames
motionDetect.h - Motion detection → Bot commands: triggers alerts
- Board pins → OLED display: enables OLED
README.md - Bot commands → OLED display: controls display
- Camera capture → SD card photos: saves photos
README.md - Bot commands → SMTP email: sends photo email
README.md