FYI, I did a Youtube video on using TRIGGERcmd with Node-RED:
https://www.youtube.com/watch?v=9PH7LOd8e04