First timer: relays for outdoor lighting

I have a single security light connected to a dumb pir. The power is supplied via a standard wall plug in my garage. I connected a single node switch between plug and socket. The single node switch detects power change. Thanks to a member in the forums an app was created to detect and notify on power change. So when the pir detects movement the security light comes on, the change in power from 0.5w to 30w triggers an alert from the switch to smartthings app. This is also announced via my sonos speakers. A basic solution that works perfectly. No need for complicating matters with hard to find relays. I could also set the single node switch to power down and up if needed via schedule but i dont feel its necessary as the dumb pir simply sleeps at 0.5w when not in use

Hopefully that link will work. Using phone to hop around so not sure what works . Its the thread in which Cobra creates the app for dumb pir use