Yes, correct.
Lightning detector → RPi (here the web server runs) ← WD http download every 1 minute
RPi:
- Logs every strike to a file
- Another python script analyzes the file and generates nowcast.txt and writes the number of strokes in the last current minute. Sleeps for 60 seconds and again it goes.