fiquett/SiriProxy-ViperControl — Issue #1: unlock not working
Author: ScottD2
Created: 2011-12-04 11:06:21+00:00
State: open

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.

#capture ViperControl status
listen_for(/Car.*start/i) { send_command_to_car("remote") }
listen_for(/start.*Car/i) { send_command_to_car("remote") }

listen_for(/Car.*unlock/i) { send_command_to_car("disarm") }
listen_for(/unlock.*Car/i) { send_command_to_car("disarm") }

listen_for(/Car.*lock/i) { send_command_to_car("arm") }
listen_for(/lock.*Car/i) { send_command_to_car("arm") }

listen_for(/Car.*trunk/i) { send_command_to_car("trunk") }
listen_for(/trunk.*Car/i) { send_command_to_car("trunk") }

listen_for(/Car.*panic/i) { send_command_to_car("panic") }
listen_for(/panic.*Car/i) { send_command_to_car("panic") }

Thanks,
Scott