How can I configure a WR11 to send a SMS alarm based on cellular data value?

I would like to configure a WR11 to send a SMS message whenever the data usage on the cellular connection reaches a certain threshold.

Hi

this would depend on if you are intrested on Bit couunt for use with data plans

or if your intrested in when X aniount of data s used a day

the first you can set alarm limits and stop limit on the cellulars PPP instance and have it reset on a set day of the month.
when the warning / stop level are reached they put an entry in the eventlog.
you can setup sms alerts when serton events fire in the eventlog

http://ftp1.digi.com/support/documentation/QN35_Configure_SMS_alerts.pdf

the second would needed to write a python script to read the PPP rx/tx or total value in from CLI

at\mibs=ppp.1.dlim.totdata
at\mibs=ppp.1.stats.rxbytes
at\mibs=ppp.1.stats.txbytes

then depending on this value then use the
sendsms

do some other task

regards