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,
I was looking at the Weather Smartconnector example and noticed that "CityID" is configured to be a writable property. Running the weather service, I tried writing to the "CityID" value from within EcoStruxure, but it resulted in "Object property does not exist, Invalid data" error message being shown. I'm assuming this is because I need to configure the point in code to accept values from EcoStruxure. I was wondering if someone could show an example of how to properly configure a writable point, allowing me to write a value from EcoStruxure to SmartConnector.
Thanks!
-Dave
Link copied. Please paste this link to share this article on your social media post.
Hi David,
I think I finally see what you are doing incorrectly. Although, the log file entry you sent does not show me what is wrong, I looked back at your original screenshots, and finally realized you are trying to write to a point from the "Hardware" folder of EBO, which I don't think works for EWS points.
In order for EBO to write to an EWS Server. You must first HOST these objects. When you host, effectively a proxy point will be created for you in the EBO database under the EWS Interface you created. To host, navigate to the folder you want the objects from in the Hardware folder. Right click it and select 'Host EWS Objects', then select your interface (which should be the default).
After hosting the objects, try to write the point again, and let me know if this fixed your issue!
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi David,
Can you post a screenshot of this error, and also perhaps the Smart Connector log?
I am assuming you are following the Developer's guide, or looking at the SmartConnectorSamples. If you are doing either of these, then in theory you have already setup this point to be created, and be writable, and this error should not occur.
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Ecostruxure:
Log file:
Yes, I am using the weather example from SmartconnectorSamples.
-Dave
Link copied. Please paste this link to share this article on your social media post.
Hi David,
From what I see of your screenshots, I don't see any errors for the WeatherService EWS Server, in the Smart Connector log screenshot everything looks as expected, and in the EBO screenshot I do see errors for another two EWS servers you have hosted though but not the WeatherService, is this what you are referring to?
Can you update your Smart Connector log filters to include 'Ews Serve' logging (in Setup > Log Filters), as well as changing the Logging level to 'Trace' (in Setup>Settings). After that can you cause the error and send the Smart Connector log file as well?
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Yes, I'm refering to the errors seen in Ecostruxure.
Alright, I enabled EWS serve and logging level Trace in my settings, and then I caused the error to happen:
Link copied. Please paste this link to share this article on your social media post.
Hi David,
I think I finally see what you are doing incorrectly. Although, the log file entry you sent does not show me what is wrong, I looked back at your original screenshots, and finally realized you are trying to write to a point from the "Hardware" folder of EBO, which I don't think works for EWS points.
In order for EBO to write to an EWS Server. You must first HOST these objects. When you host, effectively a proxy point will be created for you in the EBO database under the EWS Interface you created. To host, navigate to the folder you want the objects from in the Hardware folder. Right click it and select 'Host EWS Objects', then select your interface (which should be the default).
After hosting the objects, try to write the point again, and let me know if this fixed your issue!
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.