Hello I have a simple questions pls,
I've got a python script which is simply doing addition:
def ad(a, b):
so in node-red i am able to call this python script by using the exec node, CMD line in exec node is: /root/add_p.py 3 4
so my question is: instead of simply passing constant 3 and 4, how to pass the parameter with, say, msg.payload.p1 and msg.payload.p2?
Thank you very much for the help.