Good to see that you found the missing module. I added the keyb module to your project as a replacement/simulation of your PIR sensor
Notice the remark at the top of the keyb module that it doesn't work in Idle.
Yes keep us/me posted about your project.
Just have fun with Mr. Hammerstein!!!