nutechsoftware / alarmdecoder

Python interface for the Alarm Decoder (AD2) family of alarm devices. (AD2USB, AD2SERIAL and AD2PI)
MIT License
63 stars 41 forks source link

Emulate smoke / co virtual zone #69

Open mcnutter1 opened 2 years ago

mcnutter1 commented 2 years ago

When using the option to emulate a virtual zone (zone expander on Vista Panels) is there a way to send the appropriate signal for fire or co trouble? I have the zone type set to fire but it just says the smoke is offline, not that there is a fire signal when I open the Zone using L0481.

I would have posted this in the forum but no one ever approved my account.

f34rdotcom commented 2 years ago

It should be L481 It is only a 2 digit zone for the relay command because relays must be from zone 9-48 to be on a zone expander. Since you are using 48 I am assuming that expander #5 is enabled on the AD2*

No worries on the forums :( I have been getting slammed with spam bots so I may have missed your account. This is much better a place anyway IMHO.

Best Sean M

mcnutter1 commented 2 years ago

My mistake on the extra number, it trips the zone but doesn’t send the fire code as a smoke alarm would… it sends a supervisory control as if the smoke has become disconnected… Not something that triggers the alarm.

f34rdotcom commented 2 years ago

Cool, maybe a feature. Lets find out. I can setup a test at my desk. Send me the zone config using a terminal / putty to the AD2* so I can duplicate it. Also just noticed the original question on the best way to trigger a fire. That would be to send Special Key#1. This is only for fire. To trigger a CO2 I think your approach is correct so I will be testing this.

https://www.alarmdecoder.com/wiki/index.php/Protocol#Special%20Keys

Best SM

f34rdotcom commented 2 years ago

Ok I just tested and yes I also get Trouble.. I will keep digging.

f34rdotcom commented 2 years ago

Ugg. Ok this is a documentation error. The valid values are 0: CLOSE, 1: Trouble, 2: OPEN

I will leave this open until I get the wiki page fixed.

Best SM

f34rdotcom commented 2 years ago

Wiki updated. https://www.alarmdecoder.com/wiki/index.php/Protocol#Zone_Emulation

mcnutter1 commented 2 years ago

I'll try tomorrow morning, but FWIW, when I had the zone type to 3, the 0/1 worked fine to fault the zone and restore it like a regular door contact so maybe the extra "2" only comes into play on more complicated sensors like Smoke / CO / Etc... ?