'mode.away' : 'location',
'mode.home' : 'location',
'mode.night' : 'location',
+ 'unlock' : 'lock',
'lock.locked' : 'lock',
'lock.unlocked' : 'lock',
'motion.active' : 'motion',
#print "DEBUG: App1: %d" % indexApp1
#print "DEBUG: App2: %d" % indexApp2
#print "DEBUG: eventList: %d" % len(eventList)
+ #print eventList
isApp1 = True
while counter < numOfActualEvents:
# Interleave events from App1 and App2
for line in event:
extractedEvents.write(line)
event.close()
- elif eventList[i] == "unlock":
- #Don't do anything for this case
- counter = counter - 1
elif eventList[i] == "nfcTouch":
event = open("eventSimulator/nfcTouchEvent.groovy", "r")
for line in event: