Ring alarm

I've been working all night on trying to get my ring alarm hardware back and running. I have a ring motion sensor gen 1. Gen 2. That do not detect motion. I also have a gen 1 keypad that was working with HSM. Then I had Google write me some custom code to fix the arm home mode and it completely broke shm now nothing works. When I wake up I will post the new code for the driver that's supposed to fix the motion sensors and the keypad. If there's already a community driver for both motion detectors and one for the keypad fix, I would appreciate a link to them?