msp1974 / homeassistant-jlrincontrol

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

Guardian mode support #110

Open Burberycupid opened 6 months ago

Burberycupid commented 6 months ago

Hi,

Is the abililty to support 'Guardian mode' on the roadmap at all? It would be great to be able to utilise the feature in a HA automation to automate when to track window/door events.

ismarslomic commented 6 months ago

Never heard about this feature. Can you please explain? I can't see anything like it in the official Jaguar mobile app neither.

Burberycupid commented 6 months ago

Never heard about this feature. Can you please explain? I can't see anything like it in the official Jaguar mobile app neither.

Sure thing! It’s a security feature that can be activated in the JLR remote app. When activated, it will alert you to any interaction with your vehicle such as doors opening etc. realistically, you’d want to enable it when your away from your vehicle or your going to asleep so your alerted immediately if someone is trying to gain access to your vehicle.

it’s mentioned here - https://www.landrover.co.uk/ownership/incontrol/touch/set-up-and-user-guides/using-your-emergency-and-security-features.html

I’ve also attached a photo of where it appears in the app.

IMG_3346

ismarslomic commented 6 months ago

Interesting, it does not appear in my app. Might be specific to car model or country?

image

It seems that the jlrpy supports the guardian mode, so it might be that we could include it in our integration as well.

Any thoughts, @msp1974?

ismarslomic commented 6 months ago

Documentation of the feature here: https://documenter.getpostman.com/view/6250319/RznBMzqo#c18c47d3-606d-4e0c-97d0-75c5cb53ea46

msp1974 commented 5 months ago

Guardian mode support is in v3.0.0beta1 with both an on/off switch to set it for 24hrs (default but can be changed in config options) or via service call passing date/time to set it to.

Burberycupid commented 5 months ago

Hey @msp1974

That’s cool. is the beta available now or something that’s coming shortly?

msp1974 commented 5 months ago

Available now. You will need to enable beta versions in HACs to see it.

Burberycupid commented 5 months ago

Thanks @msp1974 I’ve got that installed now and can see Guardian mode, much appreciated.

However I’ve noticed when I go to toggle the switch to on I get the bellow error message. IMG_3461

msp1974 commented 5 months ago

Can you tell me if it works using the service call via dev tools? Thx

Burberycupid commented 5 months ago

Hi Mark,

yes, that works. It’s just when you toggle Guardian Mode under Entities.

msp1974 commented 5 months ago

Ok, will get that sorted.