Code to have a scene run a bat file on a PC?

Have been playing around with the os.execute commands trying to run a batch file on a media PC. So far I have been unable to make anything work.

I searched and could not find anything in the forums. Any help you folks can provide would be awesome.

You will need to run software on your PC (Windows? Assuming so, since you say “batch file”) to listen to a network connection from Vera.

Some users here have had success with Eventghost (which you can search for on the forum). Or, if you are happy to program something, you could make your own HTTP listener, and get Vera to run a luup.inet.wget() call to your PC as part of the scene.

Thanks a ton futzle - just what I needed