PME Requesting Real Time Data from 3rd Party RESTful Device
SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
2024-03-1805:06 PM
PME Requesting Real Time Data from 3rd Party RESTful Device
Hi all,
I'm looking for a solution in SmartConnector to bring data from a third party device compatible with REST, into PME, to display the data realtime and also sample/log it into the DB. So far I've been able to configure PME as an EWS Client, and with a corresponding EWS Server in the SC portal, change mapped data values as expected. Now, I need some way of making requests to the third party RESTful device to get the voltage (for example), and then push it into PME. Looking around at existing forum posts, it seems that I may be able to set up an Ews.RestExtensions.MongooseEwsRestProvider, however I'm not entirely sure how I can configure it to make requests to the third party device - the swagger integration seems to be able to make requests to the EWS Server that is exposed over REST but not elsewhere. I'm also not clear on whether this RestProvider replaces the PME Server I set up in the portal, or whether it works alongside, although I'm leaning towards the former. It seems to me I need a custom extension similar to the Weather example in the sample github, but that instead uses the UpdateProcess class to make requests over REST instead of the forecast website.
Link copied. Please paste this link to share this article on your social media post.
2024-03-1912:11 AM
Hi Lachlan,
To do this, you will need a custom extension built, which will consist of a processor that creates an EWS server and then periodically updates the values on the EWS server with the values from the REST API of the third party system. Then you can create a REST EWS endpoint to share that data with PME.