OpenGarage › Forums › Comments, Suggestions, Requests › Check to see door is open before closing with IFTTT and apilio.io › Reply To: Check to see door is open before closing with IFTTT and apilio.io
bgnome
Ok, now on to the meat and potatoes. I apologize in advance as I have the programming skills of a room full of monkeys with laptops.
On apilio.io I have the following set up:
String Variable
Name: Opengarage_status
Value: blank
Conditions
Name: Garage_door_already_closed
Variable: Opengarage_status
String contains: closed
Name: Garage_door_already_open
Variable: Opengarage_status
String contains: left OPENED
Logicblocks
Name: open_door
Conditions: Garage_door_already_closed
Actions for positive result: Click
Actions for negative result: Already_open
Name: close_door
Conditions: Garage_door_already_open
Actions for positive result: Click
Actions for negative result: Already_closed
- This reply was modified 7 years, 1 month ago by bgnome. Reason: Garage_door_already_open modified to account for automation notification about door being left open