I’ve got a piston, however I only want it to trigger from a direct curl request from my RPi.
How can I go making the below piston so it only triggers from a curl request? The logic should be that it always executes when called, however if it isn’t between 21:30 and 09:00 then it won’t turn the lights and wait 2 minutes to turn the plugs off