I was getting familiar with the Tesla API even before my car was delivered. I just finished my first project: TeslaPi. The project can be downloaded here on GitHub. Here is a video demo. It is a very basic security alarm integration that uses an outdoor motion sensor and RaspBerry Pi to trigger the headlights and horn on my Model 3. The monitoring time is configurable and there are alarm escalation levels that are also configurable. The code is written in Python. It is more a proof of concept at this point, so I do not recommend it for any production security systems. It certainly can be tested and improved further to be production ready though. It is also easy to customize and add additional alarm actions. I think that it will work with all Tesla Models being that they use the same API.