Electromaker - Make it smart contest - Accessing Accelerometer Data via nRF Cloud API

I submitted a project idea for the Electromaker make it smart thingy:91 contest.  Part of that was to detect and alert a user if there was an impact.  This would require access to accelerometer data.  The only accelerometer data I seem to be able to retrieve from the API is the flip function.  Would it be possible to add some sort of impact or movement data similar to the button press ?

Thanks

Colin

Parents
  • Hi Colin,

    Yes, you can enable DATA_ACCELEROMETER_BUFFER_STORE in asset_tracker_v2 and it will then send the accelerometer readings to the cloud. However, there is a reason we have turned that OFF by default in the application, right now it's a bit hard to interpret the values into something more meaningful than "is there movement?". Even flip can be problematic because the up/downsides are hardcoded and only work properly on the DK. Better access to the accelerometer is something we are looking into improving.

    Best regards,
    Martin L.

  • Thanks Martin.  Appreciate that.  I'm happy with just "there's been movement" so that should suffice, I'll enable it now.  

    On the nRF Cloud side is there any REST API property (I think most of the others like temp are listed under "appId") I should be looking for or is it just a standard message?

    Thanks

Reply Children
Related