:Nissan Leaf
Carwings is the telematics system installed in the Leaf. It has four endpoints, apparently:
- The cellular modem in your car
- The data center, operated by Airbiquity
- The web-based Carwings interface
- An XML-RPC-like proxy used by the iOS and Android applications
Mobile app proxy
The mobile app proxy is located at https://nissan-na-smartphone-biz.viaaq.com and allows iOS and Android apps to interact with your car’s telematics.
There are at least two endpoints
User Service
Located at https://nissan-na-smartphone-biz.viaaq.com/aqPortal/smartphoneProxy/userService
This is used during initial sign-in, as well as later to retrieve vehicle status. When logging in, the application POSTs the following:
YOUR_CARWINGS_USERNAME YOUR_CARWINGS_PASSWORD DUMMY1313820504.22296500 YOUR_DEVICE_UNIQUE_ID US 1.40 IPHONE SmartphoneGetPreferencesRequest SmartphoneLatestBatteryStatusRequest SmartphoneLatestACStatusRequest SmartphoneGetScheduledACRemoteRequest
If the user is authenticated, the system will return two cookies (a JSESSIONID, and a BIGipServernissan-na-smartphone-biz-POOL). These cookies are submitted for each subsequent request to the server.
*REDACTED*VEHICLE_VIN_VALUE leaf START 2011-08-20T04:20:59.0 NORMAL_CHARGING 12 8 CONNECTED 90624 104448 6 0 2011-08-20T04:21:15.0 *REDACTED*VEHICLE_VIN_VALUE 2011-08-20T04:20:59.000Z FINISH 2011-08-18T16:45:32.0 START 2011-08-18T16:45:32.0 139608 166200 NOT_CONNECTED 7200 900 *REDACTED*VEHICLE_VIN_VALUE *REDACTED*VEHICLE_VIN_VALUE false false false false false false false false false false false false false false false *REDACTED*VEHICLE_VIN_VALUE
Some notes on the above:
- BatteryStatus
- BatteryChargingStatus is showing a car plugged into a trickle charger
- BatteryRemainingAmount is the number of SOC bars
- CruisingRangeAcOn and ..AcOff
- This value is in meters
- All times are in UTC
Vehicle Service
Located at https://nissan-na-smartphone-biz.viaaq.com/aqPortal/smartphoneProxy/vehicleService