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

PanelStatus16 and few new messages, 0x6E/0x70 support for 3 digit decimal data #187

Merged
merged 11 commits into from
Jan 4, 2021

Conversation

kricon
Copy link
Contributor

@kricon kricon commented Dec 26, 2020

Probably, printPanelStatus 14, 16 and 1B can be merged into one. But maybe better to keep them seperated (to avoid possible conflicts) as there is many (mostly obsolete) modules which isn't decoded yet.

When panel requires 3 digit input, LCD data which was being send or received on 0x6E and 0x70 cmds is decimal, not hexadecimal like the other ones.
Using printPanelMessages to change boolean may not be the great idea, but it works flawlessly.
Panel messages seems to be send on so many different cmds, that it was easiest to just put it there - for example if I just put it into 0x05 cmd, it all works fine on smaller panels but doesn't for PC5020 - where "Enter 3 digit" message was first send on 0x0A then on 0xE6.20 cmds, etc.

RF Delinquency messages in event buffer doesn't seem to have track of zone on which it occured. Zones with RF delinquency is shown when entering *2 zones with rf delinquency section, same way as for zones/keyfobs low battery. It works only on new generation keypads, on older ones it cause them to reboot. RF Delinquency triggered and restored on zone 20:

22:45:54.616 ->  8951.55: 00000101 0 10000000 00000011 10000001 00000001 00000000 11000111 00000000 11000111 [0x05] Partition 1: Backlight - Zones open | Partition 2: Ready Backlight - Partition ready | Partition 3: disabled | Partition 4: disabled
22:45:55.794 ->  8952.74: 11111111 1 11111111 11111111 11011111 11111111 11111111 11110111 11111111 11111111 [Module/0x05] Zone expander notification: 2 | Keypad idle notification 
22:45:55.934 ->  8952.88: 00110011 0 11111111 11111111 11111111 11111111 11111111 [0x33] Zone expander query: 2
22:45:55.934 ->  8952.88: 11111111 1 00010101 01010101 01010101 01010101 00000100 [Module/0x33] Zone expander: 2 | Zones changed: 20 open 
22:45:55.967 ->  8952.91: 01100100 0 00001100 01110000 [0x64] Partition 1 | Beep: 6 beeps
22:45:56.037 ->  8952.97: 00110100 0 10000000 00000011 10000001 00000001 00001000 01000001 [0x34] Partition 1: Backlight - Zones open | Partition 2: Ready Backlight - Partition ready | Zones 17-24 open: 20 
22:45:56.106 ->  8953.05: 11111111 1 11111111 11111111 11111111 11111101 11111111 11111111 11111111 11111111 [Module/0x1B] Wireless notification 
22:45:56.277 ->  8953.22: 11100110 0 00100101 11111111 11111111 11111111 11111111 11111111 [0xE6.25] [CRC Error]
22:45:56.277 ->  8953.22: 11111111 1 11111111 11111111 11111111 11110111 11111111 11110100 [Module/0xE6.25] Unknown data
22:45:56.346 ->  8953.28: 00100111 0 10000000 00000011 10000000 00000011 00000000 00101101 [0x27] Partition 1: Backlight - Zones open | Partition 2: Backlight - Zones open | Zones 1-8 open: none 
22:45:56.415 ->  8953.35: 10100101 0 00100000 00110011 01110110 10110101 10011111 11111111 11000001 [0xA5] 2020.12.27 22:45 | Zone fault: 20
22:45:56.484 ->  8953.43: 00010001 0 10101010 10101010 10101010 10101010 10101010 10101010 10101010 [0x11] Module supervision query
22:45:56.484 ->  8953.43: 11111111 1 00001111 11110000 00111111 11110011 11111111 11111111 11111111 [Module/0x11] Keypad slots: 1 2 7 8 | Zone expander: 1 | PC/RF5132 
22:45:56.587 ->  8953.52: 00000101 0 10010000 00000011 10010000 00000011 00010000 11000111 00010000 11000111 [0x05] Partition 1: Trouble Backlight - Zones open | Partition 2: Trouble Backlight - Zones open | Partition 3: disabled | Partition 4: disabled
22:45:56.656 ->  8953.61: 11101011 0 00000000 00100000 00110011 01110110 10110100 00000001 10011111 11111111 00000111 [0xEB] 2020.12.27 22:45 | Zone fault: 20
22:45:56.862 ->  8953.79: 11101011 0 00000000 00100000 00110011 01110110 10110100 00010110 10000001 00000000 11111111 [0xEB] 2020.12.27 22:45 | RF delinquency trouble
22:45:58.378 ->  8955.33: 01100100 0 00000100 01101000 [0x64] Partition 1 | Beep: 2 beeps

22:46:19.173 ->  8976.13: 00001111 0 10000000 11010100 00000000 00000000 00001000 00000000 00000000 01101011 [0x0F] Partition 2: Backlight - *2: Zones with RF Delinquency | Zones 1-32 lights: 20 
22:46:19.276 ->  8976.22: 11100110 0 00100001 10000000 11010100 00000000 00000000 00000000 00000000 10000000 11011011 [0xE6.21] Partition 2: Backlight - *2: Zones with RF Delinquency | Zones 33-64 lights: none
22:46:19.346 ->  8976.30: 00000101 0 10010000 00000011 10000000 11010100 00010000 11000111 00010000 11000111 [0x05] Partition 1: Trouble Backlight - Zones open | Partition 2: Backlight - *2: Zones with RF Delinquency | Partition 3: disabled | Partition 4: disabled

23:06:04.825 ->    39.02: 00010001 0 10101010 10101010 10101010 10101010 10101010 10101010 10101010 [0x11] Module supervision query
23:06:04.825 ->    39.02: 11111111 1 00001111 11110000 00111111 11110011 11111111 11111111 11111111 [Module/0x11] Keypad slots: 1 2 7 8 | Zone expander: 1 | PC/RF5132 
23:06:05.587 ->    39.81: 11111111 1 11111111 11111111 11011111 11111111 11111111 11111111 11111111 11111111 [Module/0x05] Zone expander notification: 2 
23:06:05.760 ->    39.96: 00110011 0 11111111 11111111 11111111 11111111 11111111 [0x33] Zone expander query: 2
23:06:05.760 ->    39.96: 11111111 1 01010101 00010101 01010101 01010101 00000100 [Module/0x33] Zone expander: 2 | Zones changed: 20 closed 
23:06:05.760 ->    39.99: 01100100 0 00001100 01110000 [0x64] Partition 1 | Beep: 6 beeps
23:06:05.829 ->    40.05: 00110100 0 10010000 00000011 10010000 00000011 00000000 01011010 [0x34] Partition 1: Trouble Backlight - Zones open | Partition 2: Trouble Backlight - Zones open | Zones 17-24 open: none 
23:06:05.933 ->    40.13: 10100101 0 00100000 00110011 01110111 00010101 01111111 11111111 00000010 [0xA5] 2020.12.27 23:05 | Zone fault restored: 20
23:06:06.106 ->    40.31: 11101011 0 00000000 00100000 00110011 01110111 00010100 00000001 01111111 11111111 01001000 [0xEB] 2020.12.27 23:05 | Zone fault restored: 20
23:06:06.901 ->    41.11: 11111111 1 11111111 11111111 11011111 11111111 11111111 11111111 11111111 11111111 [Module/0x05] Zone expander notification: 2 
23:06:06.970 ->    41.19: 00110011 0 11111111 11111111 11111111 11111111 11111111 [0x33] Zone expander query: 2
23:06:07.004 ->    41.19: 11111111 1 11010101 01010101 01010101 01010101 11000100 [Module/0x33] Zone expander: 2 | Zones changed: 20 open (D/EOL) 
23:06:07.004 ->    41.22: 01100100 0 00001100 01110000 [0x64] Partition 1 | Beep: 6 beeps
23:06:07.073 ->    41.29: 00110100 0 10010000 00000011 10010000 00000011 00001000 01100010 [0x34] Partition 1: Trouble Backlight - Zones open | Partition 2: Trouble Backlight - Zones open | Zones 17-24 open: 20 
23:06:52.869 ->    87.08: 00010001 0 10101010 10101010 10101010 10101010 10101010 10101010 10101010 [0x11] Module supervision query
23:06:52.869 ->    87.08: 11111111 1 00001111 11110000 00111111 11110011 11111111 11111111 11111111 [Module/0x11] Keypad slots: 1 2 7 8 | Zone expander: 1 | PC/RF5132 
23:06:55.637 ->    89.84: 11111111 1 11111111 11111111 11111111 11111111 11111111 11110111 11111111 11111111 [Module/0x05] Keypad idle notification 
23:06:55.706 ->    89.92: 00011011 0 00010000 11000111 00010000 11000111 00010000 11000111 00010000 11000111 [0x1B] Partition 5: disabled | Partition 6: disabled | Partition 7: disabled | Partition 8: disabled
23:06:55.740 ->    89.93: 11111111 1 11111111 11111111 11111111 11111101 11111111 11111111 11111111 11111111 [Module/0x1B] Wireless notification 
23:06:55.878 ->    90.08: 11100110 0 00100101 11111111 11111111 11111111 11111111 11111111 [0xE6.25] [CRC Error]
23:06:55.878 ->    90.08: 11111111 1 11111111 11111111 11111111 11111111 11111111 11111100 [Module/0xE6.25] Unknown data
23:06:55.948 ->    90.17: 11101011 0 00000000 00100000 00110011 01110111 00011000 00010110 10000010 00000000 01100101 [0xEB] 2020.12.27 23:06 | RF delinquency restore

Keypad idle notification is false-positive and zone expander 2 notification is for all 17-24 zone notifications, it can be on wireless/keypad zones not just on zone expanders. I often have RF Deliquency troubles for no reason, but never together with Zone fault (well, this time RF Deliquency/Zone fault was for a reason as I tampered with sensor). I often got "Wireless notification" and 0xE6.25, Module/0xE6 unknown data after exiting from Installer programming and so on. It seems to answer on Module status query but Im not 100% sure. It will help if 0xE6.25/Module0xE6 data afterwards is known (data send after queryes is same as for RF Delinquency trouble restore).

RF Jamming just makes zone tamper on zone programmed for it in RF Module programming.

0xB3 on PC1565-2P panel after activating PGM outputs. PC585 v2.3 doesn't send it:

 4253.18: 11111111 1 00101000 11111111 11111111 11111111 [Module/0x05] Partition 1 Key: * 
 4253.24: 01011101 0 00000000 00000000 00000000 00000000 00000000 01011101 [0x5D] Partition 1 | Status lights flashing: none | Zones 1-32 flashing: none
 4253.33: 00001010 0 10000000 10011110 00000000 00000000 00000000 00000000 00000000 00101000 [0x0A] Partition 1: Backlight - Enter * function code | Zones 1-32 lights: none
 4253.38: 00000101 0 10000000 10011110 10010001 11000111 [0x05] Partition 1: Backlight - Enter * function code | Partition 2: disabled
 4253.71: 11111111 1 00011100 11111111 11111111 11111111 11111111 11111111 11111111 11111111 [Module/0x0A] Partition 1 Key: 7 
 4253.76: 00000101 0 10000000 10110010 10010001 11000111 [0x05] Partition 1: Backlight - *7: Command output | Partition 2: disabled
 4253.84: 00001010 0 10000000 10110010 00000000 00000000 00000000 00000000 00000000 00111100 [0x0A] Partition 1: Backlight - *7: Command output | Zones 1-32 lights: none
 4254.43: 11111111 1 00000101 11111111 11111111 11111111 11111111 11111111 11111111 11111111 [Module/0x0A] Partition 1 Key: 1 
 4254.50: 10100101 0 00100000 01101000 10100000 10111110 01100111 00000000 11110010 [0xA5] 2020.10.05 00:47 | Partition 1 | Command output 1
 4254.55: 00000101 0 10000000 10110011 10010001 11000111 [0x05] Partition 1: Backlight - Unknown data: 0xB3 | Partition 2: disabled
 4254.58: 01100100 0 00000110 01101010 [0x64] Partition 1 | Beep: 3 beeps
 4254.64: 01011101 0 00000000 00000000 00000000 00000000 00000000 01011101 [0x5D] Partition 1 | Status lights flashing: none | Zones 1-32 flashing: none
 4254.70: 00000101 0 10010000 00110011 10010001 11000111 [0x05] Partition 1: Trouble Backlight - Command output in progress | Partition 2: disabled
 4256.12: 00100111 0 10010000 00110011 10010001 11000111 00000001 01000011 [0x27] Partition 1: Trouble Backlight - Command output in progress | Partition 2: disabled | Zones 1-8 open: 1 
 4256.17: 00010110 0 00001110 00100010 11110001 00110111 [0x16] Panel version: v2.2 | Zone wiring: NC | Code length: 4 digits | *8 programming: no 

Downlook remote trigger, section [906] on PC5020, I was able to trigger it without having Downlook module.

[906] - Local Downlook Remote Trigger
While in this section, either 1 or 2 may be pressed to initiate Downlook to either Phone Number 1 or 2, respectively. The panel will communicate the System Test event, log “Downlook Remote Trigger”, and transmit the script found in the PC5108L for Remote Trigger

KeybusReader.ino still fits into Arduino Uno memory with 32224 bytes (99%) used (commit 4e3c763), even after syncing my fork with latest taligentx:develop commit ee09e9e.

Added printPanelStatus16 and Unknown data messages for unknown Panel Status.
RF Delinquency and Trouble acknowledged messages added from event buffer.
0xB3 message on PC1565-2P after activating PGM output, together with 0xB2 which was send few lines before on same cmd milisecond ago.
Downlook remote trigger, section [906] on PC5020, I was able to trigger it without having Downlook module.
When panel requires 3 digit input, LCD data which was being send or received on 0x6E and 0x70 cmds is decimal, not hexadecimal like the other ones.
@kricon kricon changed the title PanelStatus16 and few new messages, 0x6E/0x70 supports for 3 digit decimal PanelStatus16 and few new messages, 0x6E/0x70 support for 3 digit decimal data Dec 26, 2020
Downloading in progress message is displayed on all LCD keypads while panel is connected on DLS.
When 0xB1 byte5 bit1 is zero seems to be related to Wireless notifications, it can be for status/troubles of wireless zones?
@kricon kricon marked this pull request as draft December 29, 2020 01:49
@kricon kricon marked this pull request as ready for review December 29, 2020 02:01
kricon and others added 2 commits December 29, 2020 06:55
Renamed Keypad going idle notification as it seems to be used for more keypad notifications.
Labels on PK5500 have bigger string and doesn't get broadcasted onto LCD5500, also probably vice-versa.

11111111 1 11111111 11110111 11111111 11111111 11111111 11110111 11111111 11111111 [Module/0x05] Partition 2 Key: Menu navigation | Keypad notification 
11111111 1 11111111 11111111 11111111 11111111 00011111 11111111 11111111 11111111 [Module/0x1B] Zone label broadcast announced
11111111 1 11111111 11111111 11111111 11111111 01111111 11111111 11111111 11111111 [Module/0x1B] Door chime broadcast announced
@taligentx taligentx merged commit 613bd4a into taligentx:develop Jan 4, 2021
@taligentx
Copy link
Owner

Merged, thank you! I moved a few other strings out of flash and into SRAM to fit (barely) on Uno after a few other changes. There are a few ways to shave off more space but as it fits for now I'll leave it as-is until there's more to add.

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

Successfully merging this pull request may close these issues.

None yet

2 participants