I searched the forums, have not seen a discussion of parsing IM data in there.
I'm using IMO beta to aggregate IM messages from several sources. The source of most of these messages is a number of internet servers. When something goes "wrong" the monitoring servers complain via many IM messages (we used to use SMS but "message storms" tend to be a huge problem, especially without an unlimited text plan).
Anyway, here is a vastly simplified version of what I'm trying to do:
Also, is there a way to edit tasker code directly w/o the GUI?
I'm using IMO beta to aggregate IM messages from several sources. The source of most of these messages is a number of internet servers. When something goes "wrong" the monitoring servers complain via many IM messages (we used to use SMS but "message storms" tend to be a huge problem, especially without an unlimited text plan).
Anyway, here is a vastly simplified version of what I'm trying to do:
Code:
if ("IM message in app IMO beta" contains_string "Nagios") then
if (countdowntimer == 0 OR undefined) then
countdowntimer = 120 secs # No audible alert more than every 2 mins
if (DAY >= MON && Day <= FRI && TIME > 8:00 and < 23:59)
play Problem.mp3 at 50% volume # Assume awake during day
elsif (DAY >= SAT && Day <= SUN && TIME > 10:00 and < 1:59)
play Problem.mp3 at 50% volume # Later on weekends
else
play LoudSiren.mp3 at 100% volume # Force wakeup at night
endif
endif
endif
Also, is there a way to edit tasker code directly w/o the GUI?