{ "info": { "author": "Zobair Shahadat", "author_email": "cheezyspam21@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent" ], "description": "# Install\nYou can install latest stable version from PyPI:\n\n```pip3 install myTesla```\n\n# Usage:\n\n```python\nimport myTesla\n\nmy_model_s = myTesla.connect('test@example.com', 'MySecurePassword')\ncharge_state = my_model_s.charge_state()\ndoor_lock = my_model_s.door_lock()\nmy_model_s.honk_horn()\nprint(charge_state)\nprint(door_lock)\n```\n\n# Documentation: \nThis program was build using API documentation listed on https://tesla-api.timdorr.com/. The functions closely follow the API documentation. Please see this page for detailed information of the function parameters.\n\n## Function Descriptions\n* `myTesla.connect.get_access_token`: Returns access token information that could be used to authenticate instead of email/password.\n* `myTesla.connect.select_vehicle`: Switches car based on index/vin/or vehicle_id if you have multiple vehicle on your account.\n* `myTesla.connect.vehicles`: Retrieve a list of your owned vehicles\n* `myTesla.connect.mobile_enabled`: Determines if mobile access to the vehicle is enabled.\n* `myTesla.connect.charge_state`: Returns the state of charge in the battery.\n* `myTesla.connect.climate_state`: Returns the current temperature and climate control state.\n* `myTesla.connect.drive_state`: Returns the driving and position state of the vehicle.\n* `myTesla.connect.gui_settings`: Returns various information about the GUI settings of the car, such as unit format and range display.\n* `myTesla.connect.vehicle_state`: Returns the vehicle's physical state, such as which doors are open.\n* `myTesla.connect.wake_up`: Wakes up the car from the sleep state. Necessary to get some data from the car.\n* `myTesla.connect.set_valet_mode`: Sets valet mode on or off with a PIN to disable it from within the car.\n* `myTesla.connect.reset_valet_pin`: Resets the PIN set for valet mode, if set.\n* `myTesla.connect.charge_port_door_open`: Opens the charge port.\n* `myTesla.connect.charge_standard`: Set the charge mode to standard\n* `myTesla.connect.charge_max_range`: Set the charge mode to max range\n* `myTesla.connect.set_charge_limit`:Set the charge limit to a custom percentage.\n* `myTesla.connect.charge_start`: Start charging. Must be plugged in, have power available, and not have reached your charge limit.\n* `myTesla.connect.charge_stop`: Stop charging. Must already be charging.\n* `myTesla.connect.honk_horn`: Honk horn\n* `myTesla.connect.door_unlock`: Unlock the car's doors.\n* `myTesla.connect.door_lock`: Lock the car doors.\n* `myTesla.connect.set_temps`: Set the temperature target for the HVAC system.\n* `myTesla.connect.auto_conditioning_start`: Start the climate control system. Will cool or heat automatically, depending on set temperature.\n* `myTesla.connect.auto_conditioning_stop`: Stop the climate control system.\n* `myTesla.connect.sun_roof_control`: Controls the car's panoramic roof, if installed.\n* `myTesla.connect.remote_start_drive`: Start the car for keyless driving. Must start driving within 2 minutes of issuing this request.\n* `myTesla.connect.trunk_open`: Open the trunk or frunk. Call the endpoint again to close (this only works on rear powered trunks)\n\n\n\n\n\n# Legal Agreement/ Disclaimer\nThis program is provided as is. This program is not supported or endorsed by Tesla Motors. By using this software, you agree to not hold me (Zobair Shahadat ) liable for anything.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zmsp/python-my-tesla", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "myTesla", "package_url": "https://pypi.org/project/myTesla/", "platform": "", "project_url": "https://pypi.org/project/myTesla/", "project_urls": { "Homepage": "https://github.com/zmsp/python-my-tesla" }, "release_url": "https://pypi.org/project/myTesla/1.1/", "requires_dist": null, "requires_python": "", "summary": "Python client to interact with your tesla.", "version": "1.1" }, "last_serial": 5816550, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "d2822ded747c3689beef95c4e0faaa3a", "sha256": "da7ffee39730f1122992cc16ab25b34bbf176585a3f47eec3d9dded9048e76f0" }, "downloads": -1, "filename": "myTesla-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d2822ded747c3689beef95c4e0faaa3a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6533, "upload_time": "2019-07-16T20:19:07", "url": "https://files.pythonhosted.org/packages/25/02/f251bbe2ec4f7608766f791003bc1e0f3db22206c125d66331ed68a3ab6c/myTesla-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c745a74eaa6bd36222e0da83b3cbb3c", "sha256": "88ab712145701d022d3b3051df71bfd7d44af6d4d5da01492f4e6d563d7a0414" }, "downloads": -1, "filename": "myTesla-1.0.tar.gz", "has_sig": false, "md5_digest": "9c745a74eaa6bd36222e0da83b3cbb3c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4827, "upload_time": "2019-07-16T20:19:09", "url": "https://files.pythonhosted.org/packages/b4/42/2d35e230b695a55d555fc949fb37de3c76e334592a7517741ab7e76e458b/myTesla-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "75b29827fbfb11aee4dde5030859bf31", "sha256": "8a0bd24b29eddb7d167dc24170fb4b6fe2b23a68b046183418949b37a931299e" }, "downloads": -1, "filename": "myTesla-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "75b29827fbfb11aee4dde5030859bf31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15448, "upload_time": "2019-09-11T19:38:40", "url": "https://files.pythonhosted.org/packages/ad/6b/9509134eb2d69bc21b2b389fbe116e81842809ebb644316d11a60c030c9b/myTesla-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c7cf6e2b4fdddc51a17ea29ad6588e4", "sha256": "4ac1d98314515358c6bfa2724f2fdafb1812096419ab1a18dcfd3f2bff1396fb" }, "downloads": -1, "filename": "myTesla-1.1.tar.gz", "has_sig": false, "md5_digest": "1c7cf6e2b4fdddc51a17ea29ad6588e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4677, "upload_time": "2019-09-11T19:38:42", "url": "https://files.pythonhosted.org/packages/06/ee/940a289edc1a9d34f8fd6c07d0e4c87145625eb6d20379fa3983eb239997/myTesla-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "75b29827fbfb11aee4dde5030859bf31", "sha256": "8a0bd24b29eddb7d167dc24170fb4b6fe2b23a68b046183418949b37a931299e" }, "downloads": -1, "filename": "myTesla-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "75b29827fbfb11aee4dde5030859bf31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15448, "upload_time": "2019-09-11T19:38:40", "url": "https://files.pythonhosted.org/packages/ad/6b/9509134eb2d69bc21b2b389fbe116e81842809ebb644316d11a60c030c9b/myTesla-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c7cf6e2b4fdddc51a17ea29ad6588e4", "sha256": "4ac1d98314515358c6bfa2724f2fdafb1812096419ab1a18dcfd3f2bff1396fb" }, "downloads": -1, "filename": "myTesla-1.1.tar.gz", "has_sig": false, "md5_digest": "1c7cf6e2b4fdddc51a17ea29ad6588e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4677, "upload_time": "2019-09-11T19:38:42", "url": "https://files.pythonhosted.org/packages/06/ee/940a289edc1a9d34f8fd6c07d0e4c87145625eb6d20379fa3983eb239997/myTesla-1.1.tar.gz" } ] }