Just discovered Apilio today after realizing that IFTTT is too limited, specifically in terms of conditions.
However, I would like to tinker with it more and could use some suggestions:
To use a Wyze Motion Sensor to trigger the entrance Wiz light bulb upon motion detection.
Additionally, I would like the Wiz light bulb to go into “night mode” after midnight after the motion detector is “clear”. <-- This is what I’m having difficulty with.
- Boolean Variables
- _motion_entrance - Triggered by Wyze Motion Sensor
- _time_night - Triggered by Weather Underground “Sunset”
- light_entrance_night based on conditions #1 and #2 above
The above works well, however, I would like to include an additional criteria after a specific time to turn the Wiz light bulbs into a night light instead of it turning off.
I tried the following:
Created a new boolean variable “_time_after_midnight” and a new condition “is_after_midnight”, and created a new logicblock that uses “is_there_motion”, “is_night” and “is_after_midnight”. However, this causes a conflict with the existing logicblock as I reused 2 of 3 conditions.
Created new condition “is_before_midnight” and added it to the original logicblock. However, this also seems to be in conflict with the other logicblock as theoretically one logicblock will return “false” and the other “true” at the same time.
I think I am missing something here - just can’t quite figure out what. Perhaps someone can assist? I also realize I might not be painting the entire picture here, so please let me know if I missed some important information.