Notify My Android and Tasker

397 views
Skip to first unread message

to...@tonymatic.se

unread,
Dec 19, 2011, 5:33:42 AM12/19/11
to Tasker
Hi, I'm using Notify My Android for alarms etc. I have successfully
trigger tasker for Notification Title "You have new notifications!"
'Standard from NMA
I have not figure out how to grab the NMA(Prowl) message and for an
example use text2speech to say it.

Dave Fisher

unread,
Dec 19, 2011, 5:42:30 AM12/19/11
to tas...@googlegroups.com
Hi Tony,

Just for your information, I contacted the NMA author about a Tasker plugin to make all this a lot easier, and they said I was not the first to ask and that they hope to create one and have it available early in the new year, so that may help you once its available.

I gave up trying to get Tasker to work with the NMA notifications, nothing seemed to work on my SGS2.


To...@tonymatic.se wrote :

to...@tonymatic.se

unread,
Dec 19, 2011, 6:36:41 AM12/19/11
to Tasker
Hi Dave, that sounds great. Thanks for your info.

On 19 Dec, 11:42, Dave Fisher <d...@the-darkside.co.uk> wrote:
> Hi Tony,
>
> Just for your information, I contacted the NMA author about a Tasker plugin to make all this a lot easier, and they said I was not the first to ask and that they hope to create one and have it available early in the new year, so that may help you once its available.
>
> I gave up trying to get Tasker to work with the NMA notifications, nothing seemed to work on my SGS2.
>

> T...@tonymatic.se wrote :

fubaya

unread,
Dec 19, 2011, 12:03:54 PM12/19/11
to Tasker
If you're rooted you can pull it from the database:
http://a-more-common-hades.blogspot.com/2011/07/pulling-data-from-notify-my-android.html?m=1

I never got it to work in the background well but you cab set it up
and execute it when needed
With a widget or something

to...@tonymatic.se

unread,
Dec 19, 2011, 4:15:13 PM12/19/11
to Tasker
I solved it for my needs:)

I listen for a Variable Set %NTITLE with the value: You have new
notifications!

The Task look like this.
1. HTTP Get. URL to my webserver there I grab tts.txt and save it
localy in phone temp folder.
2. Read Line from tts.txt and save it to my own variable. %TTS
3. Say/Speech %TTS
4. Delete File temp/tts.txt
5. Set %TTS to nothing. I just put a dot.

In same script that I send NMA message it also write tts.txt with the
speech message to my webserver.
It's very fast.
I tried to send different message every 8 second and it's worked fine
with 100% perfection.
With lower than 8 seconds between it's a risk to miss some
notification message.
Nma notification and speech are almost exacly in same time so it's
very fast.
My next step is to try with mp3/wav file both localy and remote file.

Reply all
Reply to author
Forward
0 new messages