arnauorriols / node-red-contrib-python-function

Write Python functions in Node-RED!
MIT License
41 stars 23 forks source link

2 msg input ? #14

Open navivfr opened 3 years ago

navivfr commented 3 years ago

Hello,

I get a very stupid question. How to get the value of msg.payload ?

my value is number...

Something like :

var value = msg.payload

Thank You.

navivfr commented 3 years ago

ok i get it was missing int(value)

anyway, can the module handle more than one msg Like msg.paylaod and msg.frequency in double input ?

misiuplus commented 3 years ago

ok i get it was missing int(value)

anyway, can the module handle more than one msg Like msg.paylaod and msg.frequency in double input ?

How did you solve the problem?