I’m trying to setup a notification shell command. The command line is
echo message | ssmtp
But I can’t seem to get anything in to the message parameter and I don’t want to hard code it. Right now, it just sends a blank message to my phone. I’ve tried it from the services tab using the following json string
{“message”:“this is message”,“title”:“this is title”,“target”:“this is target”,“data”:{“inside”:“this is data”}}
I even created just a simple shell command that just echo’s out the command line and none of these make it to the command line. There doesn’t seem to be an environment when the shell command is run, so they aren’t environment variables either…