GithubHelp home page GithubHelp logo

Comments (7)

G-Two avatar G-Two commented on August 15, 2024 1

I think I see the problem. I made the assumption that power sunroof (PANPM-DG2G) vehicles would also have the power windows feature (PWAAADWWAP). If the vehicle doesn't report having PWAAADWWAP, then windows and sunroom status (incorrectly) don't get added. I'll put out a test release soon that should fix it.

from homeassistant-subaru.

G-Two avatar G-Two commented on August 15, 2024 1

Your car should support it as it seems (according to your diagnostics output) PANPM-DG2G also has all the features of PWAAADWWAP. I just need to update subaurlink to parse all the data expected from PWAAADWWAP for all PANPM-DG2G vehicles.

from homeassistant-subaru.

G-Two avatar G-Two commented on August 15, 2024 1

Try the latest release 0.7.10 and let me know if your windows and sunroof entities show up properly.

from homeassistant-subaru.

dshokouhi avatar dshokouhi commented on August 15, 2024 1

yup windows and sunroof entities are showing up now, thank you!!!

from homeassistant-subaru.

dshokouhi avatar dshokouhi commented on August 15, 2024

so if my car doesnt report the power windows key it doesnt support it? I guess the API just returns bad data in that case? Personally havent tested the response to see if its correct, saw the data and assumed it would work 😅

from homeassistant-subaru.

gavinhogan avatar gavinhogan commented on August 15, 2024

Oh wow.... I did not know this was even possible with the Ascent until I saw this in the release notes this morning.

Sadly, I think it is not working in my specific case - Ascent 2019. I just tested with my car and while the values do not show up in the HA integration... I do see the correct values for windows being open in the diagnostic. The sunroof does not seem to report any value (it is currently open but the diagnostic shows it as UNKNOWN).

Features

"vehicle_features": [ "ABS_MIL", "ACCS", "AHBL_MIL", "ATF_MIL", "AWD_MIL", "BSD", "BSDRCT_MIL", "CEL_MIL", "EBD_MIL", "EOL_MIL", "EPAS_MIL", "EPB_MIL", "ESS_MIL", "EYESIGHT", "NAV_TOMTOM", "OPL_MIL", "RAB_MIL", "RCC", "REARBRK", "RES", "RESCC", "RHSF", "RHVAC", "RPOIA", "SRS_MIL", "TEL_MIL", "TIF_33", "TIR_33", "TPMS_MIL", "VDC_MIL", "WASH_MIL", "g2" ],

rawData.condition

"windowFrontLeftStatus": "OPEN", "windowFrontRightStatus": "OPEN", "windowRearLeftStatus": "CLOSE", "windowRearRightStatus": "CLOSE", "windowSunroofStatus": "UNKNOWN",

rawData.vehicleStatus

` "windowFrontLeftStatus": "VENTED",
      "windowFrontRightStatus": "VENTED",
      "windowRearLeftStatus": "CLOSE",
      "windowRearRightStatus": "CLOSE",
      "windowSunroofStatus": "UNKNOWN",`

subaru-eebf19302bc5d0c9c01ebdb8fedb7f51-4S4WMAPD5K3476397-28ee56cb4710854d89e6b0d878f4d53c.json(1).txt

from homeassistant-subaru.

G-Two avatar G-Two commented on August 15, 2024

g2 vehicles seem to be inconsistent as to which models properly report window status. My 2019 Crosstrek always reports front windows as "VENTED", regardless of their actual state (rear and sunroof are always "UNKNOWN"). If your 2019 Ascent is reliably reporting front and rear window state in rawData.condition, then we should be able to report it to home assistant. I just need a way to reliably know that the data is valid.

Does the MySubaru app report your window status correctly? If so, I can look through the app and figure out how it is determining the feature exists and do the same within subarulink.

from homeassistant-subaru.

Related Issues (20)

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.