natekspencer / hacs-vivint

Home Assistant integration for a Vivint home security system.
MIT License
66 stars 5 forks source link

Enhancement: Car Guard sensors #31

Open apercrcl01 opened 2 years ago

apercrcl01 commented 2 years ago

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.

natekspencer commented 2 years ago

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.

apercrcl01 commented 2 years ago

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?

natekspencer commented 2 years ago

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

apercrcl01 commented 2 years ago

What type of authorization does it use?

apercrcl01 commented 2 years ago

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

natekspencer commented 2 years ago

What type of authorization does it use?

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

natekspencer commented 2 years ago

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

natekspencer commented 2 years ago

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