Hi everyone,
Today’s post comes fully packed with an intro to our ThingWorx Edge strategy. Learn how to connect your machine data to ThingWorx, how our SDKs work, why you’d want to use them and how you can deploy agents.
To learn more about the Edge with ThingWorx, I spoke with Shravan. When Shravan’s not following Formula 1, learning about the latest trends in AI or playing cricket, he’s leading our development teams as the PM for the Edge. Check out what he had to say:
Kaya: How can I connect my machine data to ThingWorx through a protocol that the platform does not natively support?
Shravan: If you’re looking to connect your machine data to ThingWorx through a proprietary protocol and you require a 1:1 connection with the platform, we have two paths you can take. You can either:
Kaya: And how can I connect my machine data to ThingWorx if my protocol is known?
Shravan: Alternatively, if you’re a customer that communicates over a known protocol, then we’d recommend using our ThingWorx Industrial Connectivity product, also known as KEPServerEX or ThingWorx Kepware Edge.
For more background, I’ll go into a little more depth:
Kaya: Okay, great. Let’s cover SDKs first. In one sentence, can you explain how our SDKs work?
Shravan: The SDKs provide services for establishing a secure WebSocket connection (AlwaysON) to the ThingWorx Platform so that you can perform functions such as property updates, file transfers, tunneling, software content management (SCM), etc.
Kaya: At a high level, why do SDKs leverage AlwaysON?
Shravan: Typically, transferring data to a server in IoT would require leveraging either REST web services, which has high connection overhead, works over HTTP or using MQTT, which requires a server and additional open ports.
So, an ideal connection should have three key features as a minimum:
ThingWorx Edge SDKs provide this ideal connection though “Always On” protocol, which is based on WebSockets.
Kaya: What are the top three things a developer can do with the SDKs?
Shravan: Here are my top three.
Kaya: How can you deploy SDK-based agents to devices?
Shravan: You can deploy the agent in two main ways. One where the agent lives adjacent to the control and monitoring application of the machine and the other where the agent is directly integrated to the control and monitoring app of the machine.
Kaya: Anything else you want to mention?
Shravan: The Edge SDKs support a framework for adding additional functionality to the SDKs. This is known as the Edge Extension Framework. This allows additional functionality to be provided as installable services, which allows them to be extended in a manageable way while keeping the core SDK as compact and efficient as possible. Software Content Management (SCM) was the first commercially available Edge Extension.
- - -
This concludes the first installment of our series on Edge. Be on the lookout for deeper dives into KEPServerEX, SDKs, ThingWorx Kepware Edge and AlwaysOn.
Reach out if you have any questions.
Stay connected,
Kaya
P.S. For everyone who’s followed me for the past year, I’d just like to extend a huge thanks, as “Ask Kaya” has just turned one! It’s been a great first year and I’m excited for year two!