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.
I wonder what's the attributes of schedule object of SBO are supported in EWS.
Now when I create a Digital schedule or Analog schedule object in SBO, I could only call GetValue function to read out the default value-and it is ready-only, not allowed to be written.
However, now I am facing a request: some other system will be as main control system and set the timeline of schedule, SBO is expected to receiving those timeline setting(start time, end time) and updated accordingly.
Is there any way to make it? please advise.
Cheers
Austen
Link copied. Please paste this link to share this article on your social media post.
Austen,
The concept of a Schedule is not one that is part of the EWS Data Model. However, any system which implements EWS can optionally expose more complicated data structures as a ContainerItem (with the appropriate type property) and the properties of that strucutre as nested ValueItems. This is what SBO is doing for the Schedule strucutre. SBO of course decides what properties it wants to expose and whether or not those properties are writeable/forceable or not.
In order to achieve your goals you are going to need an approach other than EWS.
Link copied. Please paste this link to share this article on your social media post.
Thanks Mark -
Just to be perfectly clear, there is no possible way to edit schedules from outside workstation? Or Webstation? There is no way to write an extension to do this?? (Forgive my ignorance, still getting my head around extensions...)
Thanks!
Link copied. Please paste this link to share this article on your social media post.
Hi Lucas,
Of course there are ways, just not with EWS. It just isn't advertised . I would take a look at the Workstation SDK or the Mongoose.Csp NuGet library to do this. I will mention though, that today there are no code samples that deal with schedules.
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Thanks Jeff -
Is there any documentation on the .csp protocol?
Link copied. Please paste this link to share this article on your social media post.
Hi Lucas,
As far as I know there really isn't any solid documentation on CSP. Anything using CSP that was developed as part of Smart Connector has used a combination of already developed client code, and reverse engineering to figure out what requests need to look like. (e.g. use wireshark to see what WorkStation sends over the wire and attempt to duplicate it).
Regards.
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Oh. Wow. Ok.. haha.
Thanks! Do you have any example code or projects built using CSP?
Link copied. Please paste this link to share this article on your social media post.
The SboEwsRestProvider built into Smart Connector, was built using the CSP Client that was developed for Smart Connector. So if you have as specific example, maybe I can send you a sample of what was done for that. Unfortunately, I don't have anything for Schedules
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.