I am trying to make a task within Tasker, which will be count for some special data from incoming SMS. Every SMS could be write in different style. These are a few examples:
AUSDF001 Device is not working
ARFS97A Device is working now
TFDAAAA Home Device is off
HFGRTEUZTG1 Washington is ON
Every SMS contains one device and one state of that device.
I want to Tasker search for text the name of each device ("AUSDF001" or "ARFS97A" or "TFDAAAA Home" or "HFGRTEUZTG1 Washington", as You can see it may be one or two word)
I don't know all device's names. I want to save actual state of each device which send me SMS and show in Minimalistic Text or Tasker Sceen for example.
I need to save first word of every SMS and compare that against something, then try to save first and second word and compare too ? And then search for "not working", "is working" , "OFF" and "ON" ?
I know all incoming SMS body is in %SMSRB, but I don't know howto search for some text within a variable.
Any idea appreciated.
Regards,
Tlamik
Matt
Matt
Matt