Is there any way to access the accelerometer in the WVA?

In the datasheet of the WVA an accelerometer is mentioned, as well as it can be used to detect vibration on the vehicle and wake-up for power management.
I would like to access the accelerometer status, so I can install the WVA unit in static units as power generators, to know if the vehicle has been power up and running and at the same time count the time it has been working for.
Is there any way to interact with the accelerometer at all?

From Python you can access accelerometer:

import digihw
acc = digihw.accelerometer()
print acc.sample()[0], acc.sample()[1], acc.sample()[2]

Thanks for your answer.

Where are you getting those Python libraries from? I only have the following one. And there’s no reference of the accelerometer anywhere.
https://github.com/digidotcom/python-wvalib

The WVA Device and Configuration Management has a section “Python Configuration” that allows specifying Python application to run.

There is no mention of the Wva in here.
http://spectrumdsi.com/wiki/developer/index.php/Accelerometer_sample

Thanks a lot for your help, I appreciate it.

digihw is built in
https://www.digi.com/wiki/developer/index.php/Module:digihw

Got it!

Thanks a lot for your help. Have been trying to get some support from Digi for a while for this matter.

you are welcome! if you are satisfied with the answer please select it by clicking on the (V) button