Motion eye trigger

hi how do i make that my motioneyey camera (usb camera) when it detects motion it turn on the lights?

You create a webhook…

how do i do that

webhook trigger