vera scene to windows computer output sound or run program

I created a simple Windows program that contains a media player and a html server. You can place it on your networked-windows computer and call the sounds or run a program on your computer from your vera from within a scene using Luup code.

The Luup Code would be:
luup.inet.wget(“http://192.168.1.102:8087/Doorbell”)
where “192.168.1.102” would be your computer. You also have several other sounds to call with this program Sound1-Sound9 and Barking
ex: luup.inet.wget(“http://192.168.1.102:8087/Barking”)

All available links are:
luup.inet.wget(“http://192.168.1.102:8087/Doorbell”)
luup.inet.wget(“http://192.168.1.102:8087/Barking”)
luup.inet.wget(“http://192.168.1.102:8087/Sound1”)
luup.inet.wget(“http://192.168.1.102:8087/Sound2”)
luup.inet.wget(“http://192.168.1.102:8087/Sound3”)
luup.inet.wget(“http://192.168.1.102:8087/Sound4”)
luup.inet.wget(“http://192.168.1.102:8087/Sound5”)
luup.inet.wget(“http://192.168.1.102:8087/Sound6”)
luup.inet.wget(“http://192.168.1.102:8087/Sound7”)
luup.inet.wget(“http://192.168.1.102:8087/Sound8”)
luup.inet.wget(“http://192.168.1.102:8087/Sound9”)
luup.inet.wget(“http://192.168.1.102:8087/Program1”) currently opens notepad
luup.inet.wget(“http://192.168.1.102:8087/Program2”)
luup.inet.wget(“http://192.168.1.102:8087/Program3”) currently set to shutdown computer

I have tested it while streaming netflix and it does not interrupt the movie, it just adds the sound. The program returns a webpage with just the word “Doorbell” at this time. I tested it on a windows 7 and windows 8 computer, and it should work on older windows computers as well.

You can add the desired programs to run when this program is running on your windows computer. I will add the ability to remember those programs after a reboot in a later update. Still in testing mode.

Feel free to download:
http://dataweb.no-ip.com/SoundIt.zip
To install, you have to place all the wav files in your C directory. C:/Doorbell.wav
The soundit program can go anywhere you want. I created a directory called C:/Program Files/SoundIt , and put it there. You might have to allow it access through your firewall, it is a server on port 8087. You would also need to have it start when you computer starts or manually start the program. You can minimalize it once it is started.

The Sound6-9 wav files are Holloween sounds. You can replace the sound files with whatever you want, just use the same names, and they need to be wav files.

Use it as is. If people get it working and like it, I will consider making improvements. For now it is just a fun project I am sharing.

Have you had any thoughts of introducing TTS (Text to speech) functionality?

I would absolutely love to use this plugin. Alas I can’t. As I mentioned previously, my only computer which is on 24/7 is never logged in. It’s my file server. I could run a VM on it which is always logged on but then there would be no support for additional sound cards (no USB passthrough on any MS virtualization platforms) unless I also virtualized my file server OS on ESX, which isn’t going to happen. If this could support TTS, multiple sound cards and be run when not logged in I would be ALL OVER this. I run UTorrent on my server by scheduling the process to start on system startup as it usually starts when someone logs in. Could this process also be used for this tool?

Thanks for the development of such a great tool! As it stands right now I might use it to control my desktop, which is only on from time to time.

Keep up the great and highly needed work. If you are looking for ideas you might want to check out the HomeSeer plugin called Jon00 Remote Computer Control & Network Monitor

Text to speech, I have a prototype working. Check back in a day or two. I am currently working my real job and do not have a lot of time for programming and testing.