Hello Sir, Is there any way to get an input from "text input" on Node red, send it as a variable value into my python code and execute ? Thanks
@IOTConnectivity
Жыл бұрын
You can push text input values into a csv file in node red. You would have to retrieve this via Python.
@user-li8wc9sq1c
Жыл бұрын
Good
@user-og8xh3yv1e
Жыл бұрын
🎉
@lucasc.3103
Жыл бұрын
Where i have to save the py file? i receving this message "pyfile not exist"
@IOTConnectivity
Жыл бұрын
Firstly make sure the Python program runs via the terminal. In my example I’m storing my program in the home / root directory. Type cd.. a few times until the marker before your text input says home. Store your program here, then it’s easy in node red.
@lucasc.3103
Жыл бұрын
@@IOTConnectivity it worked, thanks for the help
@malekkharcha1925
9 ай бұрын
I used pythonshell but it keep telling me pyfile not exist ?
@IOTConnectivity
9 ай бұрын
You need to double check the location of your python file. My example the file is in the root directory. You need to add the path if it is stored elsewhere.
@malekkharcha1925
9 ай бұрын
@IOTConnectivity thank you mate I already fixed it. I installed nodered as a docker container so before running the python script it needs to be stored in node red container using 'docker exec -it bash|bin ' line to acces the container after that you can save your file or create it inside the container. Thanks a lot for you reply ❤
Пікірлер: 10