• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Say command not working/instability

Rhypht

Lurker
I'm trying to create a task that will read incoming texts out loud if my phone is face-down. I have two Events connected:

"Received Text"
Type: SMS
Sender: -
Content: -

"Orientation"
Is: Face Down

...followed by a task:

Wait 1 second
Variable Set %LastTexter to %SMSRN
Variable Set %LastMessage to %SMSRB
Wait 3 seconds
Media Volume level 7
Say "Message from %LastTexter. %LastMessage."
Media Volume Level 4

For some reason, it just decides when it wants to work. I always have the profile turned on, and I have my phone face down to test it. I even turned off the orientation bit to see if that was what was messing it up, but it still only worked sometimes. My regular notification sound plays and the phone vibrates as it would for a text, but the Tasker command only triggers about 30%-40% of the time I'd say. It literally will work fine, a bit later I get another text and it doesn't work at all, another text comes in and it works. Wondering what's going wrong here?

On that note, is this app still being worked on? Using this Profile as an example, I had read that you need to assign system variables such as %SMSRN to an arbitrary user-made variable in order to get it to work properly. That just seems a bit redundant to me, and this definitely isn't the first profile I've made that had issues. Right now, this is the only profile that I'd like to use daily that won't cooperate, as I've managed to fix the rest, but there's still much more I'd like to do with this app, but am just wary to try because I don't know if they'll have the same issue.
 
Here's mine without the face down.

I'm not sure what the "-"s are in your definition.

Profile: tlaReadSMS
Event: Received Text [ Type:SMS Sender:* Content:* ]
Enter: tlaReadSMS
A1: Variable Set [ Name:%Last_From To:%SMSRN Do Maths:Off Append:Off ]
A2: Variable Set [ Name:%Last_Message To:%SMSRB Do Maths:Off Append:Off ]
A3: Say [ Text:From %Last_From Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
A4: Say [ Text:%Last_Message Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]

It seems pretty solid.

I never gave a profile and task the same name before. Interesting improvement.

... Thom
 
Back
Top Bottom