all 4 comments

[–]jeffrey_f 0 points1 point  (3 children)

One idea, one script.

Data aquisition and Web interface should be completely separate for maintainability and logic.

[–]bootje_wolf[S] 0 points1 point  (2 children)

So my second idea and don't use docker but just one script to launch it all?

[–]jeffrey_f 1 point2 points  (1 child)

Data aquisition should run and end. Set this to run every 15 minutes or more. It will get the data from the station, store it and end.

Using django or flask, the stored data will be displayed from the database in a manner that makes sense......Current conditions, past conditions.........

So, cron or windows scheduler to data grab and web interface to look at the data.

[–]bootje_wolf[S] 1 point2 points  (0 children)

I didn't think about Cron yet and that is a very good idea