hacs-vivint icon indicating copy to clipboard operation
hacs-vivint copied to clipboard

Enhancement: Car Guard sensors

Open apercrcl01 opened this issue 3 years ago • 8 comments

Would including car guard sensors in this integration be possible? I would be happy to assist in any way that I can. I just picked up 3 of them and would love to have the data in Home Assistant.

apercrcl01 avatar Dec 13 '21 19:12 apercrcl01

Without owning one myself, it would be hard to try to figure out the APIs, how to interpret the data and what can be controlled or just viewed. Ideally, someone that does have access, such as yourself, would be able to update the vivintpy library with the relevant data points and controls.

natekspencer avatar Dec 13 '21 20:12 natekspencer

I can give it a shot, but I am a little new to developing. Would you be willing to give me a couple of tips for authenticating and making an api call with Postman. I'm not sure how to get device information for the car guards?

apercrcl01 avatar Dec 13 '21 20:12 apercrcl01

I can give it a shot, but I am a little new to developing. Would you be willing to give me a couple of tips for authenticating and making an api call with Postman. I'm not sure how to get device information for the car guards?

https://app.getpostman.com/join-team?invite_code=1921dcf8ee1910858684fd28d980e4de&ws=3306cf6b-335d-41e1-b36b-4a00960df53e

natekspencer avatar Dec 16 '21 02:12 natekspencer

What type of authorization does it use?

apercrcl01 avatar Dec 17 '21 13:12 apercrcl01

And thank you very much for the invite! That is very helpful!

apercrcl01 avatar Dec 17 '21 13:12 apercrcl01

What type of authorization does it use?

Once you login, it uses a session cookie that is passed on every subsequent call.

natekspencer avatar Dec 17 '21 16:12 natekspencer

You can add me on discord if it would be easier to ask questions that way: natekspencer#6745

natekspencer avatar Dec 17 '21 16:12 natekspencer

Also, make sure you put your sensitive information in "CURRENT VALUE" so it isn't synced and saved to the collection

natekspencer avatar Dec 17 '21 16:12 natekspencer