The Xfinity 3400 keypad device type and smartapp by @mitchp is now in its own post here:
I know @RLDreams and @DRoss bought the same keypad. I set it up and it works Go check it out!