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

Number of phases in sensor.charger_power is 2 #887

Open
traveler6666 opened this issue Mar 10, 2024 · 9 comments
Open

Number of phases in sensor.charger_power is 2 #887

traveler6666 opened this issue Mar 10, 2024 · 9 comments
Labels
question Further information is requested

Comments

@traveler6666
Copy link

Version of the custom_component

Configuration

Add your logs here.

Describe the bug

A clear and concise description of what the bug is.

Debug log


Add your logs here.

@traveler6666
Copy link
Author

I use the attribute charger_phases of sensor.charger_power te recalculate the power in W. But with the last update the number of phases is now 2 which is not correct. The app shows 3 in my example case.

@skipishere
Copy link
Collaborator

You haven't given much information on the issue, without that it is impossible for us to try and debug or fix. Please add as much details as possible to assist.

@skipishere skipishere added the question Further information is requested label Mar 10, 2024
@traveler6666
Copy link
Author

This is what the sensor writes when I load with 3 phases:
2024-03-10 14_29_13-Clipboard

@traveler6666
Copy link
Author

Charger_pahses: 2 is wrong. it should be 3 as before.

@skipishere
Copy link
Collaborator

Ok you say "it's wrong" but what are the logs reporting? The extension can only work with the information the API call gets back, if the API value says 2 then unless it's always off by one for all phases there really isn't anything that can be done.

I only have a 3 pin charger at home, so I can't even try and replicate your issue

@traveler6666
Copy link
Author

Where do I find the logs? In HA there is no log entry relating tho this problem. Now, I changed to one pase charging and the attribute is 1, which is correct.
To my knowlede Tesla, as most cars can only loead with one or three pases but not with two.
Here is the new screenshot with one phase charging:
2024-03-10 15_03_03-Clipboard

@skipishere
Copy link
Collaborator

skipishere commented Mar 10, 2024

To enable debug logs in Home Assistant & click Enable debug logging
(If you click edit on your original issue post you can see some instructions there as well including what version of the extension you are using)

@traveler6666
Copy link
Author

Hi, I wanted to send you the log now, but if I look into the log, I mainly see only my yaml code and some statements from other APIs but not from the Tesla API. How do I get the log from the Tesla API only?

As I also use the actual charge power with the phases and amps, I need current data and set therefore the polling interval to 10 seconds:

  • service: switch.turn_on
    metadata: {}
    data: {}
    target:
    entity_id: switch.polling
  • service: tesla_custom.polling_interval
    data:
    scan_interval: 10
    response_variable: input_number.tesla_polling_frequenz

However, the date is very ofte outdated and I get the correct current data only when I press "forca data update". What can I do to get current data every 10 seconds?

@purcell-lab
Copy link
Contributor

Charger_phase 1 means single phase
Charger_phases 2 means multi phase, which includes 3 phase. It has always reported like this.

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

No branches or pull requests

3 participants