Skip to content

Releases: G-Two/homeassistant-subaru

v0.7.6

07 Apr 05:29
134fd87
Compare
Choose a tag to compare

Fixes

  • Fixes 404 error that began on Apr 6 2023 for all users
  • Bump to subarulink v0.7.6 which uses the "g2v27" API. All previous versions use an API that is no longer supported by Subaru.

v0.7.5

18 Feb 02:02
35d0ebe
Compare
Choose a tag to compare

Bug Fixes

  • Updates method to check for active subscription
    • Matches behavior of mobile app
    • Fixes #77 and #78

Miscellaneous

  • Bump to subarulink v0.7.5
    • Uses Subaru API "g2v25" (tracks official Android MySubaru v2.7.39 app, released 2023-01-20)

v0.7.4

21 Jan 18:04
33e3553
Compare
Choose a tag to compare

Bug Fixes

  • Fixes bug that occurs if vehicle does not have an API gen (#74)

v0.7.3

19 Jan 22:18
588eaf1
Compare
Choose a tag to compare

Bug Fixes

  • Fixes broken "EV time to fully charged" sensor

v0.7.2

09 Jan 04:59
301d138
Compare
Choose a tag to compare

New Features

  • Adds support for newer "g3" vehicles (not sure if this is 2022+ or 2023+)
  • Adds fuel remaining sensor for vehicles that report this data (most likely "g3" only)
  • Adds vehicle trouble binary sensor for MILs (MIL type and timestamp shown as extra attribute)
  • Adds recommended tire pressure as extra attribute to tire pressure sensors

Miscellaneous

  • Uses more reliable method to determine if a vehicle supports reporting window/sunroof status

Bug Fixes

v0.7.1

08 Dec 03:49
0b5258d
Compare
Choose a tag to compare

Bump to subarulink 0.7.1 to address a timestamp parsing failure that only occurs while an EV is charging.

Bug Fixes

v0.7.0

04 Dec 18:28
3132114
Compare
Choose a tag to compare

This update resolves the HTTP 404 error that users experienced beginning Dec 2 2022. Subaru discontinued the use of their "g2v21" API which broke all HA Subaru integration versions prior to 0.7.0, as well as the HA Core integration. This update uses the "g2v24" API which is the version used by the official MySubaru mobile app.

Breaking Changes

  • Two sensors are no longer supported by the Subaru API and have been removed from the integration
    • External Temp
    • 12V Battery Temp
  • "Locate" Button has been renamed to "Poll Vehicle"
    • Clarifies actual functionality provided - vehicle is polled and all information is updated (including location)
  • Deprecated Subaru specific services have been removed
    • Horn/Lights, Remote Start/Stop, Poll/Refresh (use HA native buttons/service instead)

New Features

  • Device diagnostics now includes a dump of the raw JSON response from the Subaru API to aid in troubleshooting as well as the discovery of new sensor data that might be available but is not yet used by the integration. Sensitive/identifying fields will be redacted, but be sure to verify before publicly pasting any information.

Example snippet that shows values from the `GET vehicleStatus.json` request:
      "vehicleStatus": {
        "success": true,
        "errorCode": null,
        "dataName": null,
        "data": {
          "vhsId": "**REDACTED**",
          "odometerValue": "**REDACTED**",
          "odometerValueKilometers": "**REDACTED**",
          "eventDate": 1657835975000,
          "eventDateStr": "2022-07-14T09:59+0000",
          "latitude": "**REDACTED**",
          "longitude": "**REDACTED**",
          "positionHeadingDegree": "170",
          "tirePressureFrontLeft": "2600",
          "tirePressureFrontRight": "2700",
          "tirePressureRearLeft": "2650",
          "tirePressureRearRight": "2650",
          "tirePressureFrontLeftPsi": "37.71",
          "tirePressureFrontRightPsi": "39.16",
          "tirePressureRearLeftPsi": "38.44",
          "tirePressureRearRightPsi": "38.44",
          "distanceToEmptyFuelMiles": 529.41,
          "distanceToEmptyFuelKilometers": 852,
          "avgFuelConsumptionMpg": 52.3,
          "avgFuelConsumptionLitersPer100Kilometers": 4.5,
          "evStateOfChargePercent": 14,
          "evDistanceToEmptyMiles": 529.41,
          "evDistanceToEmptyKilometers": 852,
          "evDistanceToEmptyByStateMiles": null,
          "evDistanceToEmptyByStateKilometers": null,
          "vehicleStateType": "IGNITION_OFF",
          "windowFrontLeftStatus": "VENTED",
          "windowFrontRightStatus": "VENTED",
          "windowRearLeftStatus": "UNKNOWN",
          "windowRearRightStatus": "UNKNOWN",
          "windowSunroofStatus": "UNKNOWN",
          "tyreStatusFrontLeft": "UNKNOWN",
          "tyreStatusFrontRight": "UNKNOWN",
          "tyreStatusRearLeft": "UNKNOWN",
          "tyreStatusRearRight": "UNKNOWN",
          "remainingFuelPercent": null,
          "distanceToEmptyFuelMiles10s": 530,
          "distanceToEmptyFuelKilometers10s": 850
        }
      },

Users that find that their vehicle provides additional information (such as remainingFuelPercent) that isn't being used by this integration can submit an issue with the valid ranges/states of the value. 2023 models seem like they have more advanced telematics features, so owners of those vehicles may find more data is available. This new detailed diagnostics output should help with their discovery.

Miscellaneous

  • Uses Subaru (undocumented) API g2v24 (aligns with latest mobile app 2.7.30, released on Nov 5 2022)

Bug Fixes

v0.6.5

30 Oct 03:36
f72c1a8
Compare
Choose a tag to compare

New Features

  • Add support for diagnostics
  • Add position timestamp extra attribute to device tracker

Changes

  • Incorporate PR code review quality changes from HA Core
  • Migrate unique_ids to <VIN>_<API_CALL_OR_JSON_KEY>
  • Refactor code and add type hints to prep for future HA Core PRs

Bug Fixes

  • Remove deprecated unit conversions - Fixes #56

v0.6.4

10 Oct 20:51
24f443b
Compare
Choose a tag to compare

Changes

  • Bump to subarulink 0.6.1
  • No new features

Bug Fixes

  • Fixes unhandled exception that occurred when vehicleStatus.json fields contained None

v0.6.3

01 Oct 22:27
32e8c81
Compare
Choose a tag to compare

Breaking Changes

  • Default persistent notification option is now set to Disable. Previous default option was Failure. Users may need to update the integration configuration to set the desired option.

New Features

  • Add new option to disable all persistent notifications for remote commands. Errors will still be logged #53
  • Add new option to poll EVs every 30 minutes during charging to obtain latest charge status and completion time estimate #50