summaryrefslogtreecommitdiff
path: root/LICENSE (unfollow)
AgeCommit message (Collapse)Author
2023-03-11Step counter: reset every 24 hours, and load offsets from the log file when ↵Arseniy-Movshev
initialising. - This is quite crude - Firstly, we assume that the last record in the file is chronologically the last. This needs more consideration. - we do check if we're on a fresh boot, but we just give up completely if it's not a fresh boot, which may work, but needs testing to figure out how it actually works in practice
2023-03-07Refactor sensors into separate filesArseniy-Movshev
- this should make things a lot easier to maintain. instead of having everything in the same file, each sensor provides a constructor that sets it up correctly etc. - this should also get the step counter running when the service starts, which is necessary, since the sensor won't count on most devices unless the service is running. - this also temporarily removes the gps module from the service. it's not implemented right now anyway.
2023-02-07try to fix file overwriting instead of appendingArseniy-Movshev
2022-11-12Add a connection between sensor start and recordingArseniy-Movshev