Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hey guys,
How do you integrate custom widgets with real time data on ThingWorx?
Thanks!
Real time data is possible with any of the Widgets currently available. What is your specific use case?
Hello Meghan,
Since we are on the topic of real-time data updates... Do you know if there are any plans to implement Comet, WebSocket or any other form of HTTP server push in ThingWorx?
/ Constantine
Well, the Edge Microserver pretty much communicates over Websockets and HTTP calls, that works either ways - from the Microserver to the Server and back.
I mean between TWX and browser.
There are plans to implement this for mashups in an upcoming release. The initial version will be limited to properties of a Thing, but will allow widgets to refresh as soon as new values on the properties are available as opposed to polling the server.
If these are custom widgets you created for Thingworx, please follow the SDKs that you can find on support.ptc.com
If you are talking about your own visual delivery vs. Thingworx Mashups, you can leverage the Thingworx REST API to retrieve data from the model.