Concept Flow - Flask web server on Raspberry Pi
Start Raspberry Pi
Run Flask app script
Flask server starts
Wait for HTTP request
Receive request
Process request in Flask route
Send response back
Wait for next request or stop
The Raspberry Pi runs the Flask app script which starts a web server. It waits for web requests, processes them, and sends back responses.