SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Posted: 2017-11-28 09:32 PM
Link copied. Please paste this link to share this article on your social media post.
I’m using SmartConnector to control SBO. I followed the manual and I’m able to get/put values if they are "Analog/Digital Value". But when I try to do the same with "Digital Output", GET works but PUT fails.
How do you update "Requested Value" of "Digital Output"? Or simply update "Digital Output"?
I use /Values/{id}/Value and GET works but PUT doesn't. It says READ_ONLY.
Link copied. Please paste this link to share this article on your social media post.
Hi Mayumi,
I was a little bit off. What you want to do is:
PUT http://(URL)/Values/(path)/Value
Where path is a encoded version of:
11/Quraz/Servers/Demo shop/IO Bus/2F-07 DO-FC-8/HV_FS_01_01_01/RequestedValue (notice how the /RequestedValue is part of the path)
Therefore the whole request would be:
PUT: http://(URL)/Values/11%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%252FHV_FS_01...
Let me know if that helps!
Regards,
-Jeff
Link copied. Please paste this link to share this article on your social media post.
Hi Mayumi,
The path ({id}) for the RequestedValue of an IO output should look something like:
11/Server 1/Servers/InnovationAS/IO Bus/UI-8.DO-FC-4/Cooling/RequestedValue
Please note the use of '11' instead of the typical '01'. This is because the RequestedValue is a property of an object, but not the object itself.
Regards,
-Jeff
Posted: 2017-11-29 09:24 PM
Link copied. Please paste this link to share this article on your social media post.
HI Jeffrey,
Thanks for your reply.
But it doesn't seem to work.
I tried...
GET http://(URL)/Values/01/(path)/Value - This works
PUT http://(URL)/Values/11/(path)/RequestedValue - "Not Found"
Mayumi
Posted: 2017-11-30 12:06 AM
Link copied. Please paste this link to share this article on your social media post.
This is the test result...
PUT: http://(URL)/Values/01%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%... - 404, Not Found/No message
PUT: http://(URL)/Values/11%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%... - 404, Not Found/No message
PUT: http://(URL)/Values/01%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%252FHV_FS_01... - 500, Internal Server Error/NOT_FORCEABLE
PUT: http://(URL)/Values/11%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%252FHV_FS_01... - 500, Internal Server Error/INVALID_ID
PUT: http://(URL)/Values/01%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%252FHV_FS_01... - 500, Internal Server Error/READ_ONLY
PUT: http://(URL)/Values/11%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%252FHV_FS_01... - 500, Internal Server Error/INVALID_ID
Link copied. Please paste this link to share this article on your social media post.
Hi Mayumi,
I was a little bit off. What you want to do is:
PUT http://(URL)/Values/(path)/Value
Where path is a encoded version of:
11/Quraz/Servers/Demo shop/IO Bus/2F-07 DO-FC-8/HV_FS_01_01_01/RequestedValue (notice how the /RequestedValue is part of the path)
Therefore the whole request would be:
PUT: http://(URL)/Values/11%252FQuraz%252FServers%252FDemo%2520shop%252FIO%2520Bus%252F2F-07%2520DO-FC-8%252FHV_FS_01...
Let me know if that helps!
Regards,
-Jeff
Posted: 2017-11-30 06:57 AM
Link copied. Please paste this link to share this article on your social media post.
Worked!!
Thank you so much!!!!
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.