{"issue":{"state":"open","created_at":"2011-12-04T11:06:21Z","updated_at":"2011-12-04T11:06:21Z","comments":0,"user":{"gravatar_id":"66792571dc9be20d8d6eedb3ea58a9dd","id":185001,"url":"https://api.github.com/users/ScottD2","avatar_url":"https://secure.gravatar.com/avatar/66792571dc9be20d8d6eedb3ea58a9dd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"ScottD2"},"body":"Because of the wildcard speech recognition on how siri proxy works the unlock command should be moved to be first before the lock command as shown.\r\n\r\n        #capture ViperControl status\r\n        listen_for(/Car.*start/i) { send_command_to_car(\"remote\") }\r\n        listen_for(/start.*Car/i) { send_command_to_car(\"remote\") }\r\n\r\n        listen_for(/Car.*unlock/i) { send_command_to_car(\"disarm\") }\r\n        listen_for(/unlock.*Car/i) { send_command_to_car(\"disarm\") }\r\n\r\n        listen_for(/Car.*lock/i) { send_command_to_car(\"arm\") }\r\n        listen_for(/lock.*Car/i) { send_command_to_car(\"arm\") }\r\n\r\n        listen_for(/Car.*trunk/i) { send_command_to_car(\"trunk\") }\r\n        listen_for(/trunk.*Car/i) { send_command_to_car(\"trunk\") }\r\n\r\n        listen_for(/Car.*panic/i) { send_command_to_car(\"panic\") }\r\n        listen_for(/panic.*Car/i) { send_command_to_car(\"panic\") }\r\n\r\nThanks,\r\nScott\r\n\r\n","assignee":null,"id":2441464,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1,"title":"unlock not working","html_url":"https://github.com/fiquett/SiriProxy-ViperControl/issues/1","closed_at":null,"url":"https://api.github.com/repos/fiquett/SiriProxy-ViperControl/issues/1","milestone":null},"action":"opened"}