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
Missing fuel sensor in Renault #69682
Comments
renault documentation |
Hey there @epenet, mind taking a look at this issue as it has been labeled with an integration ( |
What is the problem? And please enable debug and provide logs logger:
default: info
logs:
homeassistant.components.renault: debug
renault_api: debug |
Is it possible to insert the remaining fuel between the sensors? |
The remaining fuel is already available: core/homeassistant/components/renault/sensor.py Lines 287 to 299 in b325c11
If you do not enable logging, and you do not provide logs, we cannot help you. |
There isn't fuel sensor |
If you do not enable logging, and you do not provide logs, we cannot help you. |
|
in the log appear fuel but not in UI |
The data is available. {
"data":{
"type":"Car",
"id":"VF1xxx",
"attributes": {
"fuelAutonomy":62.0,
"fuelQuantity":3.0,
"totalMileage":39624.03
}
}
} I have to check more why the sensor is not created.... |
ok thank you |
I have created a PR in the renault-api library: hacf-fr/renault-api#589 But it seems that we are missing some lines in your log file. Did you filter it manually? I need ALL responses from In particular I need the response code for |
2022-04-12 00:26:24 DEBUG (MainThread) [renault_api.kamereon] Received Kamereon response 502 on GET to https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/a8759926-0890-4f39-a9de-68bf96956800/kamereon/kca/car-adapter/v1/cars/VF1RJA00766726890/hvac-status?country=IT: {"type":"TECHNICAL","messages":[{"code":"err.tech.502","message":"{"errors":[{"status":"502","code":"gateway.processing","title":"VNEXT","detail":"Error occurred when requesting VNEXT vehicleData API for vehicle Vehicle(vehicleUuid=40e14471-8780-4187-9f6f-088be443d5c4, brand=RENAULT, isCrossBadge=null, gateway=AVN, canGeneration=Optional[C1A], usageCountry=Optional.empty, energy=HYBRID_ELECTRIC, familyCode=XJA, manufacturingDate=null) and userId 511181: vnext error http_code=403"}]}"}],"errors":[{"errorCode":"err.tech.502","errorMessage":"{"errors":[{"status":"502","code":"gateway.processing","title":"VNEXT","detail":"Error occurred when requesting VNEXT vehicleData API for vehicle Vehicle(vehicleUuid=40e14471-8780-4187-9f6f-088be443d5c4, brand=RENAULT, isCrossBadge=null, gateway=AVN, canGeneration=Optional[C1A], usageCountry=Optional.empty, energy=HYBRID_ELECTRIC, familyCode=XJA, manufacturingDate=null) and userId 511181: vnext error http_code=403"}]}"}],"error_reference":"TECHNICAL"} |
Fix is merged in the parent library, and PR created: #69900. If it is approved here, it should be available in the patch release. |
The problem
Please insert the value of fuel.
What version of Home Assistant Core has the issue?
2022.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
Renault
Link to integration documentation on our website
https://www.home-assistant.io/integrations/renault
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: