HI Engineers form thingworx:
Hi Wenchen,
The ability to show real time information using web sockets is on the development time line, I'm not sure when that will be available though.
Unfortunately I can't help you along with instructions as to how to build this yourself. Thingworx does of course support Web Sockets.