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

AlarmEventsType returns Alarm Message even in Normal State

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
  • AlarmEventsType returns Alarm Message even in Normal State
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
Solved Go to Solution
Back to SmartConnector Forum
Solved
sesa180961_brid
Lieutenant sesa180961_brid Lieutenant
Lieutenant

Posted: ‎2017-03-15 10:52 AM

0 Likes
7
1017
  • 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.

‎2017-03-15 10:52 AM

AlarmEventsType returns Alarm Message even in Normal State

I obtain alarms (AlarmEventsType) from SBO using EWS Client's GetAlarmEvents() or GetUpdatedAlarmEvents() method.

I am interested in the "Message" property of the AlarmEventsType object.

I am assuming that "Message" is going to be:

  • "Alarm Message" property of the alarm in SBO if the alarm is in Alarm state and
  • "Reset Message" if the alarm is in Normal state of the alarm in SBO.

When I obtained alarms that are in active state, the Alarm Message looks appropriate.

But the "Message" of the Normal alarm in still the "Alarm Message". It is not the Reset Message.

I am using EwsClient v2.2.108.0 and SBO is v1.8.

Source Id

Source Name

Acknowledgable State

State

Type

Message

02/IAD36/Power Manager Data/IAD36_H106/PDU106A-5/Alarms/Critical_AlmR

Critical_AlmR

No

Normal

IAD36_H106_CriticalAlarm

IAD36 H106 PDU106A-5 Critical Alarm is in Alarm

02/IAD36/Power Manager Data/IAD36_H106/PDU106B-1/Alarms/Critical_AlmR

Critical_AlmR

No

Normal

IAD36_H106_CriticalAlarm

IAD36 H106 PDU106B-1 Critical Alarm is in Alarm

Has anyone faced the same issue?

Tags (2)
  • Tags:
  • alarmeventstype
  • ewsclient
Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2017-04-11 08:01 AM

0 Likes
1
920
  • 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.

‎2017-04-11 08:01 AM

I believe there really is no 'Work around' for this. As SBO doesn't have a concept of 'Normal' message. It just reuses the previous message that it was when it returned to normal. So this could be the Alarm message, or the Reset message.

As far as retrieving the messages ahead of time (which I guess techincally is a workaround, if you have some logic around this as you said.) Try this:

If the alarm item id is '02/Server 1/MyAlarm'

If you do a GetValues on '12/Server 1/MyAlarm/ResetMessage'. This should give you a response like:

      <EWSv121:GetValuesResponse version="1.2">

         <EWSv121:GetValuesItems>

            <EWSv121:ValueItem>

               <EWSv121:Id>12/BigDataES/Change of State Alarm/ResetMessage</EWSv121:Id>

               <EWSv121:State>0</EWSv121:State>

               <EWSv121:Value>I'm The Reset Message</EWSv121:Value>

            </EWSv121:ValueItem>

         </EWSv121:GetValuesItems>

         <EWSv121:GetValuesErrorResults/>

      </EWSv121:GetValuesResponse>

Regards,

-Jeff

See Answer In Context

Reply
Replies 7
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2017-03-21 07:55 AM

0 Likes
3
920
  • 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.

‎2017-03-21 07:55 AM

Hi Maneesh,

When you say AlarmEventType, you don't mean the 'IAD36_H106_CriticalAlarm' value right?

In any case, what you are expecting should be the case, but I am not sure why SBO does not do this.. I am wondering if it is a defect for SBO.. Can you show some screenshots of this issue? (and your SBO config)


Regards,

-Jeff

Reply
sesa180961_brid
Lieutenant sesa180961_brid Lieutenant
Lieutenant

Posted: ‎2017-04-03 01:56 PM

0 Likes
0
920
  • 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.

‎2017-04-03 01:56 PM

When I said AlarmEvents Type, I meant the AlarmEvents from SBO.

The issue I am seeing is that when the alarm is in normal state, EWS returns the the same Message.

See the column "Message" in the above table I copied.

For example, when an alarm returns to normal state, I would like to see the Reset Message not the Alarm Message.

I will add more info tomorrow.

Reply
sesa180961_brid
Lieutenant sesa180961_brid Lieutenant
Lieutenant

Posted: ‎2017-04-03 02:28 PM

0 Likes
1
920
  • 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.

‎2017-04-03 02:28 PM

Hi Jeff,

I think I found the workflow.

Here is the alarm in alarm state:

Alarm State.png

In SBO,  there is no problem if an alarm goes from Alarm -> Normal -> Acknowledged, then the alarm message is the Reset message.

Alarm_To_Normal_To_Acknowledged.png

But if an alarm goes from Alarm -> Acknowledged -> Normal, then the alarm message is still the Alarm message.

Alarm_To_Acknowledged_To_Normal.png

Hope this helps you understand the issue I am having.

Please let me know if you need more details.

Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2017-04-04 06:30 AM

0 Likes
0
920
  • 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.

‎2017-04-04 06:30 AM

Hi Maneesh,

After seeing what you found, what you are seeing is exactly the behavior I would expect to happen.

This is because the alarm in the second scenario NEVER goes into the 'Reset' alarm state. The 'Reset' alarm state only ever occurs when an Alarm that is in the 'Alarm' state, goes back to 'Normal' without first being 'Acknowleged'. Which is exactly what you see in the first scenario (that's why it works as you expect.)

Perhaps you are a bit confused when it comes to 'Reset' vs 'Normal'. 'Reset' only occurs like I mentioned above. 'Normal' occurs in really 3 occasions:

  1. The alarm has NEVER been activated.
  2. When an Alarm in the 'Alarm' state is acknowledged into the 'Acknowledged' state and then the value returns to normal.
  3. When an Alarm in the 'Alarm' state returns to 'Normal' (this is the 'Reset') state and is then acknowledged. When the alarm is acknowledged in this case, it does not go to the 'Acknowledged' state, but goes back to 'Normal' instead.


Regards,

-Jeff

Reply
sesa180961_brid
Lieutenant sesa180961_brid Lieutenant
Lieutenant

Posted: ‎2017-04-04 08:13 AM

0 Likes
2
920
  • 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.

‎2017-04-04 08:13 AM

Hi Jeff,

If an alarm is in Alarm state and a user acknowledged it. After acknowledgement, the alarm returned to Normal.

Now the alarm is in Normal state but the alarm text or message is Alarm message.

The end user is seeing that the alarm state is normal but the alarm message show that the alarm is in alarm state.

What is the work around for this?

Do I have to check it in my program? Is there a way for me to get the Normal/Reset message so that I can check in my program to see that the alarm is in Normal state and I sent the end user the Normal/Reset message?

Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2017-04-11 08:01 AM

0 Likes
1
921
  • 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.

‎2017-04-11 08:01 AM

I believe there really is no 'Work around' for this. As SBO doesn't have a concept of 'Normal' message. It just reuses the previous message that it was when it returned to normal. So this could be the Alarm message, or the Reset message.

As far as retrieving the messages ahead of time (which I guess techincally is a workaround, if you have some logic around this as you said.) Try this:

If the alarm item id is '02/Server 1/MyAlarm'

If you do a GetValues on '12/Server 1/MyAlarm/ResetMessage'. This should give you a response like:

      <EWSv121:GetValuesResponse version="1.2">

         <EWSv121:GetValuesItems>

            <EWSv121:ValueItem>

               <EWSv121:Id>12/BigDataES/Change of State Alarm/ResetMessage</EWSv121:Id>

               <EWSv121:State>0</EWSv121:State>

               <EWSv121:Value>I'm The Reset Message</EWSv121:Value>

            </EWSv121:ValueItem>

         </EWSv121:GetValuesItems>

         <EWSv121:GetValuesErrorResults/>

      </EWSv121:GetValuesResponse>

Regards,

-Jeff

Reply
sesa180961_brid
Lieutenant sesa180961_brid Lieutenant
Lieutenant

Posted: ‎2017-04-21 11:27 AM

0 Likes
0
920
  • 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.

‎2017-04-21 11:27 AM

Will try this. Thanks 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