# Could someone please help with Alarm Configuration?

**URL:** <https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735>\
**Category:** Device Manager\
**Tags:** alarms, device-cloud, datastreams\
**Created:** [May 10, 2016, 12:56am UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735 "2016-05-10T00:56:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonFreeman](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@JonFreeman](https://forums.digi.com/u/JonFreeman)\
**Post date:** [May 10, 2016, 12:56am UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/1 "2016-05-10T00:56:58Z")

</div>

I am using the XBee ZigBee Cloud Kit with all the latest firmware installed.

If I access the XBee ZigBee Cloud Kit Dashboard ([https://xbeegateway.herokuapp.com/#/dashboard](https://xbeegateway.herokuapp.com/#/dashboard)) and press the User Button on the development board, the status of the standard User Button widget changes from OFF to ON.

If I view the corresponding DIO4 data stream in Device Cloud ([https://devicecloud.digi.com/home.do#](https://devicecloud.digi.com/home.do#)), I can see the change in the data value from 1 to 0.

I then added an alarm configured as follows -

Alarm Type: Data Point Condition  
Name: User Button  
Description: User Button Pressed

Fire Condition  
Type: Numeric  
Condition: =  
Value: 0  
Timeout: 1 second

Reset Condition: Disabled

DataPoint/00000000-00000000-00409DFF-FF859232/xbee.digitalIn/[00:13:A2:00:40:99:92:D5]!/DIO4

No matter what I try, I cannot get the alarm to fire. The normal state is 1 (OFF). The pressed state is 0 (ON) [inverted]. I have tried less than 1 (as opposed to equals zero). The DataPoint is a direct copy from the Data Stream and corresponds with the Gateway / XBee Module / Output Stream in the widget.

I tried the same exercise with the development board potentiometer - with similar results.

As an aside, I can get the Vending Machine Drink Temperature alarm to work without a problem (the Internet Of Snacks example). Having said this, the example makes use of a DIA channel.

Would it be possible for someone to highlight what I have done wrong?

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [May 11, 2016, 10:37am UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/2 "2016-05-11T10:37:25Z")

</div>

I would expect this to work. Maybe 1 second might be too strict, try increasing to 10 to see if it makes a difference.

Did you set up a notification for this alarm in your device cloud account settings?

---

<div class="post-metadata">

**Author:** ![JonFreeman](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@JonFreeman](https://forums.digi.com/u/JonFreeman)\
**Post date:** [May 11, 2016, 12:05pm UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/3 "2016-05-11T12:05:45Z")

</div>

Many thanks for your response.

I have already tried 10 seconds - with no success.

I did not originally set up an alarm notification. I have just added one but it had no effect. As an aside, the alarm notification for the Internet Of Snacks example worked fine.

Just a thought - I only have a free Developer Account. Would this have anything to do with it?

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [May 12, 2016, 1:13pm UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/4 "2016-05-12T13:13:46Z")

</div>

This should work with a Developer account, especially if it works with the Internet of Snacks example.

When configuring the Notification, did you create one separate from the Internet of Snacks notification (i.e. same contact information per alarm)?

---

<div class="post-metadata">

**Author:** ![JonFreeman](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@JonFreeman](https://forums.digi.com/u/JonFreeman)\
**Post date:** [May 12, 2016, 3:51pm UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/5 "2016-05-12T15:51:11Z")

</div>

Each alarm has a separate notification. Both notifications point to the same e-mail address.

As an aside, I removed the Internet of Snacks example - just in case there was some sort of conflict. This had no effect.

Would the fact that the Internet of Snacks example makes use of a DIA channel have any relevance?

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [May 17, 2016, 3:04pm UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/6 "2016-05-17T15:04:16Z")

</div>

Looking at this closer, I suspect a special character in the 64 bit address of the XBee is the culprit (maybe the ! character?). Unfortunately, I’m not having any luck working around it.

---

<div class="post-metadata">

**Author:** ![JonFreeman](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@JonFreeman](https://forums.digi.com/u/JonFreeman)\
**Post date:** [May 17, 2016, 10:07pm UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/7 "2016-05-17T22:07:38Z")

</div>

Problem Solved.

I was using the following DataPoint:  
DataPoint/00000000-00000000-00409DFF-FF859232/xbee.digitalIn/[00:13:A2:00:40:99:92:D5]!/DIO4

What works is:  
DataPoint/00000000-00000000-00409DFF-FF859232/xbee.digitalIn/\*/DIO4

The wildcard accommodates DIO4 data from any device. At face value, this would appear problematic in that you could have more than one alarm configured against DIO4 from multiple devices. Having said this, the notification includes the following:  
User Button Pressed has fired for 00000000-00000000-00409DFF-FF859232/xbee.digitalIn/[00:13:A2:00:40:99:92:D5]!/DIO4 at 2016-05-18T01:18:55.865Z  
…which allows you to identify the specific alarm against the specific device.

Many thanks for the assistance.

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [May 19, 2016, 9:39am UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/8 "2016-05-19T09:39:02Z")

</div>

Ah, I forgot about the wild-card character! Thanks for posting this workaround!

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [June 16, 2016, 9:28am UTC](https://forums.digi.com/t/could-someone-please-help-with-alarm-configuration/16735/9 "2016-06-16T09:28:49Z")

</div>

FYI: I’ve been informed that there is a fix expected with regards to special characters in the DataPoint field in a September Device Cloud update.
