Giter VIP home page Giter VIP logo

siriproxy-vipercontrol's People

Contributors

dtomcat avatar fiquett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

acnithin dtomcat

siriproxy-vipercontrol's Issues

Updated with location

I have forked and updated with location. Now you can say:

Locate....Car (or)
Dude, Where's...Car

and it will connect and show a map of your car's location and where you are in relation. If you like it you can merge or pull or whatever it is on Github. Let me know what you think :) I love it!

-Rob

Vehicle isn't starting

I'm trying to run the PHP script from the CLI. The vehicle isn't starting and I'm getting some PHP errors, along with a "Command Completed Successfully". Here's what I get:

scott@empoknor:/var/www/public$ php viper_control.php
Running from CLI

Requesting Session ID...
Session ID:
Getting Vechicle List...
1 vehicle(s) available.
Array
(
[0] => locate
[1] => enable_movement_alert
[2] => disable_movement_alert
[3] => set_geozone
[4] => set_speed_alert
[5] => remote
[6] => arm
[7] => disarm
[8] => trunk
[9] => panic
[10] => enable_zone1_entry_alert
[11] => disable_zone1_entry_alert
[12] => enable_zone1_exit_alert
[13] => disable_zone1_exit_alert
[14] => enable_battery_alert
[15] => disable_battery_alert
[16] => fastest_speed
[17] => set_geozone_rect
[18] => set_geozone1_circle
[19] => set_geozone2_circle
[20] => set_geozone3_circle
[21] => enable_zone2_entry_alert
[22] => disable_zone2_entry_alert
[23] => enable_zone2_exit_alert
[24] => disable_zone2_exit_alert
[25] => enable_zone3_entry_alert
[26] => disable_zone3_entry_alert
[27] => enable_zone3_exit_alert
[28] => disable_zone3_exit_alert
[29] => direct_io_lock_400
[30] => direct_io_lock_750
[31] => direct_io_lock_3500
[32] => direct_io_unlock_400
[33] => direct_io_unlock_750
[34] => direct_io_unlock_3500
[35] => direct_io_remote_750
[36] => direct_io_trunk_750_with_unlock
[37] => direct_io_trunk_750
[38] => direct_io_lock_400_2pulse
[39] => direct_io_lock_750_2pulse
[40] => direct_io_lock_3500_2pulse
[41] => direct_io_unlock_400_2pulse
[42] => direct_io_unlock_750_2pulse
[43] => direct_io_unlock_3500_2pulse
)
Enter Command: 5
PHP Notice: Trying to get property of non-object in /var/www/public/viper_control.php on line 37
PHP Notice: Trying to get property of non-object in /var/www/public/viper_control.php on line 37
PHP Notice: Trying to get property of non-object in /var/www/public/viper_control.php on line 37
Command received successfully.

scott@empoknor:/var/www/public$

When I look at viper_control.php, line 37 is "if($result->Return->ResponseSummary->StatusCode == 0){"
Ideas?

Great project. Would love to help out in some way, although my experience with Ruby is limited.

Scott

it wont go past: One moment while I connect to your vehicle...

When i say any of the commands it will stay at One moment while I connect to your vehicle.... my car does start but siri doesnt tell me that it started. Any help would be great. thanks for such a great plug in.

[Info - Plugin Manager] Matches (?i-mx:lock.*Car)
[Info - Plugin Manager] Applicable states:
[Info - Plugin Manager] Current state:
[Info - Plugin Manager] Matches, executing block
[Info - Plugin Manager] Say: One moment while I connect to your vehicle...
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0xab99100 @Signature=5, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#Zlib::Inflate:0xab9904c, @zip_stream=#Zlib::Deflate:0xab99038, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0xab98b24 @manager=#<SiriProxy::PluginManager:0xab98e58 @plugins=[...]>>, #<SiriProxy::Plugin::SiriIMDB:0xab987f0 @manager=#<SiriProxy::PluginManager:0xab98e58 @plugins=[...]>>, #<SiriProxy::Plugin::ViperControl:0xab984d0 @url="http://192.168.0.12/~dhernandez1110/viper_control.php", @manager=#<SiriProxy::PluginManager:0xab98e58 @plugins=[...]>>]

No response...

Everything still works, but when I start my car, I get no response. I still get a response with all other commands. Is it the same for you?

unlock not working

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.