News:

HOT TIP! Exploring the commands packaged in VC's standard configurations is a great way to learn how to build your own. You can also clone a command as a starting point: just right-click and select "Clone" (or type Alt-C).

Main Menu

Send Python Script To RPi

Started by tyebeach, April 15, 2015, 06:54:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tyebeach

I have a Raspberry Pi setup on my network and I was wondering if there was a way to send a python script to the pi or possibly, ssh in and run a python script saved in the root folder?

jitterjames

I don't have such a device but that sounds like the kind of thing that is not possible.  Usually you would need to have some kind of application running on the Pi already that can respond to some sort of network message.

OK, maybe the ssh thing would be possible somehow but I have no idea what would be involved in trying to automate something like that from Python.

Maybe someone else will have an idea.

You might be able to find something similar to EventGhost that can run on a Pi.

tyebeach

#2
Would there be a way to use PuTTY? If we could have VC send a command to PuTTY, PuTTY could then pass it along to the Pi.

I'm not well versed in any of this, but I assume that would be a way to pull it off.

tyebeach

Thanks jitterjames, I was able to get this to work using eventghost and PuTTY.