-
Notifications
You must be signed in to change notification settings - Fork 12
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
Lock / Unlock does not work anymore #102
Comments
Same here. Nothing seems to have been working for a few days now. |
Have you upgraded to HA 2023.12? This broke another integration I write? Will have a look over weekend to see if mine has also stopped working. I have upgraded to 2023.12. |
Hi , Yes i am running 2023.12.0 |
I'm still on 2023.11.3 |
I'm on HA 2023.12 and have also lost lock/unlock for some reason. It was working OK up until a week or so ago, I'm afraid I can't say for sure when it stopped working as I only noticed the integration was showing my doors as being unlocked a few days ago, then discovered that lock/unlock wasn't working via HA (but is fine with the InControl app). |
Glad its not just me, Hopefully will get sorted. |
looks like they changed the commands for lock and unlock. the python api this is based on is broken as well. |
Ok, had some time to look at this today and will issue a PR to @ardevd to fix the api. Once he has been able to release this, I will issue an update which will resolve. |
Thank you very much for the contribution! Will merge and update asap! |
Thank you so much guys for taking care of this issue. |
v2.2.4 released which fixes the issue. Thanks @ardevd for the quick merge of PR and new release. |
Thank you. All working again now. |
Same here. All is working as expected after update. Thanks for the quick response! |
Thanks for the update. Just being curious, do you know what changed? Would it affect pre-conditioning and/or charging? |
It was the content type header in the request was set at v2 and needed to be v3. It is possible that the same applies to other requests. You will see an error in the logs however if this is the case. What issue are you having? |
Thanks for the quick reply, had missed it... |
Many thanks for sorting this, much appreciated. I can confirm that preconditioning was also broken, as well as door locking, but is now working fine. |
Closing this issue as it has been resolved! Thanks for reporting the bug and helping out on testing! |
Hi.
My Lock / Unlock does not seem to work using the intergration but is fine using the JLR Remote app
I have everything set from what i can see. Any suggestions?
homeassistant.exceptions.InvalidStateError: Invalid state with length 285. State max length is 255 characters.
2023-12-08 15:14:39.081 ERROR (MainThread) [custom_components.jlrincontrol.services] Error calling service unlock on vehicle McFarlane Disco Sport. Error is
2023-12-08 15:15:03.410 ERROR (MainThread) [custom_components.jlrincontrol.services] Error calling service unlock on vehicle McFarlane Disco Sport. Error is
2023-12-08 15:15:41.179 DEBUG (MainThread) [custom_components.jlrincontrol.lock] Unlocking vehicle
2023-12-08 15:15:42.246 ERROR (MainThread) [custom_components.jlrincontrol.services] Error calling service unlock on vehicle McFarlane Disco Sport. Error is
2023-12-08 15:15:42.776 DEBUG (MainThread) [custom_components.jlrincontrol] Received status data update for McFarlane Disco Sport
2023-12-08 15:15:43.141 DEBUG (MainThread) [custom_components.jlrincontrol] Received position data update for McFarlane Disco Sport
2023-12-08 15:15:43.142 DEBUG (MainThread) [custom_components.jlrincontrol] Privacy mode is enabled. Trip data will not be loaded for McFarlane Disco Sport
2023-12-08 15:15:43.142 INFO (MainThread) [custom_components.jlrincontrol] JLR InControl update received for McFarlane Disco Sport
2023-12-08 15:15:43.142 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Info
2023-12-08 15:15:43.143 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Windows
2023-12-08 15:15:43.143 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Alarm
2023-12-08 15:15:43.143 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Tyres
2023-12-08 15:15:43.144 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Service Info
2023-12-08 15:15:43.144 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Range
2023-12-08 15:15:43.144 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Status
2023-12-08 15:15:43.144 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport All Info
2023-12-08 15:15:43.146 DEBUG (MainThread) [custom_components.jlrincontrol.entity] Updating McFarlane Disco Sport Doors
2023-12-08 15:15:43.146 DEBUG (MainThread) [custom_components.jlrincontrol.device_tracker] Updating McFarlane Disco Sport Device Tracker
The text was updated successfully, but these errors were encountered: