I think it's time to acquaint you with what I created on theme Websocket.
I named my new plugin Websocket suite.
I knew that in order to demonstrate the possibilities of this plugin I need an external device.
But there is a problem. I do not own any suitable equipment.
But even if I owned any device, even so it was a problem.
Anyone interested should try the Websocket suite he would also have the same equipment.
So I first created a program that is called Virtual house.
It can "live" their own lives. You can try it. You will see that the program does nothing useful.
As a next step I had to do a plugin through which you may control the Virtual house.
Note that this plugin is included in the category External Equipment.
The last step then was to create html websocket client, through which can also control the Virtual house.
Only in this moment, everyone can easily try out what you can do with Websocket suite plugin.
I recommend the following:
1. Download VirtualHouse.exe and attached zip file. Extract the zip file.
2. The two folders VirtualHouse and WebsocketSuite move into the folder EventGhost\plugins\
3. The two files VirtualHouse.exe and Websocket_Client.html you can place anywhere
4. You can run VirtualHouse.exe and play with it. It remembers the last state, even when you close it and restart.
5. In the program EventGhost, you open the file WebsocketSuiteDemo.xml
6. In a web browser, open the file Websocket_Client.html. I recommend use BlackHawk browser, but you can also use Chrome.
7. Websocket_Client.html file you can open multiple times (in multiple windows or tabs) and also in more computers.
If you use a different computer than where the server is running, you must to replace the word localhost in the source text either by IP address or name of the computer on that is running the server.
8. Now you can already play with it. You can try to change various parameters and see what happens. Parameters can be changed
either by the html client or using the Virtual house plugin or directly in Virtual house.
9. To understand how it works, you have to study file Websocket_Client.html and mainly setting Server classes .... To get to this setting, you must press the button, which can be found in the main configuration dialogue of Websocket suite plugin. Do not forget to try the context menu that can be invoked by right mouse button on most tables.
10. Furthermore, I suggest you turn on the option Log commands to following logfile:, which you will find on page Options. Then occasionally check the contents of the logfile.
Pako
VirtualHouse.exe Size: 18 MiB
EDIT 2012-01-16: Added version 0.0.5
