Hi,
I have a Thingy:91 with asset tracker v2 installed on it, and I am a bit puzzled about the results I see based on the configuration. Let me list some information.
- Device: Thingy:91 (purchased late 2024)
- SDK: v2.7.0
- Zephyr: v3.6.99-ncs2
- Modem firmware: mfw_nrf9160_1.3.5
- Application: asset tracker v2
- Extra overlays: pgps and low-power
- Currently evaluating application using NRF cloud and the provided iBasis SIM
See the reported configuration below.
{ "activeMode": false, "locationTimeout": 300, "activeWaitTime": 300, "movementResolution": 300, "movementTimeout": 86400, "accThreshAct": 2, "accThreshInact": 2, "accTimeoutInact": 300, "nod": [] }
What I am trying to achieve is roughly the following.
- When there is no movement (i.e. inactivity), report a data point every 24 hours
- When there is movement (i.e. activity), report every 5 minutes
I lowered the two threshold values from 4 to 2, otherwise no activity was registered for my use case. I extended the inactivity timeout to 5 minutes with the idea that one more data point would always be sampled after movement stops.
I thought the above configuration would achieve what I just explained. During inactivity, the device seems to behave as expected. During activity, behavior is not what I expected. If I look at the data in NRF cloud during activity, data is sampled every 10-60 seconds (varies between points). I suspect I might be interpreting the thresholds or inactivity timeout incorrectly, but might be something else too. Does someone have an idea what might be going on here and how I would achieve my desired functionality?