SMS hh:mm:ss

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

SMS hh:mm:ss

Post by Kris »

Hiya all,

I have a UPS that gives me the battery-remaining time in 100/s of seconds.

What I would like to achieve is sending a SMS with this value converted to hh:mm:ss (however 'hours' may be a bit optimistic :-).

Can this be done?

Thanks!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

SMS hh:mm:ss

Post by KS-Soft Europe »

You may use "Tune up reply value" option (Test properties dialog)
with expression like the following:
[(%SuggestedReply% div 360000)]:[((%SuggestedReply% div 100) mod 3600) div 60]:[(%SuggestedReply% div 100) mod 60]

Please check the manual or visit our web site for more information at:
http://www.ks-soft.net/hostmon.eng/mfra ... uneupreply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Brilliant!

I could never come up with a magic spell like that! :o

Thanks alot!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You are welcome :)
Post Reply