Permalink
Browse files

Added car stop

  • Loading branch information...
1 parent bb2b129 commit bd0612ae083f5542ad3cd38be41d26d05da8668a @fiquett committed Jan 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/siriproxy-vipercontrol.rb
@@ -16,6 +16,9 @@ def initialize(config = {})
#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.*stop/i) { send_command_to_car("remote") }
+ listen_for(/stop.*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") }

0 comments on commit bd0612a

Please sign in to comment.