Flask is indeed a very good option. You can start out by using its build-in server, and then later worry about a real server, like nginx.
Depending on your needs, you may want to set up a database to store the data, it is all possible on the Zero 2W. I have a simple program that stores sensor data in the database every two minutes. At the same time it erases data that's over a week old, as I don't need any older. YMMV. Then I display over the network with Grafana with fancy displays and graphs. Just eye candy really, but it can all be done on the Zero 2W.
Depending on your needs, you may want to set up a database to store the data, it is all possible on the Zero 2W. I have a simple program that stores sensor data in the database every two minutes. At the same time it erases data that's over a week old, as I don't need any older. YMMV. Then I display over the network with Grafana with fancy displays and graphs. Just eye candy really, but it can all be done on the Zero 2W.
Statistics: Posted by kheylen25 — Fri Aug 23, 2024 7:05 pm