@russ Thank you for your quick response. I tried installing the node-legacy but no change. I can trigger from the site and from SmartThings but no commands run. I am running Raspian OS.

Should i have uninstalled the npm nodejs first before installing the npm nodejs-legacy?

EDIT: For others reading this thread, we found that the Raspberry Pi version 2 runs a very old version of node js, and the latest version of the TRIGGERcmd Pi agent uses a function that requires a newer version.

We downgraded the agent to this one and it works fine (and still supports parameters) http://triggercmdagents.s3.amazonaws.com/triggercmdagent_1.0.1_all_pi2.deb

EDIT 2: I updated the Raspberry Pi version so now the latest version it works fine on a Raspberry Pi2.