AD2SmartThings

I’m going off the readme thats on GitHub.
Nowhere that I saw does it mention jumping the red and black wires (that go from the panel to the AD2PI) from the AD2PI into the arduino.
In the instructions it has jumpers from the other side of the AD2PI to the arduino that have to do with power. I had to connect two additional jumpers from the 4 wire alarm panel input side of the AD2PI to the arduino as well.
Thanks.

From what I can tell from the sparse documentation that the installers left is that this house (zones 1-45) was partition 1. The other house (zones 49-whatever) was partition 2.
As I said, I changed data field 2*00, ‘number of partitions’ from 2 to 1.
Does anyone ( @kevin_nutech ?) know if there are additional panel programming steps that I might need to take to completely “delete” partition 2?
Here is a picture of the “documentation” that I’m going off of.
Thanks so much.

Hi, you can filter out a partition by configuring the alarmdecoder’s address mask to ignore keypad messages from addresses that are assigned to the 2nd partition - example address 16 on partition 1, address 19 on partition 2 - alarmdecoder listens to everything, so you would filter out address 19 from your address mask and you wouldn’t see messages for partition 2 anymore - if you configured your alarmdecoder’s address to be on both partitions you will have to filter the alarmdecoder’s address as well.

As far as deleting partition 2, you will set that field to number of partitions: 1, and then you must go to every keypad address and make sure none are assigned to that partition - you will also have to do so for zones.

IMO, easiest way without potentially destroying current programming would be to adjust address mask on device itself.

I appreciate the reply. In your example, how would you have ascertained that address 19 was connected to partition 2?
Is that hiding somewhere in the log that I posted above?

EDIT: I’ve fixed my issues by going in on a keypad and manually deleting all of the partition 2 zones AND keypads.

1 Like

It was just an example I made up, nothing specific to your setup sorry for confusion

Has anyone experienced this, or know why this might be happening?
Every few days, usually in the middle of the night, this happens.

As far as I can tell, the alarm never actually sounds and the power, at least to the rest of the house, hasn’t been going out.
This is quite a distressing message to get when out of town!

I only get these messages when these actual events occur. I know you had several partitions setup and wondering if something is still setup that is causing these false alarms.

Thanks for the suggestion.
Not sure if related, but this also happens when a door contact is open.
ST shows it as open, but looking at “recently” it keeps showing conflicting reports.

I would suggest hooking up a computer to your Arduino, enable debugging in the sketch, upload that change, then open the serial window and monitor it to see what’s happening. This is the only way to troubleshoot this.

So there is a line that happens a few times in this example where:
“Faults Dropped from list and marked inactive: 6,13,14”

Then it finds them all over again as new faults. Is this expected behavior? Is this why in my example above that the garage entry door keeps reporting as open closed open closed open closed?

Message: ||||6,13,14,|****DISARMED**** ZONES FAULTED
    Sent to SmartThings:||||6,13,14,|****DISARMED**** ZONES FAULTED
    [00010001000000000A--],006,[f70f03000006000008020000000000],"FAULT 006       KITCHEN WINDOWS "
    New fault detected: 6
    Message: |||6||FAULT 006 KITCHEN WINDOWS
    Sent to SmartThings:|||6||FAULT 006 KITCHEN WINDOWS
    [00010001000000000A--],013,[f70f03000013000008020000000000],"FAULT 013 HALL  FRENCH DOOR     "
    New fault detected: 13
    Message: |||13||FAULT 013 HALL FRENCH DOOR
    Sent to SmartThings:|||13||FAULT 013 HALL FRENCH DOOR
    [00010001000000000A--],014,[f70f03000014000008020000000000],"FAULT 014 LIVINGFRENCH DOORS    "
    New fault detected: 14
    Message: |||14||FAULT 014 LIVINGFRENCH DOORS
    Sent to SmartThings:|||14||FAULT 014 LIVINGFRENCH DOORS
    [00010001000000000A--],034,[f70f03000034000008020000000000],"FAULT 034       OFFICE WINDOW   "
    Active Zone Count and Zone Status:4 1:0 2:0 3:0 4:0 5:0 6:1 7:0 8:0 9:0 10:0 11:0 12:0 13:1 14:1 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:1 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
    zoneNumber(34) > lastZone(14): Faults Dropped from list and marked inactive: 
    Message: |||||FAULT 034 OFFICE WINDOW
    [00010001000000003A--],034,[f70f03000034000c08020000000000],"****DISARMED****  ZONES FAULTED "
    Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
    zoneNumber(34) == lastZone(34): Faults Dropped from list and marked inactive: 6,13,14,
    Message: ||||6,13,14,|****DISARMED**** ZONES FAULTED
    Sent to SmartThings:||||6,13,14,|****DISARMED**** ZONES FAULTED
    [00010001000000000A--],004,[f70f03000004000008020000000000],"FAULT 004 GARAGEENTRY DOOR      "
    New fault detected: 4
    Message: |||4||FAULT 004 GARAGEENTRY DOOR
    Sent to SmartThings:|||4||FAULT 004 GARAGEENTRY DOOR
    [00010001000000000A--],006,[f70f03000006000008020000000000],"FAULT 006       KITCHEN WINDOWS "
    New fault detected: 6
    Message: |||6||FAULT 006 KITCHEN WINDOWS
    Sent to SmartThings:|||6||FAULT 006 KITCHEN WINDOWS
    [00010001000000000A--],013,[f70f03000013000008020000000000],"FAULT 013 HALL  FRENCH DOOR     "
    New fault detected: 13
    Message: |||13||FAULT 013 HALL FRENCH DOOR
    Sent to SmartThings:|||13||FAULT 013 HALL FRENCH DOOR
    [00010001000000000A--],014,[f70f03000014000008020000000000],"FAULT 014 LIVINGFRENCH DOORS    "
    New fault detected: 14
    Message: |||14||FAULT 014 LIVINGFRENCH DOORS
    Sent to SmartThings:|||14||FAULT 014 LIVINGFRENCH DOORS
    [00010001000000000A--],034,[f70f03000034000008020000000000],"FAULT 034       OFFICE WINDOW   "
    Active Zone Count and Zone Status:5 1:0 2:0 3:0 4:1 5:0 6:1 7:0 8:0 9:0 10:0 11:0 12:0 13:1 14:1 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:1 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
    zoneNumber(34) > lastZone(14): Faults Dropped from list and marked inactive: 
    Message: |||||FAULT 034 OFFICE WINDOW
    [00010001000000003A--],034,[f70f03000034000c08020000000000],"****DISARMED****  ZONES FAULTED "
    Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
    zoneNumber(34) == lastZone(34): Faults Dropped from list and marked inactive: 4,6,13,14,

This is your issue and you need to figure out where that is coming from. Notice the last bit at the beginning ends with 3A, that is different than your other faults. It happens to also be the same as other logs you have posted above that were coming from partition 2. You may still have the second partition reporting thus causing the flapping event again.

Maybe, but I don’t think so - in cases like that you will usually see a difference in address mask, in this case all messages have same address mask. If all other partitions in panel are marked inactive via programming it is very doubtful indeed. 3 in that position is normal in certain states, such as zones faulted while disarmed, or armed with zones bypassed I think…

But you will notice the difference in address mask when he was having the “flapping” issues

Then again it is ademco/honeywell, so I can’t completely rule out 2nd partition either.

Kevin, thank you for the clarification. What I find odd though with the message stream is that when zone 34 (Office Window) faults, the next message is also from zone 34 with a message of “Disarmed Zones faulted”. Based on the algorithm on detecting zones (mine and other people’s on this thread panels), the Ademco will go from lowest to highest zone. If previous zone equals current zone that means no more faults and thus all previous faults in memory are cleared. This is what is causing @moose issue.

@moose I honestly don’t have any ideas what this message is for. I’d be curious if you could repeat the zone faults 13 (French Door) and 14 (Living French Doors) but not zone 34 (office window) and see if you still get the same following message in your logging:
[00010001000000003A–],034,[f70f03000034000c08020000000000],"DISARMED ZONES FAULTED "

I’d also be curious if this particular message is constantly happening as well and if so you could put in code in the Arduino sketch to just ignore it.

OK, at the beginning of this log ONLY the front door is open. And while I’m still getting the line with “3A” in it, it sees it as a single repeating fault.
Next I open “013 Hall FRENCH DOOR” and I see the same behavior as before of the “3A” message dropping faults.

[00010001000000003A--],003,[f70f03000003000c08020000000000],"****DISARMED****  ZONES FAULTED "
Single fault repeating: zoneNumber(3) == lastZone(3)
Message: |||||****DISARMED**** ZONES FAULTED
[00010001000000000A--],003,[f70f03000003000008020000000000],"FAULT 003 FRONT ENTRY DOOR      "
Single fault repeating: zoneNumber(3) == lastZone(3)
Message: |||||FAULT 003 FRONT ENTRY DOOR
[00010001000000003A--],003,[f70f03000003000c08020000000000],"****DISARMED****  ZONES FAULTED "
Single fault repeating: zoneNumber(3) == lastZone(3)
Message: |||||****DISARMED**** ZONES FAULTED
[00010001000000000A--],013,[f70f03000013000008020000000000],"FAULT 013 HALL  FRENCH DOOR     "
New fault detected: 13
Message: |||13||FAULT 013 HALL FRENCH DOOR
Sent to SmartThings:|||13||FAULT 013 HALL FRENCH DOOR
[00010001000000003A--],013,[f70f03000013000c08020000000000],"****DISARMED****  ZONES FAULTED "
Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(13) == lastZone(13): Faults Dropped from list and marked inactive: 3,
Message: ||||3,|****DISARMED**** ZONES FAULTED
Sent to SmartThings:||||3,|****DISARMED**** ZONES FAULTED
[00010001000000000A--],003,[f70f03000003000008020000000000],"FAULT 003 FRONT ENTRY DOOR      "
New fault detected: 3
Message: |||3||FAULT 003 FRONT ENTRY DOOR
Sent to SmartThings:|||3||FAULT 003 FRONT ENTRY DOOR
[00010001000000000A--],013,[f70f03000013000008020000000000],"FAULT 013 HALL  FRENCH DOOR     "
Active Zone Count and Zone Status:2 1:0 2:0 3:1 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:1 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(13) > lastZone(3): Faults Dropped from list and marked inactive: 
Message: |||||FAULT 013 HALL FRENCH DOOR
[00010001000000003A--],013,[f70f03000013000c08020000000000],"****DISARMED****  ZONES FAULTED "
Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(13) == lastZone(13): Faults Dropped from list and marked inactive: 3,

The same thing happens if I try a different zone in addition to the front door

Message: |||||FAULT 006 KITCHEN WINDOWS
[00010001000000003A--],006,[f70f03000006000c08020000000000],"****DISARMED****  ZONES FAULTED "
Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(6) == lastZone(6): Faults Dropped from list and marked inactive: 3,
Message: ||||3,|****DISARMED**** ZONES FAULTED
Sent to SmartThings:||||3,|****DISARMED**** ZONES FAULTED
[00010001000000000A--],003,[f70f03000003000008020000000000],"FAULT 003 FRONT ENTRY DOOR      "
New fault detected: 3
Message: |||3||FAULT 003 FRONT ENTRY DOOR
Sent to SmartThings:|||3||FAULT 003 FRONT ENTRY DOOR
[00010001000000000A--],006,[f70f03000006000008020000000000],"FAULT 006       KITCHEN WINDOWS "
Active Zone Count and Zone Status:2 1:0 2:0 3:1 4:0 5:0 6:1 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(6) > lastZone(3): Faults Dropped from list and marked inactive: 
Message: |||||FAULT 006 KITCHEN WINDOWS
[00010001000000003A--],006,[f70f03000006000c08020000000000],"****DISARMED****  ZONES FAULTED "
Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(6) == lastZone(6): Faults Dropped from list and marked inactive: 3,

After this I tried opening some more faults and what happens is that whatever the highest number fault is, it causes the “3A” message to drop all the faults numbered below that, on a recurring basis.

Message: |||||FAULT 009 DININGROOM DOORS
[00010001000000003A--],009,[f70f03000009000c08020000000000],"****DISARMED****  ZONES FAULTED "
Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(9) == lastZone(9): Faults Dropped from list and marked inactive: 3,5,6,
Message: ||||3,5,6,|****DISARMED**** ZONES FAULTED
Sent to SmartThings:||||3,5,6,|****DISARMED**** ZONES FAULTED
[00010001000000000A--],003,[f70f03000003000008020000000000],"FAULT 003 FRONT ENTRY DOOR      "
New fault detected: 3
Message: |||3||FAULT 003 FRONT ENTRY DOOR
Sent to SmartThings:|||3||FAULT 003 FRONT ENTRY DOOR
[00010001000000000A--],005,[f70f03000005000008020000000000],"FAULT 005       KITCHEN ENTRY   "
New fault detected: 5
Message: |||5||FAULT 005 KITCHEN ENTRY
Sent to SmartThings:|||5||FAULT 005 KITCHEN ENTRY
[00010001000000000A--],006,[f70f03000006000008020000000000],"FAULT 006       KITCHEN WINDOWS "
New fault detected: 6
Message: |||6||FAULT 006 KITCHEN WINDOWS
Sent to SmartThings:|||6||FAULT 006 KITCHEN WINDOWS
[00010001000000000A--],009,[f70f03000009000008020000000000],"FAULT 009 DININGROOM DOORS      "
Active Zone Count and Zone Status:4 1:0 2:0 3:1 4:0 5:1 6:1 7:0 8:0 9:1 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(9) > lastZone(6): Faults Dropped from list and marked inactive: 
Message: |||||FAULT 009 DININGROOM DOORS
[00010001000000003A--],009,[f70f03000009000c08020000000000],"****DISARMED****  ZONES FAULTED "
Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
zoneNumber(9) == lastZone(9): Faults Dropped from list and marked inactive: 3,5,6,

I could filter out the “3A” message, but would that be the right thing to do since I’m also seeing it when there’s just a single fault and no dropping?

THANK YOU for helping me debug this!

What messages appear when you have no faults? Just the same message or something different in addition to this message?

This is closing the last fault, then the repeating message. “3” was the last fault to be closed.

[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
Active Zone Count and Zone Status:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 10:0 11:0 12:0 13:0 14:0 15:0 16:0 17:0 18:0 19:0 20:0 21:0 22:0 23:0 24:0 25:0 26:0 27:0 28:0 29:0 30:0 31:0 32:0 33:0 34:0 35:0 36:0 37:0 38:0 39:0 40:0 41:0 42:0 43:0 44:0 45:0 46:0 
Message: ||||allClear:46|STONEWALL HOUSE READY TO ARM
Sent to SmartThings:||||allClear:46|STONEWALL HOUSE READY TO ARM
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "
[10010001000000003A--],003,[f70f03000003001c08020000000000],"STONEWALL HOUSE   READY TO ARM  "

OK so at least you are getting a “Ready” message once all faults are clear. I don’t understand why that other message appears during your fault list cycle but its something that doesn’t happen on my panel and no one else has mentioned it either. But the good news is you can program your Arduino sketch to ignore it. I would give it a try and see if this works better for you and if not, you can remove it.

At line 136 of the sketch, paste in the following code in advance of what is there:
//Ignore DISARMED ZONES FAULTED Messages
if (str.indexOf(“DISARMED ZONES FAULTED”) >= 0) {
// do nothing
return;
}

@kevin_nutech @ritchierich
I think I killed the alarm decoder when trying to update the sketch.

I’ve since put the regular sketch back on without the additional code at line 136.
I’m getting nothing from the alarm on the arduino console.
When I remove and add power back to the arduino/thingshield/AD I get the steady ~twice a second blinking light on the AD like normal. As soon as I try to send a command in ST via a tile in the AD2SmartThings v4.4.6 device, the light on AD goes to blinking 3 times. (Just sending a disarm command will do it, as well as trying to update the ADDRESS).
The status in that tile just says communication trouble.

Did I corrupt the EEPROM by trying to write to it too much?
Is there a way to reset, or fix it?

Thanks

Suggest hooking to alarmdecoder directly through serial console and seeing if you can communicate with it directly without the arduino sketch

You can try to reflash the firmware on the alarmdecoder if necessary.

Sorry I don’t understand, do you mean doing something in the Arduino IDE? Or disconnecting the Arduino and using a PC?