Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing codes #5

Open
jp0550 opened this issue Sep 25, 2017 · 0 comments
Open

Missing codes #5

jp0550 opened this issue Sep 25, 2017 · 0 comments

Comments

@jp0550
Copy link

jp0550 commented Sep 25, 2017

I've used your project as a base for my own for the safewatch 3000en which is a modified vp20 for adt. I'm unsure how similar it is for yours but I reversed engineered the missing bytes for the f7 messages below if you'd like to add them to yours.

int const BIT_MASK_BYTE1_CANCELLED = 0x20; //alarm has gone off and been dismissed. But one more dismiss is required to rearm
int const BIT_MASK_BYTE1_BEEP = 0x03; // 0 - no beeps, 1 - single beep (door opening or closing). 3 - 3 beeps as when arming the system, 4 - panic beep for a trouble code or last few seconds or arming, 5 - steady beep for away arming

int const BIT_MASK_BYTE2_ARMED_HOME = 0x80;
int const BIT_MASK_BYTE2_LOW_BAT = 0x40;
int const BIT_MASK_BYTE2_FIRE = 0x20; //fire led icon. Shows when sounding or when trouble bit is set
int const BIT_MASK_BYTE2_READY = 0x10;

int const BIT_MASK_BYTE2_DISPLAY_MASK = 0x0C; //used to tell the keypad which digits of the zone to show on screen. Convert the result to binary and 1 indicates show the digit 0 to hide. b11 hide both digits, b00 show both digits. Discovered using programming mode
int const BIT_MASK_BYTE2_TROUBLE = 0x02; // triggered by removing a smoke detector from the system or possibly a short in the sensor or alarms, but was only able to trigger with smoke
int const BIT_MASK_BYTE2_FIRE_ALARM = 0x01; //fire alarm sounding.

int const BIT_MASK_BYTE3_NO_DELAY = 0x80; //instant
int const BIT_MASK_BYTE3_PROGRAMMING_MODE = 0x40;
int const BIT_MASK_BYTE3_CHIME_MODE = 0x20;
int const BIT_MASK_BYTE3_BYPASS = 0x10;

int const BIT_MASK_BYTE3_AC_POWER = 0x08;
int const BIT_MASK_BYTE3_ARMED_AWAY = 0x04;
int const BIT_MASK_BYTE3_FAULT = 0x02;
int const BIT_MASK_BYTE3_MAIN_ALARM = 0x01; //break-in alarm sounding

markkimsal added a commit that referenced this issue Oct 31, 2017
markkimsal added a commit that referenced this issue Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant