How to call the python library as an external script? in NodeRed

398 views
Skip to first unread message

Darshita Patel

unread,
Nov 3, 2016, 4:06:45 AM11/3/16
to Node-RED UI

I am using virtual cloud from iotify.io and using execute node i am not able to call python script. so how to run python script in nodered?

john macrae

unread,
Mar 29, 2017, 11:06:44 AM3/29/17
to Node-RED UI
I'm using the Exec node to run Python e.g. python /mnt/usb_1/scripts/flux_led.py 192.168.43.110  to turn my LED lights on and off.  Does the node return errors? (Add an Function node to the output  with node.error(msg) in it to catch the errors)
Reply all
Reply to author
Forward
0 new messages