Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charging Connection Status is always disconnected #59

Closed
lancer73 opened this issue Jul 6, 2023 · 20 comments
Closed

Charging Connection Status is always disconnected #59

lancer73 opened this issue Jul 6, 2023 · 20 comments

Comments

@lancer73
Copy link

lancer73 commented Jul 6, 2023

Since yesterday evening the Charging Connection Status is always reported as disconnected, even when it is "Connected AC"

To Reproduce:

Steps to reproduce the behavior:

  1. Plug in vehicle
  2. Wait on next update call
  3. Charger System Status reports "Charging" and Charging Connection Status reports "Disconnected"

Version info:

1.7.5
Logs:

Jul 06 16:41:28 volvo2mqtt [106] - INFO: Starting volvo2mqtt version v1.7.5
Jul 06 16:41:28 volvo2mqtt [106] - DEBUG: Starting new HTTPS connection (1): volvoid.eu.volvocars.com:443
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://volvoid.eu.volvocars.com:443 "POST /as/token.oauth2 HTTP/1.1" 200 None
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting new HTTPS connection (1): api.volvocars.com:443
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v1/vehicles HTTP/1.1" 200 189
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Vin: ['YV1XXXXXX'] found!
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/energy/v1/vehicles/{0}/recharge-status
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /energy/v1/vehicles/YV1XXXXXXX/recharge-status HTTP/1.1" 200 764
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Battery Charge Level is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },                        
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Electric Range is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Estimated Charging Time is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
   "electricRange" : {       
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Charging System Status is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Charging Connection Status is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",       
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Estimated Charging Finish Time is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/odometer
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/odometer HTTP/1.1" 200 245
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "5a3ff63b-d1ec-43d0-b3e9-56fd70f9c274",
  "data" : {
    "odometer" : {
      "name" : "odometer",
      "value" : "58615",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Odometer is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Last Data Update is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/windows
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV!XXXXXX/windows HTTP/1.1" 200 799
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : { 
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Window Front Left is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Window Front Right is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,             
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Window Rear Left is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",     
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Window Rear Right is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/doors
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/doors HTTP/1.1" 200 1159
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Door Front Left is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Door Front Right is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
   "rearLeftDoorOpen" : {    
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Door Rear Right is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {            
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Tailgate is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {         
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Engine Hood is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Tank Lid is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
 "status" : 200,             
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Sunroof is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Air Conditioning is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Lock state is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Force Update Data is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/location/v1/vehicles/{0}/location
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /location/v1/vehicles/YV1XXXXXX/location HTTP/1.1" 200 337
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "37a31ab5-a061-465e-8263-d99988104b70",
  "data" : {
    "type" : "Feature",
    "properties" : {
      "heading" : "109",
      "timestamp" : "2023-07-06T14:18:17.730Z"
    },
    "geometry" : {
      "type" : "Point",
      "coordinates" : [ 4.XXXXXX, 52.XXXXXX, 0.0 ]
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Location is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/tyres
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/tyres HTTP/1.1" 200 687
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Tire Front Left is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Tire Front Right is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",     
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Tire Rear Left is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Tire Rear Right is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/engine-status
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/engine-status HTTP/1.1" 200 226
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "858412ea-f110-44a5-b993-daa34768233f",
  "data" : {
    "engineRunning" : {
      "name" : "engineRunning",
      "value" : "false",
      "timestamp" : "1970-01-01T00:00:00Z"
    }
  }                           
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Success! Engine State is supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/fuel
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/fuel HTTP/1.1" 200 243
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "32649a92-e4a5-4062-a79b-7348e42735ed",
  "data" : {
    "fuelAmount" : {
      "name" : "fuelAmount",
      "value" : "0.0",
      "unit" : "liters",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Failed, Fuel Level is unfortunately not supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/statistics
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/statistics HTTP/1.1" 200 1246
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "35a8aedd-a6d1-4bff-bd4c-737d1ed9ea31",
  "data" : {
    "averageFuelConsumption" : {
      "name" : "averageFuelConsumption",
      "value" : "0.0",
      "unit" : "liters_per_100_kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmptyKm" : {
      "name" : "distanceToEmptyKm",
      "value" : "0",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmpty" : {
      "name" : "distanceToEmpty",
      "value" : "0",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmptyMiles" : {
      "name" : "distanceToEmptyMiles",
      "value" : "0",
      "unit" : "miles",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "averageSpeed" : {
      "name" : "averageSpeed",
      "value" : "1",
      "unit" : "kilometers_per_hour",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "tripMeter1" : {
      "name" : "tripMeter1",
      "value" : "8615.8",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "tripMeter2" : {
      "name" : "tripMeter2",
      "value" : "47.3",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Failed, Average Fuel Consumption is unfortunately not supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "35a8aedd-a6d1-4bff-bd4c-737d1ed9ea31",
  "data" : {
    "averageFuelConsumption" : {
      "name" : "averageFuelConsumption",
      "value" : "0.0",
      "unit" : "liters_per_100_kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmptyKm" : {
      "name" : "distanceToEmptyKm",
      "value" : "0",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmpty" : {
      "name" : "distanceToEmpty",
      "value" : "0",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmptyMiles" : {
      "name" : "distanceToEmptyMiles",
      "value" : "0",
      "unit" : "miles",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "averageSpeed" : {
      "name" : "averageSpeed",
      "value" : "1",
      "unit" : "kilometers_per_hour",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "tripMeter1" : {
      "name" : "tripMeter1",
      "value" : "8615.8",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },                        
    "tripMeter2" : {
      "name" : "tripMeter2",
      "value" : "47.3",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Failed, Distance to Empty is unfortunately not supported by your vehicle.
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:29 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "35a8aedd-a6d1-4bff-bd4c-737d1ed9ea31",
  "data" : {
    "averageFuelConsumption" : {
      "name" : "averageFuelConsumption",
      "value" : "0.0",
      "unit" : "liters_per_100_kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmptyKm" : {
      "name" : "distanceToEmptyKm",
      "value" : "0",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmpty" : {
      "name" : "distanceToEmpty",
      "value" : "0",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "distanceToEmptyMiles" : {
      "name" : "distanceToEmptyMiles",
      "value" : "0",
      "unit" : "miles",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "averageSpeed" : {
      "name" : "averageSpeed",
      "value" : "1",
      "unit" : "kilometers_per_hour",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "tripMeter1" : {
      "name" : "tripMeter1",
      "value" : "8615.8",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "tripMeter2" : {
      "name" : "tripMeter2",
      "value" : "47.3",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}                             
Jul 06 16:41:29 volvo2mqtt [106] - INFO: Failed, Average Speed is unfortunately not supported by your vehicle.
Jul 06 16:41:30 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v1/vehicles/YV1XXXXXX HTTP/1.1" 200 900
Jul 06 16:41:30 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "e2e17400-d7be-4656-b99e-9442a31ad836",
  "data" : {
    "modelYear" : "2021",
    "vin" : "YV1XXXXXX",
    "externalColour" : "Sage Green",
    "images" : {
      "exteriorDefaultUrl" : "https://cas.volvocars.com/image/dynamic/MY21_2017/536/exterior-v1/R6/73300/R14F/FN02/2G03/TC06/TP05/LR02/JT02/GR08/T101/TJ02/TM04/JG02/CB04/EV02/JB0C/T001/LF05/VP03/_/_/_/_/_/_/default.png?market=se&client=gox-graph%7cpublic-api-engineering&angle=1&bg=00000000&w=1920",
      "interiorDefaultUrl" : "https://cas.volvocars.com/image/dynamic/MY21_2017/536/interior-v2/R6/E/RD0000/NC0D/DI03/RU0A/2G03/PD02/NP02/CB04/EV02/K504/_/FH01/_/_/default.jpg?market=se&client=gox-graph%7cpublic-api-engineering&angle=0&w=1920"
    },
    "descriptions" : {
      "model" : "XC40",
      "upholstery" : "CHARCOAL/ARIANNE/CHARCOAL",
      "steering" : "left hand drive"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - INFO: Sending mqtt update...
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Updating icon to battery-60 for battery_charge_level
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }                           
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "9d459007-49df-4120-a242-b2bb2babf4fc",
  "data" : {
    "batteryChargeLevel" : {
      "value" : "63.0",
      "unit" : "percentage",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "electricRange" : {
      "value" : "230",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "estimatedChargingTime" : {
      "value" : "120",
      "unit" : "minutes",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingConnectionStatus" : {
      "value" : "CONNECTION_STATUS_DISCONNECTED",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    },
    "chargingSystemStatus" : {
      "value" : "CHARGING_SYSTEM_CHARGING",
      "timestamp" : "2023-07-06T14:40:53.340Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/odometer
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/odometer HTTP/1.1" 200 245
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "d4b7dda5-c1d9-45d4-bd53-0738076b33c7",
  "data" : {
    "odometer" : {
      "name" : "odometer",
      "value" : "58615",
      "unit" : "kilometers",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",     
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : {
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",     
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Updating icon to car-door-lock for door_front_left
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {           
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Updating icon to car-door-lock for door_front_right
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
   "frontRightDoorOpen" : {  
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Updating icon to car-door-lock for door_rear_left
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {   
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Updating icon to car-door-lock for door_rear_right
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
     "tailGateOpen" : {        
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}                             
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "6c5e510f-4701-4214-9cf2-4a3774aa3294",
  "data" : {
    "rearLeftWindowOpen" : {
      "name" : "rearLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightWindowOpen" : { 
      "name" : "rearRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftWindowOpen" : {
      "name" : "frontLeftWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightWindowOpen" : {
      "name" : "frontRightWindowOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "sunRoofOpen" : {
      "name" : "sunRoofOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "f74705ab-d5bb-447c-aa47-640c2e7e4138",
  "data" : {
    "carLocked" : {
      "name" : "carLocked",
      "value" : "LOCKED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontLeftDoorOpen" : {
      "name" : "frontLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "frontRightDoorOpen" : {
      "name" : "frontRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearLeftDoorOpen" : {
      "name" : "rearLeftDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "rearRightDoorOpen" : {
      "name" : "rearRightDoorOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "hoodOpen" : {
      "name" : "hoodOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tailGateOpen" : {
      "name" : "tailGateOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    },
    "tankLidOpen" : {
      "name" : "tankLidOpen",
      "value" : "CLOSED",
      "timestamp" : "2023-07-06T14:36:46Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Updating icon to lock for lock_status
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/location/v1/vehicles/{0}/location
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /location/v1/vehicles/YV1XXXXXX/location HTTP/1.1" 200 337
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "c0c53acf-629f-4980-83b4-daab0b58b86c",
  "data" : {
    "type" : "Feature",
    "properties" : {
      "heading" : "109",
      "timestamp" : "2023-07-06T14:18:17.730Z"
    },
    "geometry" : {
      "type" : "Point",
      "coordinates" : [ 4.XXXX, 52.XXXXXX, 0.0 ]
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}                             
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "be67b2f5-00a4-4f8b-8013-eaf184214e1b",
  "data" : {
    "rearLeftTyrePressure" : {
      "name" : "rearLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "rearRightTyrePressure" : {
      "name" : "rearRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontRightTyrePressure" : {
      "name" : "frontRightTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    },
    "frontLeftTyrePressure" : {
      "name" : "frontLeftTyrePressure",
      "value" : "NORMAL",
      "timestamp" : "2023-07-06T14:18:13Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Starting GET call against https://api.volvocars.com/connected-vehicle/v2/vehicles/{0}/engine-status
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: https://api.volvocars.com:443 "GET /connected-vehicle/v2/vehicles/YV1XXXXXX/engine-status HTTP/1.1" 200 226
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Response status code: 200
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: {
  "status" : 200,
  "operationId" : "c7fabd70-1bf3-416a-a9a5-29ebba75305a",
  "data" : {
    "engineRunning" : {
      "name" : "engineRunning",
      "value" : "false",
      "timestamp" : "1970-01-01T00:00:00Z"
    }
  }
}
Jul 06 16:41:32 volvo2mqtt [106] - DEBUG: Updating icon to engine-off-outline for engine_state
Jul 06 16:41:32 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds.
@JohanAlvedal
Copy link

Same here C40

@Dielee
Copy link
Owner

Dielee commented Jul 6, 2023

Jep, you are right. Same for me. But this seems to be the Volvo API.. They changed something yesterday. This endpoint seems to be broken for now. I will take a closer look at this day. But I'm pretty sure that there is nothing I can do...

@Dielee
Copy link
Owner

Dielee commented Jul 6, 2023

This is the API response:

"chargingConnectionStatus" : {
     "value" : "CONNECTION_STATUS_DISCONNECTED",
     "timestamp" : "2023-07-06T14:40:53.340Z"
   }

Volvo returns "disconnected". Hopefully they will fix this soon.

@lancer73
Copy link
Author

lancer73 commented Jul 6, 2023

I tried communicating with them in the past, I wouldn’t advise that.

They won’t answer or they may answer and before you know you’re talking to one of their lawyers.

I had this actually happen to me, when I requested some information about their Canbus implementation. I got a useful answer, spied an error in the documentation, sent my findings and got a letter from their lawyer demanding I destroy all documentation I had.

Since we are using a reverse engineered authorisation code to keep it working, I’m afraid we might tip them off.

@Dielee
Copy link
Owner

Dielee commented Jul 6, 2023

Yep, maybe just wait... For me this worked until today, 6:45 am. This is really strange...

@Dielee
Copy link
Owner

Dielee commented Jul 6, 2023

Another idea.... Do you already installed 2.10 ? I installed mine today. With 2.9 my connection status worked.

@lancer73
Copy link
Author

lancer73 commented Jul 6, 2023

That could be it, it stopped working right after the upgrade.

Could be that an api change is coming when most cars have upgraded to 2.10.

@westlund
Copy link

westlund commented Jul 8, 2023

Since we are using a reverse engineered authorisation code to keep it working, I’m afraid we might tip them off.

What needs to be reverse engineered? The endpoints are published and it is possible to get your own API keys here.

@lancer73
Copy link
Author

lancer73 commented Jul 8, 2023

If you look in the code, there is also an authorisation key. Without it, your API key will only work for one hour.

Also, Volvo has a habit of cracking down on initiatives using the Volvo logo and brandname (they make you use something else).

@Dielee
Copy link
Owner

Dielee commented Jul 8, 2023

The authentication is undocumented and the same as the app uses.
Your link documents a oauth2 authentication, which requires a published app at Volvo....

@westlund
Copy link

westlund commented Jul 8, 2023

The Energy API docs says the endpoint is

https://api.volvocars.com/energy/v1/vehicles/{vin}/recharge-status/charging-connection-status

but the call I see in the debug log above is

https://api.volvocars.com/energy/v1/vehicles/{0}/recharge-status

Could that be it?

@Dielee
Copy link
Owner

Dielee commented Jul 8, 2023

No, this endpoint returns all of the energy API data. The recharge-status endpoint returns the same data. There is nothing we can do at this time...

@westlund
Copy link

westlund commented Jul 8, 2023

The authentication is undocumented and the same as the app uses.
Your link documents a oauth2 authentication, which requires a published app at Volvo....

Ok, I see that now, but is there anything that prevents registering an app, given that a Oauth2 flow is implemented? Except for the time we need to invest? :D

"The use of the Connected Vehicle API, Energy API, Location API and/or Extended Vehicle API is offered free of charge."

@westlund
Copy link

westlund commented Jul 8, 2023

No, this endpoint returns all of the energy API data. The recharge-status endpoint returns the same data. There is nothing we can do at this time...

Ok, thanks for doing all this for us HA+Volvo users!

@Dielee
Copy link
Owner

Dielee commented Jul 8, 2023

The authentication is undocumented and the same as the app uses.
Your link documents a oauth2 authentication, which requires a published app at Volvo....

Ok, I see that now, but is there anything that prevents registering an app, given that a Oauth2 flow is implemented? Except for the time we need to invest? :D

"The use of the Connected Vehicle API, Energy API, Location API and/or Extended Vehicle API is offered free of charge."

No, nothing special. But time :D
Aaaand the app approval from Volvo.. this seems to be a problem. But I will give it at a try.

@github-actions
Copy link

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@HWiese1980
Copy link

I cannot stop shaking my head about policies like that of Volvo (and other car manufacturers). They are so hidebound, so 20th century...

When a company responds to their customers making their products even more comfortable to use, by throwing their lawyers at them, something's terribly wrong in the heads of those who make such decisions, if you ask me. Terribly wrong. Especially in cases where the customers actually help improving the product. In my opinion their reaction is borderline paranoid. At the very least it is stupidity paired with cowardice and stubbornness.

It's so utterly ridiculous... it would be funny if it wasn't all so sad.

/my two cents

@amurray81
Copy link

Hi, I know this is closed but Volvo seem to have finally fixed thier app and it now shows scheduled charging in the app rather than just plugged in.
Can this be brought into the add-on now or scheduling added?

Screenshot_20231113_210803_Volvo Cars

Thanks

@Dielee
Copy link
Owner

Dielee commented Nov 14, 2023

Hi, I know this is closed but Volvo seem to have finally fixed thier app and it now shows scheduled charging in the app rather than just plugged in.
Can this be brought into the add-on now or scheduling added?

Screenshot_20231113_210803_Volvo Cars

Thanks

No, sorry. There is no endpoint for this. Maybe they will add this later. The app is using another API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants