VoxCommando

Help and Support (Using VoxCommando) => Python Scripting => Topic started by: tyebeach on April 15, 2015, 06:54:42 PM

Title: Send Python Script To RPi
Post by: tyebeach on April 15, 2015, 06:54:42 PM
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?
Title: Re: Send Python Script To RPi
Post by: jitterjames on April 15, 2015, 07:06:54 PM
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.
Title: Re: Send Python Script To RPi
Post by: tyebeach on April 15, 2015, 07:17:07 PM
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.
Title: Re: Send Python Script To RPi
Post by: tyebeach on April 15, 2015, 08:34:27 PM
Thanks jitterjames, I was able to get this to work using eventghost and PuTTY.