[Pebble] hawkjm73:
I've been doing this for a while, but I just saw this thread.

Here's a task I've been using. You need to feed it your Viper username and password, the command you want to send, and your vehicleID. I'll put that task in, too. Basically, it send the credentials out and receives a sessionID. Then, using that ID, it sends the control command. You can send it "arm", "disarm", and "remote". The %SERVER value is "https://colt/calamp-ts.com". Then, I just use PebbleTasker to run tasks that set the command variable and run the Send Command Task. I get a notification depending on if it responds with success or an error.

Car Send Command (94)

<Success Pattern>

A2: HTTP Get [ Server:Port:%SERVER Path:auth/login/%username/%password Attributes: Cookies: Timeout:10 Mime Type:text/* Output File:vipersessid ]

A3: Variable Set [ Name:%viperssiddata To:%HTTPD Do Maths:eek:ff Append:eek:ff ]

A4: Variable Split [ Name:%viperssiddata Splitter:"SessionID":" Delete Base:eek:ff ]

A5: Variable Split [ Name:%viperssiddata2 Splitter:"," Delete Base:eek:ff ]

A6: Variable Set [ Name:%sessid To:%viperssiddata21 Do Maths:eek:ff Append:eek:ff ]

A8: HTTP Get [ Server:Port:%SSSERVER Path:device/sendcommand/%SSVEHICLEID/%SSCOMMAND?sessid=%sessid Attributes: Cookies: Timeout:10 Mime Type:text/* Output File:viperdata ]

A9: If [ %HTTPD ~ *"StatusCode"* ]

A10: Variable Set [ Name:%SSRESPONSE To:%HTTPD Do Maths:eek:ff Append:eek:ff ]

A11: Variable Set [ Name:%SSLASTCOMMANDRESULT To:Last comm: "%SSCOMMAND," received. Do Maths:eek:ff Append:eek:ff ]

A12: Pebble Notifier [ Configuration:Notification with title: "Prius" and body: "% Package:com.dattasmoon.pebble.plugin Name:Pebble Notifier Continue Task After Error:eek:n ]

<Success Pattern>

A13: Vibrate Pattern [ Pattern:%SUCCESSPATTERN ]

A14: Else

A15: Variable Set [ Name:%SSRESPONSE To:ERROR Do Maths:eek:ff Append:eek:ff ]

A16: Variable Set [ Name:%SSLASTCOMMANDRESULT To:Last comm: "%SSCOMMAND," failed. Do Maths:eek:ff Append:eek:ff ]

A17: Pebble Notifier [ Configuration:Notification with title: "Prius" and body: "% Package:com.dattasmoon.pebble.plugin Name:Pebble Notifier Continue Task After Error:eek:n ]

<Error Pattern>

A18: Vibrate Pattern [ Pattern:%ERRORPATTERN ]

A19: End If

A20: Perform Task [ Name:Show Car Remote Notification Stop:eek:ff Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ]

This one fetches the carID and keeps it in a global variable. It also needs the username and password. You may need to adjust the parsing if you have more then one car in the system.

Car Fetch Id (99)

A1: Variable Set [ Name:%SSSERVER To:https://colt.calamp-ts.com Do Maths:eek:ff Append:eek:ff ]

A2: HTTP Get [ Server:Port:%SSSERVER Path:auth/login/%username/%password Attributes: Cookies: Timeout:10 Mime Type:text/* Output File:vipersessid ]

A3: Variable Set [ Name:%viperssiddata To:%HTTPD Do Maths:eek:ff Append:eek:ff ]

A4: Variable Split [ Name:%viperssiddata Splitter:"SessionID":" Delete Base:eek:ff ]

A5: Variable Split [ Name:%viperssiddata2 Splitter:"," Delete Base:eek:ff ]

A6: Variable Set [ Name:%sessid To:%viperssiddata21 Do Maths:eek:ff Append:eek:ff ]

A8: HTTP Get [ Server:Port:%SERVER Path:device/advancedsearch?sessid=%sessid Attributes: Cookies: Timeout:10 Mime Type:text/* Output File:viperdata ]

A10: Variable Set [ Name:%vipervehicleiddata To:%HTTPD Do Maths:eek:ff Append:eek:ff ]

A11: Variable Split [ Name:%vipervehicleiddata Splitter:"DeviceId":" Delete Base:eek:ff ]

A12: Variable Split [ Name:%vipervehicleiddata2 Splitter:"," Delete Base:eek:ff ]

A13: Variable Set [ Name:%SSVEHICLEID To:%vipervehicleiddata21 Do Maths:eek:ff Append:eek:ff ]