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

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

A little guidance in project selection

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
  • A little guidance in project selection
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 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
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
ahmet191
Ensign ahmet191
Ensign

Posted: ‎2022-09-06 04:40 AM

0 Likes
7
1907
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2022-09-06 04:40 AM

A little guidance in project selection

Hello SmartConnector Community,

 

I've been reviewing the posts here for a while, but unfortunately there is not a very large audience. If there were, I would guess that much simpler questions would have been asked. But it's getting bigger so I'm going to ask that simple question 🙂

 

I'm pretty new to SmartConnector. Actually, I'm pretty new to software also. I will mention about what I have to do. I would be very grateful if you could guide me in simple terms. What is required of me is to integrate an existing fire system software with EBO. Let's call this software x software. This x software gives me required information via API. I generally need to show this information on the EBO side. In rare cases, there will be things that I need to post from the EBO side to the x software side. So there is a two-way flow of data.

 

While the summary is like this, I reviewed all the sample projects on the SmartConnector side. I could not read any Endpoint on the EBO side. Only EWS Server has a fine flow. I'm trying to write a Custom EWS Server myself. But It would be nice to proceed in the right direction, whichever is an easy method or the more correct method. I would be very grateful if you could guide me on this.

 

Kind regards,

Ahmet

  • 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
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2022-09-06 06:49 AM

2 Likes
2
1870
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2022-09-06 06:49 AM

Hi,

 

Well that depends on your task, what i have done is create a ValueReceiveProcessor that runs forever with a variable as delay for the requests.

 

#region FeedbackInterval
[Required, Range(1, 300), DefaultValue(5), Tooltip("Inval speed of feedback polling in seconds")]
public int FeedbackInterval { get; set; }
#endregion

 

public class ValueReceiveProcessor : ProcessorBase, ILongRunningProcess
{

#region Execute_Subclass - Override
protected override IEnumerable<Prompt> Execute_Subclass()
{
for (;;)
{
CheckCancellationToken();
// Perform here your class to do the actual request
Task.Delay(FeedbackInterval * 1000).Wait();
}
}
#endregion

}

 

And then i created a ValuePush processor that fetch changes from EBO to push to the API

 

#region Lastrun
public DateTime LastRun = DateTime.Now.ToUniversalTime();
#endregion

 

public class ValuePushProcessor : ProcessorBase, ILongRunningProcess
{

#region Execute_Subclass - Override
protected override IEnumerable<Prompt> Execute_Subclass()
{
for (;;)
{
CheckCancellationToken();
WriteUpdatesFromEBO();
Task.Delay(100).Wait();
}
}
#endregion

 

#region WriteUpdatesFromEBO
protected void WriteUpdatesFromEBO()
{
// Reload database context to get latest values (update of DataAdapter)
DataAdapter.CreateDatabaseContext();

// Get changed items from the DataAdapter
var updatedValueItems = DataAdapter.ValueItems.Where(vi => vi.LastModified > LastRun).ToList();

// Send command based on changed value to Versosol API
foreach (var updatedValueItem in updatedValueItems)
{

// Do stuff on a changed item in the EWS server

}

LastRun = DateTime.Now.ToUniversalTime();

}
#endregion

 

}

See Answer In Context

Tags (1)
  • Tags:
  • english
Reply
Replies 7
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2022-09-06 06:22 AM

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

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

‎2022-09-06 06:22 AM

Hi,

 

The SmartConnectorWeatherSample code should cover 99% of your request..

 

Here are the introduction videos that takes you step by step to the process

 

https://community.se.com/t5/SmartConnector-Forum/SmartConnectorWeatherSamples-teaching-videos-are-mi... 

 

BR,

 

Erwin

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

Posted: ‎2022-09-06 06:33 AM

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

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

‎2022-09-06 06:33 AM

Hi Ahmet,

 

If your fire system supports OPC server connectivity, then you don't need to develop anything. You can simply use the EBO-OPC Client software. See this link.

 

Regards,

 

Michael

Tags (1)
  • Tags:
  • english
Reply
ahmet191
Ensign ahmet191
Ensign

Posted: ‎2022-09-06 06:34 AM

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

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

‎2022-09-06 06:34 AM

Thanks for reply Erwin,

 

You can be sure that I have reviewed the developer guide completely and watched the videos(I might be as professional as others maybe). But unfortunately they do not fully meet what I want. At least I can describe it this way, for example. In the SmartConnectorWeatherSamples project, UpdateProcessor has to be run repeatedly to update the data. I want to make it permanent. at least send a request to the API that I provide data from outside at certain periods.

 

In this sense, only the EWS Server is running all the time and I guess this can provide what I want. Am I thinking right about this? Should I work on Custom EWS Server to keep data up to date from API? Or should I design a LongRunningProcessor that comes to my mind and make periodic requests over the processor? Do you have any comments about this? Am I thinking wrong on some point?

 

Kind Regards,

Ahmet

Tags (1)
  • Tags:
  • english
Reply
ahmet191
Ensign ahmet191
Ensign

Posted: ‎2022-09-06 06:36 AM

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

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

‎2022-09-06 06:36 AM

Thank you Michael.

 

Maybe i should ask this to relevant people. I know they don't have at the moment. But maybe they might choose this solution and make some changes. Thank you.

 

Kind Regards,

Ahmet

Tags (1)
  • Tags:
  • english
Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2022-09-06 06:49 AM

2 Likes
2
1871
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2022-09-06 06:49 AM

Hi,

 

Well that depends on your task, what i have done is create a ValueReceiveProcessor that runs forever with a variable as delay for the requests.

 

#region FeedbackInterval
[Required, Range(1, 300), DefaultValue(5), Tooltip("Inval speed of feedback polling in seconds")]
public int FeedbackInterval { get; set; }
#endregion

 

public class ValueReceiveProcessor : ProcessorBase, ILongRunningProcess
{

#region Execute_Subclass - Override
protected override IEnumerable<Prompt> Execute_Subclass()
{
for (;;)
{
CheckCancellationToken();
// Perform here your class to do the actual request
Task.Delay(FeedbackInterval * 1000).Wait();
}
}
#endregion

}

 

And then i created a ValuePush processor that fetch changes from EBO to push to the API

 

#region Lastrun
public DateTime LastRun = DateTime.Now.ToUniversalTime();
#endregion

 

public class ValuePushProcessor : ProcessorBase, ILongRunningProcess
{

#region Execute_Subclass - Override
protected override IEnumerable<Prompt> Execute_Subclass()
{
for (;;)
{
CheckCancellationToken();
WriteUpdatesFromEBO();
Task.Delay(100).Wait();
}
}
#endregion

 

#region WriteUpdatesFromEBO
protected void WriteUpdatesFromEBO()
{
// Reload database context to get latest values (update of DataAdapter)
DataAdapter.CreateDatabaseContext();

// Get changed items from the DataAdapter
var updatedValueItems = DataAdapter.ValueItems.Where(vi => vi.LastModified > LastRun).ToList();

// Send command based on changed value to Versosol API
foreach (var updatedValueItem in updatedValueItems)
{

// Do stuff on a changed item in the EWS server

}

LastRun = DateTime.Now.ToUniversalTime();

}
#endregion

 

}

Tags (1)
  • Tags:
  • english
Reply
ahmet191
Ensign ahmet191
Ensign

Posted: ‎2022-09-06 06:57 AM

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

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

‎2022-09-06 06:57 AM

Erwin thank you so much.

 

I needed something like this. Your answer will be the solution i believe also. I wish I had asked earlier. Thanks again.

 

Best Regards,

Ahmet

Tags (1)
  • Tags:
  • english
Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2022-09-06 07:09 AM

1 Like
0
1857
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2022-09-06 07:09 AM

Hi,

 

Keep in mind that i use NuGet Package SmartConnector.Utilities and for this you need to copy SmartConnector.Utilities.dll thogether with the .dll assembly to the SC folder when deploying.

 

Some code might make use of this classes

 

BR,

 

Erwin

Tags (1)
  • Tags:
  • english
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