News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu

Send Python Script To RPi

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

Previous topic - Next topic

0 Members and 3 Guests 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.