home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.63k stars 30.4k forks source link

Renault device tracker is not updated #119095

Closed Jogiarea closed 4 months ago

Jogiarea commented 4 months ago

The problem

the devicetracer no longer updates the location; the location always remains absent and the map shows the position from about a week ago

Does anyone have the same problem?

Are there already solutions?

What version of Home Assistant Core has the issue?

2024.6.0

What was the last working version of Home Assistant Core?

2024.5.5

What type of installation are you running?

Home Assistant OS

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

home-assistant[bot] commented 4 months ago

Hey there @epenet, mind taking a look at this issue as it has been labeled with an integration (renault) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `renault` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign renault` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


renault documentation renault source (message by IssueLinks)

mihaitaiosub commented 4 months ago

Same problem to me.The location displayed in HA remains the same even if in reality the car is somewhere else. In the My Renault application it seems that the location is updated.

epenet commented 4 months ago

Please enable logging and provide logs. The public API from Renault has been very unstable these past few months, with Renault adding and removing features. Without proper logs showing the API calls and API results, then I cannot help you.

mihaitaiosub commented 4 months ago

Logger: homeassistant.components.renault.renault_vehicle Source: components/renault/renault_vehicle.py:134 integration: Renault (documentation, issues) First occurred: 10 June 2024 at 19:58:35 (2 occurrences) Last logged: 12:51:39

Ignoring endpoint VF1RJB00767105665 res_state as it is denied: This endpoint is denied: ('err.func.403', 'Access is denied for this resource')

epenet commented 4 months ago

Please enable logging and post the full log. Partial log entries about res_state issues are not relevant to this issue.

mihaitaiosub commented 4 months ago

I do not know how enable logging.Sorry,I'm not very good with computers.

epenet commented 4 months ago

image

It's on the integration page: 1 => enable logging 2 => reload integrationn and wait until reload is complete 3 => disable logging and download log file 4 => drag log file into github

mihaitaiosub commented 4 months ago

I followed the instructions, but when I try to post the file on github, I get the message that it is larger than 25 Mb. My file is 26 Mb.

epenet commented 4 months ago

The location retrieval seems to work fine - but indeed the lastUpdateTime is old (2024-05-28T12:26:57Z) Maybe the Renault app uses a new endpoint...

2024-06-11 13:35:21.443 DEBUG (MainThread) [renault_api.kamereon] Received Kamereon response 200 on GET to https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/xxxxxx/kamereon/kca/car-adapter/v1/cars/yyyyyy/location?country=RO: {"data":{"id":"yyyyyy","attributes":{"lastUpdateTime":"2024-05-28T12:26:57Z","gpsLatitude":44.310544166666666,"gpsLongitude":26.17861416666667}}}
2024-06-11 13:35:21.445 DEBUG (MainThread) [homeassistant.components.renault.renault_vehicle] Finished fetching yyyyyy location data in 0.354 seconds (success: True)

So the problem is not from Home Assistant - you can open an issue on https://github.com/hacf-fr/renault-api to see if someone there can discover the new endpoint.

Jogiarea commented 4 months ago

Unfortunately no improvement, it's probably really down to the Renault servers, I sometimes have entities that are there and sometimes not, it's a shame that it doesn't work better, the important thing is that the battery status is transmitted, that usually works quite well.

or is there something new

mihaitaiosub commented 4 months ago

For me, it would seem that the problem has been solved, after I spoke to the Renault customer and they restarted the services for my car.But there are still problems with other entities such as "fuel autonomy", which is not updated,and with "battery_available_energy","battery_temperature" which are unavailable.

Jogiarea commented 4 months ago

Hi thanks for the information, I wrote Renault an email straight away, unfortunately still no improvement for me.

I don't know what Renault always does, but I think that the (App /API) already has a lot of failures for the fact that there are extra costs for this service.

I'll wait and see what Renault answers/does and then report back.

Jogiarea commented 4 months ago

Hello,

I have received an answer from Renault. In my case the navigation package has expired, which includes the location transmission, very, very sad, they want 48-78 € / year for the navigation package, but I will not do that in my case because I do not need the navigation in the Twingo with a range of a good 100km for the money is too bad, is a bit disappointing that the location transmission is not included.

Contents of the "Pack Smart Navigation" package Contents:

I think it's a shame that Renault doesn't include the location in the Remote Control package, but that's just the way it is, and you have to accept it.

I have now requested the overview of what is included in which package and will share it here and then close it; I think one or the other may also need this information.

Jogiarea commented 4 months ago

Pack Smart Navigation:

Contents:

Pack EV Remote Control:

Contents: Current charge/km status Current range Tire pressure - if TPMS available Climate control Charging control Charging notification Charging history

Translated with DeepL.com (free version)

Jogiarea commented 4 months ago

Problem recognized and accepted, therefore closed. maybe the info helps others, greetings