Remotely control and monitor lights, thermostats, doorlocks and sensors.
The zVirtualScenes WebApi2 plugin exposes a RESTful HTTP based API that client applications can use to interact with zVirtualScenes. zvsMobile for Android and Windows Phone Mobile is an example of a client application that is capable of consuming the WebApi.
zVirtualScenes - Configure the WebApi2 plug-in in zVirtualScenes
zvsMobile - Open the settings screen in zvsMobile
Note: You can optionally setup zvsMobile to work outside your local LAN by opening the above port in your home router. Then use a service such as dyndns to track your IP. Then change the URL from 'http://1.1.1.1' to 'http://myhomenetwork.dyndns.org' where myhomenetwork is your dyndns address.
Close zVirtualScenes and start it with administrator privileges. Alternatively you can Google "How to configure HTTPLISTENER to run without administrator privileges?" for tutorials that will allow you to use certain ports without running the entire app with admin rights.
Other software on your computer may already be using the port that the WebApi is trying to use. Simply changing the port in the Plugin Manger to an unused port will resolve this problem.
The most common cause of this error is Windows Firewall is blocking incoming requests to the port used. To resolve the issue, you simply need to allow incoming TCP traffic on port 8085 (or the alternative port your selected in the zVirtualScenes plugin manager; 8085 is the default) using Windows Firewall via the Windows Control Panel. There are many tutorials on Google that provide step by step instructions on how to do this if further help is needed.
The second most common problem is the IP entered in the WebApi2 URL input box is not correct. On the computer running zVirtualScenes, open the command prompt the type ipconfig to verify the IP.