script:
send_test_mobile_notification:
alias: "Mobile notification"
sequence:
- service: notify.my_phone
data:
title: "The home {{ states.sensor.time.state }}"
message: "Hello world"
The script above sends a notification to my phone and I can se the title and the message as expected.
In Tasker, I’d like to get the content of the message, but the variable %antextbig remains empty.
Question: In what Tasker variable can i find the message content “Hello world”?
Any advice would be very appreciated.
(I am using this info to get my HA notifications read by a TTS in my phone when any headphones are connected. I can hear the title stored in %antitle but I cannot hear the message content.)
If you make a Profile in Tasker, you will have an Event trigger called “Join received push”, you’ll see the differents variable names availables, but test with %jointext, %joinmessage.
I am using AutoNotification to grab info from notifications and that is working fine with all other apps aside from Join.
But @mjrival pointed me in the right direction. By using the “Join received push” instead (just for Join), I got the info I needed in the variables %jointitle and %joinmessage.