Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Energy & Sustainability Services
      • Green Building Scoring and Certification Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Remote Operations Devices Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

Failing to write to EBO String & Time-Stamp values

SmartConnector Forum

Discussion of SmartConnector applications for integration of various 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
  • Communities
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • Failing to write to EBO String & Time-Stamp values
Options
  • Subscribe to RSS Feed
  • 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 Exchange 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
JeffBowman Schneider Alumni (Retired)
164
sesa180908_brid
Commander sesa180908_brid Commander
34
ardak
Commander ardak Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Building Operation

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to SmartConnector Forum
Solved
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-07-12 03:57 AM

0 Likes
3
314
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-07-12 03:57 AM

Failing to write to EBO String & Time-Stamp values

Hi,

 

1. When we try modifying a string EBO value via REST APIs and the new value is alpha-numeric (i.e.: "hello"), the value that is written to the EBO is null ("") instead of "hello".

In the SmartConnector log we can see this line:

Debug,RestServe,admin,Values,UpdateValue,C836B7E024DE4ABA9A27FD351A63C4D7,Request,{"Id":"01%2FServer 1%2FMyValues%2FString1","NewValue":null},  

 

If we write a numeric value such as "111111", then the value is written to the EBO as expected.

 

Debug,RestServe,admin,Values,UpdateValue,C3C8E312A6564746B98AFA10BE4AC63D,Request,{"Id":"01%2FServer 1%2FMyValues%2FString1","NewValue":"111111"},

 

2. We have a similar problem with Time Stamp EBO values. When the new value we try write is "12/7/2021 2:00:00 PM", 

the value is not written to the EBO and the SmartConnector log file shows that the new value is "07". See below.

Debug,RestServe,admin,Values,UpdateValue,E3426514679043659671937880F7EB79,Request,{"Id":"01%2FServer 1%2FMyValues%2FTime Stamp Value1","NewValue":"07"},

 

Any idea what is causing this problem?

 

Thank you.

 

Mike

  • Thumbnail of EcoStruxure™ Building Operation
    Schneider Electric
    EcoStruxure™ Building Operation
View products (1)
Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
ardak
Commander ardak Commander
Commander

Posted: ‎2021-07-12 10:57 PM

0 Likes
1
303
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-07-12 10:57 PM

Hi Mike,

 

For a string to be parsed correctly, it needs to be in quotation marks, e.g.

 

"hello world".

 

This is because strings need to be encased for them to be valid JSON. A number does not.

 

Regarding the Timestamp, I would use the format Smartconnector uses, like this example from the subscription endpoint on Swagger:

 

"ExpiresOn": "2021-07-13T05:11:46.148Z"

 

Working with dates is a pain.

 

Hope this helps,

Armend

See Answer In Context

Tags (1)
  • Tags:
  • english
Reply
Replies 3
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-07-12 11:22 AM

0 Likes
0
305
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-07-12 11:22 AM

Hi,

I did the same using the Swagger and the results are the same. If I try to assign the string value "999999" or "111111" it works fine, but if I try an alphanumeric string such as "Hello world", the value becomes "". See the attached file with a screen capture of the Swagger.

 

I appreciate your answer.

 

Mike

Attachments
Tags (1)
  • Tags:
  • english
Reply
ardak
Commander ardak Commander
Commander

Posted: ‎2021-07-12 10:57 PM

0 Likes
1
304
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-07-12 10:57 PM

Hi Mike,

 

For a string to be parsed correctly, it needs to be in quotation marks, e.g.

 

"hello world".

 

This is because strings need to be encased for them to be valid JSON. A number does not.

 

Regarding the Timestamp, I would use the format Smartconnector uses, like this example from the subscription endpoint on Swagger:

 

"ExpiresOn": "2021-07-13T05:11:46.148Z"

 

Working with dates is a pain.

 

Hope this helps,

Armend

Tags (1)
  • Tags:
  • english
Reply
mike_meirovitz
Commander mike_meirovitz
Commander

Posted: ‎2021-07-12 11:33 PM

0 Likes
0
299
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2021-07-12 11:33 PM

Hi Armend,

 

Thank you for your answer. In the Swagger it works nice!

 

Mike

Tags (1)
  • Tags:
  • english
Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
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 forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - 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 © 2023 Schneider Electric, Inc