grow-python icon indicating copy to clipboard operation
grow-python copied to clipboard

Logging sensor data in time

Open ThSGM opened this issue 3 years ago • 0 comments

Hi,

I'd like to include a code snippet in examples/monitor.py so as to output the sensor data every X minutes onto an external file. For example, in a CSV format of the form:

timestamp sensor1 sensor2 sensor3

Can I get some recommendations on how this might be done? I can paw my way around Python code, but I'm not sure where is the best place to put such a snippet, nor am I sure how to design the timings.

ThSGM avatar Jul 15 '22 03:07 ThSGM