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

Calculate Expander Zone Numbers Correctly for SE Panels #63

Open krkeegan opened 3 years ago

krkeegan commented 3 years ago

This is my simple solution for SE Panels. It uses the device address to determine if the panel is an SE version. Since all SE devices have to be set to address 31. However, if a user with a normal Ademco device was using address 31, this would cause an issue. I don't know how often that happens, it looks like the default recommended address is 18, so a long way off.

Anyways, this is my fix for #61.

The right answer is probably to fix the underlying configuration in the Alarm Decoder code (not sure where the repository for that is) so that SE devices perhaps are reported as mode=S or something.