msp1974 / homeassistant-jlrincontrol

An integration for JLR InControl to Home Assistant
MIT License
65 stars 11 forks source link

Location tracker not updated, but all_info sensor has the correct information #140

Open sbeuchat opened 6 months ago

sbeuchat commented 6 months ago

The problem

The Location on the vehicle tracker didn't update, still showing home, but if you check all_info sensor, Coordonate are correctly updated.

All_info 08:37 - Home Location "calculatedPosition":null,"position":{"longitude":7.457595,"latitude":46.25203694444444,"timestamp":"2024-03-23T08:37:09+0000","speed":0,

All_info : 11:06 - Other location "calculatedPosition":null,"position":{"longitude":7.748960277777778,"latitude":46.306559444444446,"timestamp":"2024-03-23T11:06:06+0000","speed":0,

All_info : 12:34 - Another Location "calculatedPosition":null,"position":{"longitude":7.457721666666667,"latitude":46.252429722222224,"timestamp":"2024-03-23T12:34:15+0000","speed":0,"heading":155,"positionQuality":null}},"device_class":"timestamp","icon":"mdi:cloud","friendly_name":"Defender All Info"}

image

Tracker has last update in less than 5 minutes, but still remain in home (except if I reload integration). Refreshing health data doens't change.

How can I help you solving that ?

BR

Steve

What version of JLR Home Assistant Integration has the issue?

3.0.0beta7

What was the last working version of JLR Home Assistant Integration?

No response

Vehicle type and model

LandRover Defender

Diagnostics information

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

ismarslomic commented 6 months ago

Thanks for reporting this bug @sbeuchat! I see the same issue on my car, with v3.0.0beta7. Can't promise you when we will have time to fix it, but I assume it will take couple of weeks.

sbeuchat commented 6 months ago

No emergencies, in the meantime, I force an automation to refresh the entity every two minutes, it's working fine :

alias: Defender - reload description: "" trigger:

Thanks for support.

Steve

BNWEIN commented 5 months ago

Just to add i am also experiencing this same issue

BNWEIN commented 5 months ago

No emergencies, in the meantime, I force an automation to refresh the entity every two minutes, it's working fine :

alias: Defender - reload description: "" trigger:

  • platform: time_pattern minutes: /2 condition: [] action:
  • service: homeassistant.reload_config_entry data: {} target: device_id: 17c413965b5e253bc5b01654b73e6392 mode: single

Thanks for support.

Steve

Which entity are you reloading every 2 minutes here?

ptruman commented 5 months ago

I'm getting similar.

The "device_tracker.my_car_device_tracker" is reporting "old" co-ordinates, but sensor.my_car_all_info is reporting the correct/actual position. Shouldn't they update together? or...?

huganega commented 5 months ago

I have the same problem