Help to evaluate logicblock and trigger IFTTT 3rd party applet

Welcome Salsaby Jake

If I have understood you correctly you would like a light to turn on if only at night time with the alarm system as a trigger

To achieve this you need a Boolean Variable called night time.
this will be changed via 2 applets from IFTTT. One to set the Boolean Value to true if after sunset and one to set it so false after sunrise. I use the Weather Underground Service.
Create a condition called nighttime based on the boolean variable.
then create a logiblock “insertname”
Select nightime
Condition linking should have simple AND selected.
In the action chains under positive name turnon light.
In IFTTT create an apilio applet and link it to your light applet so it switched on.
In IFTTT use your security applet to link to Apillio and initiate apilio logicblock https://prnt.sc/su6m66

If you want the light to turn off automatically after a certain time, have the following in actions for negative result
turnlightoff click show advanced option and put 300
This will turn the light of after 5 minutes…

Now you have the logiblock set up you and add different variable. IE only turn lights on if dark and between these times.

I hope this helps
I good guide here How to choose your variable, trigger and actions

4 Likes