summaryrefslogtreecommitdiff
path: root/wasp/steplogger.py
AgeCommit message (Collapse)Author
2021-02-25apps: steps: Add a history graphDaniel Thompson
The steplogger records steps but currently there is no way to see the data recorded on the device itself. Make a first attempt at graphing the step data. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-02-25steplogger: Write less frequentlyDaniel Thompson
Currently we dump the step data every 30 minutes. This was a good interval for testing but we can extend it a little without any problems. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-02-25steplogger: Ensure today's data is updated when we provide itDaniel Thompson
Currently steps from the last six minutes do not appear in the data. We can fix this by updating the data before creating the iterator. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-02-21steplogger: Add iterator to allow UI to read the dataDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-02-21steplogger: Introduce code to perform data loggingDaniel Thompson
The code is not yet enabled by default but it can be tested by adding custom code to an interested user's main.py . Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>