Trigger Blockly on specific device status change
Posted: Tuesday 19 January 2016 13:42
Sorry if this has been asked before but I couldn't find it in a search
I have a blockly that, If door sensor = ON and someone home = OFF send notification. The issue is, my door sensor is always ON. So, if the last person leaves the house, the someone home switch turns OFF and I get a notification because both are now true. However, I only want to be notified if the door sensor changes status when someone home = OFF. Is it possible to specify only one status change to trigger a Blockly event?
I have a blockly that, If door sensor = ON and someone home = OFF send notification. The issue is, my door sensor is always ON. So, if the last person leaves the house, the someone home switch turns OFF and I get a notification because both are now true. However, I only want to be notified if the door sensor changes status when someone home = OFF. Is it possible to specify only one status change to trigger a Blockly event?