Hi All,
First I am new to messing around with my Raspberry Pi, currently I am using Raspberry Pints, I have also added the PIR motion sensor to wake the screen when motion is detected. All is working great however I wanted to also integrate an additional function to trigger an SSR to turn on the fridge lights when the same motion is detected, I have my SSR wired into GPIO24 (Pin18 & Pin20 for Ground) and I am having a hard time manipulating the code to get the SSR to also switch when motion is detected.
Any and all help is much appreciated, below is my current code running for the screen wake.
Also a pic of my beer fridge.