SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Link copied. Please paste this link to share this article on your social media post.
Hello to all,
we are developing a processor which interacts with a 3rd party system, for reading and writing data. We are using read/write variables. I want to ask if it is possible on the processor level to collect all the EWSValueItems which have changed from the EWS Client (in my case an ES) in order to write the values to the 3rd party syste,?
Thank you
Sotiris
Link copied. Please paste this link to share this article on your social media post.
Hi Sotiris,
Sorry for the delayed response! I had previously written a response, but never submitted it.
The quick answer is; Yes :).
To do this, you will need to subscribe to the points you want to monitor in EBO using EWS., and then periodically ask what has changed, and send those values to the third party.
You can do this using the EwsClient class in Smart Connector (ManagedEwsClient).
I have attached a sample solutiontion which has a Discovery Processor, which will go and find all EWS Value items in the ES. Of course simply doing this for ALL points is not really recommend, as that be can a ton of points you don't need and could affect the performance of your system, but you can find out a way to pass in a list, or maybe only discovery points starting at a certain folder path in EBO. There is also a ValuePushProcessor which will get all values of those points that have changed and in the case of the sample, send it to IoT Hub.
Best Regards,
-Jeff
Posted: 2019-10-08 03:04 AM
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Hello,
I have not managed to see an answer in the knowledge base that I can use for the specific development. Is there another area that I can ask this sort of information?
Thank you
Sotiris
Link copied. Please paste this link to share this article on your social media post.
Hi Sotiris,
Sorry for the delayed response! I had previously written a response, but never submitted it.
The quick answer is; Yes :).
To do this, you will need to subscribe to the points you want to monitor in EBO using EWS., and then periodically ask what has changed, and send those values to the third party.
You can do this using the EwsClient class in Smart Connector (ManagedEwsClient).
I have attached a sample solutiontion which has a Discovery Processor, which will go and find all EWS Value items in the ES. Of course simply doing this for ALL points is not really recommend, as that be can a ton of points you don't need and could affect the performance of your system, but you can find out a way to pass in a list, or maybe only discovery points starting at a certain folder path in EBO. There is also a ValuePushProcessor which will get all values of those points that have changed and in the case of the sample, send it to IoT Hub.
Best Regards,
-Jeff
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.