I do not see anything identifying the user code that was used. Do the codes need to be configured through the binding for them to be identified in alarm_raw? My codes are only in the lock. Here are the alarm_raw values from a manual unlock, manual lock, keypad lock, and keypad unlock: