@rachee problem is not you. the commands used to turn on/off the displays are sensitive to what pi you are using. 1st thing to do is use some of the python setups for PIR and prove that the wiring is right and the sensor does what u expect then try out the commands that turn on/off the display, and determine which one works for you (none work for me) the commands are tvservice - pi only, turns off HDMI port vcgencmd - turns off HDMI port dpms - turns off HDMI port cec-client - turns off cec compliant monitor/tv on the newer, energy star displays/TV’s, when u turn off the HDMI port u get some sort of ‘No Input’ screen. no way to override that not all pir modules support all the commands if u look inside each u can see what commands they are issuing, and try those manually I recommend using an ssh session, cause when u turn off the monitor you are working on, it’s gets tough to get it back on. forced reboot most of the time. MMM-New-PIR by bugsounet seems to have the most commands enabled his code to turn in/off is in his screen library https://github.com/bugsounet/screen/blob/master/index.js