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

Battery State Cayenne E-Hybrid #287

Open
jesperrahmqvist opened this issue Dec 28, 2024 · 8 comments
Open

Battery State Cayenne E-Hybrid #287

jesperrahmqvist opened this issue Dec 28, 2024 · 8 comments

Comments

@jesperrahmqvist
Copy link

Is it possible to get the Battery State of Charge on a Cayenne E-Hybrid. It used to exist in an older version of ha-porscheconnect.
Also if possible the electric range, not only the total or fuel range.

@fredriklj
Copy link
Collaborator

I could check if you give me the debug output, either from the ha integration or from the cli.

@fredriklj
Copy link
Collaborator

Any update on this, or should I close the issue?

@jesperrahmqvist
Copy link
Author

jesperrahmqvist commented Jan 13, 2025

Is this what you need?

@fredriklj
Copy link
Collaborator

In this log you seem to have hit the rate limit ('429 Too Many Requests'), so didn't get the information I needed. I think you may just have been unlucky, this happens once in while. Can you try again?

(I removed the file as it contains some surplus information on your system)

@jesperrahmqvist
Copy link
Author

Tried again, is this the info you need?
home-assistant_porscheconnect_2025-01-14T06-52-16.013Z.log

@fredriklj
Copy link
Collaborator

No, I need the debug output from the integration and the underlying library. That would output exactly what is received from the API endpoint. You might need to add something like this to your hass configuration to enable debug logging:

logger:
  default: info
  logs:
    custom_components.porscheconnect: debug
    pyporscheconnectapi: debug

@jesperrahmqvist
Copy link
Author

jesperrahmqvist commented Jan 15, 2025

Now perhaps, is is this what is needed?

@fredriklj
Copy link
Collaborator

fredriklj commented Jan 15, 2025

Yes, that's it! Excellent. The battery level is there, not sure why the sensors are not set up. Can you post a screen shot of the sensors and controls you do get for the Cayenne?

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

No branches or pull requests

2 participants