Family Car Notification & Logging With AI
by KimY21 in Circuits > Cameras
14 Views, 0 Favorites, 0 Comments
Family Car Notification & Logging With AI
Turn any camera into a smart license plate notifier with logging. The project recognizes your family's cars from a simple text file, sends a Telegram message with a snapshot whenever a vehicle pulls up, and keeps a clean visit log you can filter and export later — all without writing a single line of code. Supported plates include Latin-script regions (North America, Europe, Latin America, and more) as well as Korea. Works on Raspberry Pi, Windows PC, Mac, or any Grablo-supported device, and if you have a laptop with a built-in webcam, you can start testing right away.
Supplies
Hardware:
- Windows PC, Mac, Raspberry Pi 4+, or any other Grablo-supported device
- USB / CSI / ONVIF / RTSP camera (not required for laptops with built-in webcam)
Software:
- Grablo — No-Code IoT Platform (grablo.co)
- A Telegram account and a bot token from BotFather
Quick Start
Want to skip the build and try it right away? Copy the project from the Grablo Gallery:
- Download and install Grablo on your device from grablo.co/download
- Get this project from the Grablo Gallery
- Open the copied project and go to Settings — configure your camera (for ONVIF/RTSP cameras, update the address and credentials) and add your Telegram bot token under Telegram Bot
- In the AI Analyzer settings, pick the region that matches your plates (Latin for most countries, Korea for Korean plates)
- In the Telegram Message action, enter your Chat ID
- Create a text file with your own family plate numbers (one per line or comma-separated), and in the Read/Write File action upload it to replace the included file
- Connect to your device and hit RUN
If you'd like to build it from scratch, follow the steps below.
Create Dashboard
Create a new project at app.grablo.co, name it "Family Car Plate Notification & Logging," and select your device. Then create a dashboard and add a Camera widget for the live video feed, a Label widget to display the recognized plate, and a Historical Table widget to show the logged plates. Set the table to refresh every 1 second.
Set Up Logic
This project uses two logics. The first kicks off the AI when the project launches — a Once condition triggers an AI Analysis action that creates a new License Plate Recognition analyzer on your camera. Choose Fast mode for smaller boards or Accurate mode for mini PCs and desktops, and pick the region model that matches your plates. A second AI Analysis action with the Start Analysis command begins the actual recognition. A Read/Write File action then loads a family plate text file into a variable so the rest of the project can look up plates without touching the disk again.
The second logic does the notification and logging. An On Change condition watches the recognized Plate variable with the Invert option enabled, and the control's Hold Time is set to 3 seconds — together this means "the plate has stayed the same for 3 seconds." A Compare condition then makes sure the plate is not empty, and another Compare ensures the plate is different from a Last Plate variable so we don't re-notify for the same vehicle. A Custom Action uses a Find In Text block to check whether the plate appears in the family list, and sets an Owner variable to "Family" or "Unknown." After that, a Data Logging action records the plate, a Camera Capture action saves a snapshot to disk, and a Telegram Message action sends the snapshot with an optional caption. The final action updates Last Plate to the current Plate so the next vehicle triggers exactly one new alert.
Launch Your Project
Launch Your Project
- Open the Grablo app and select your project
- Connect to your device
- Hit RUN
- When a car arrives, watch the Label update and the log table grow
Expected Results:
- The camera feed displays in real time
- After 3 stable seconds, the recognized plate is tagged Family or Unknown
- A Telegram message arrives on your phone with the captured snapshot
- The log table records each visit with a timestamp — filter by date range or export to CSV from the top-right buttons
Video Tutorial
Expand Your Project
Ideas to take it further:
- Trigger an automatic garage door opener when a Family plate is detected
- Add a TTS welcome message that calls out the driver's name
- Alert when an Unknown vehicle lingers for more than N minutes
- Connect multiple cameras (driveway, gate, parking lot) into one log table
- Push the snapshot to a wall display whenever someone arrives
Troubleshooting:
- Plate not detected: ensure the plate is well-lit and roughly perpendicular to the camera, and confirm you chose the correct region model.
- Same plate logged twice: make sure the Last Plate Set Variable action is placed at the very end of the notification control's actions.
- Telegram message not arriving: verify the bot token, start a chat with the bot from your phone, and double-check the Chat ID.
- False family matches: Find In Text matches substrings — pad your plate entries with separators or use full plates only to avoid partial matches.