cph-cachet / carp.core-kotlin

Infrastructure-agnostic framework for distributed data collection.
https://carp.cachet.dk/core/
MIT License
21 stars 3 forks source link

Pseudorandom time-based triggers #401

Open Whathecode opened 2 years ago

Whathecode commented 2 years ago

For example: at least 3 times per day (within a preset interval), but with random hours in between.

pmasulli commented 2 years ago
bardram commented 1 year ago

I've implemented this as part of the Flutter mobile sensing implementation

https://github.com/cph-cachet/carp.sensing-flutter/blob/fb7d1aa6176d3b6f4731703917d1ecb700aeae4f/carp_mobile_sensing/lib/domain/triggers.dart#L645