Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Search in
Link copied. Please paste this link to share this article on your social media post.
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.
Thanks in advance,
Lachlan
Link copied. Please paste this link to share this article on your social media post.
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.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.