Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Value change to zero when 3rd party Apps write value to SBO via smartconnector

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • Value change to zero when 3rd party Apps write value to SBO via smartconnector
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SmartConnector Forum
YangboLIU
Captain YangboLIU Captain
Captain

Posted: ‎2019-03-19 06:17 PM . Last Modified: ‎2019-03-19 07:01 PM

0 Likes
4
1026
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-03-19 06:17 PM

Value change to zero when 3rd party Apps write value to SBO via smartconnector

Hi Expert

Our customer developed an APP to connect SBO via SmartConnector, they can read value from SBO correctly, but whatever the value they write, the value in SBO will change to “0”.

We do a test in office, use SwageUI can write the value correctly, use Postman get the same problem as their APP, we got a capture of  communication when write value to SBO and compare the capture files but did not found any difference except the value of Jason.

Kindly find the attached capture files,source code for change value, and comment us what cause this issue and how to make write operation works correctly.

 

Thanks and Best Regards

Yangbo

Attachments
swageUICapture.pcapng
postmancapture.pcapng
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2019-03-20 05:54 AM

0 Likes
3
1019
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-03-20 05:54 AM

Hi Yangbo,

 

In your Postman packet capture, I am seeing no requests to the EWS Restful gateway at all.

 

I see a bunch of POSTS to /json (which looks to be a different web service or like maybe you have a WebStation opened).

 

However, from the pdfs you attached it looks as though they are setting the value of the PUT parameter to 

"NewValue" = 34

 

While the swagger exaple shows the PUT parameter to be:

 

34

 

Can you try in POSTMAN to set the PUT parameter to simply the value, and not "NewValue" = value

 

Best Regards,

 

-Jeff

 

Reply
YangboLIU
Captain YangboLIU Captain
Captain

Posted: ‎2019-03-21 01:51 AM

0 Likes
2
1014
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-03-21 01:51 AM

Comparison_Swagger_Postman.png

Reply
YangboLIU
Captain YangboLIU Captain
Captain

Posted: ‎2019-03-21 01:58 AM

0 Likes
1
1014
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-03-21 01:58 AM

Hi Jeff

Thanks for comments.

The developer modify the source code as your comments but the issue still existing.

Kindly take a look at the screen shot of the capture comparison, the content type may be not correct, Do you agree?

 

Thanks and Best Regards

Yangbo

Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2019-03-21 04:42 AM

0 Likes
0
1010
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-03-21 04:42 AM

Hi Yangbo,

 

In the 'Content' on their PUT request, they just need to send the value with no parameter name, they shouldn't form-encode it (it might work in theory, but it clearly is not). Also correct, they should use application/json.

 

Regards,

 

-Jeff

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of