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.
Hi,
I'm not sure if this is a SBO issue or a connector issue. Anyhow, after completing the sample project, I see that units containing % symbol, i.e. '%' or '% Rh', is not recognized by SBO and the values just shows up with no unit.
Do we need to escape the symbols, or is there something else going on with my specific project?
I'm using VS2017, SBO 1.9.1.95 and the latest connector.
Link copied. Please paste this link to share this article on your social media post.
Michel,
Please correct me if my assumption below is incorrect. From your question I infer SBO is the EWS Client and you have entered ValueItems into a SmartConnector with Unit value that contains the % character. Under this scenario, you do not need to escape anything.
The list of acceptable ValueItem Unit values are listed in Table 101 of the EcoStruxure Web Services Specification (you can access that on the SmartConnectorServer Download Center or the Featured Content of this forum site). In looking in that table, I don't see Relative Humidity listed (although it should be). The proper value for that should be %RH (no space, both letters capitalized).
I confirmed that %RH does work with SBO (we tested 1.8 and 1.9). However, I did encounter more SBO EWS Client "weirdness" in doing this testing. If you edit the point in SmartConnector, SBO does NOT always show the proper property values in the Hardware folder; you will need to re-host the point to get the update.
Let me know if you have any further issues on this.
Link copied. Please paste this link to share this article on your social media post.
Mark,
Yes, SBO is consuming the SmartConnector value items as per your sample project (SmartConnector WeatherExtension).
Right out of the box, using your project, % unit is not displayed in SBO. But I also note that % unit is not in table 102, that cannot be right.
The reason for using '% Rh' was due to the fact that is how SBO writes it. I noticed that hPA in your project did not work, so I looked that up in SBO, and changed it to however SBO displayed it (hPa), and got that working.
Link copied. Please paste this link to share this article on your social media post.
Actually, I can see now that SBO (1.9.1) does not even recognize the % unit of it's own EWS value items. Must be a SBO bug.
Link copied. Please paste this link to share this article on your social media post.
While SBO does show the unit as % Rh, in order for SBO to properly recognize it, the EWS server should send a unit value of %RH
Link copied. Please paste this link to share this article on your social media post.
Roger.
Do you maybe have an answer regarding just the percent unit as well?
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.