lephisto / tesla-apiscraper

API Scraper for pulling Vehicle Statistics from the Tesla Owner API into an InfluxDB + Grafana Dashboards
GNU Lesser General Public License v3.0
364 stars 102 forks source link

Add support for new window status. #87

Open ForceConstant opened 4 years ago

ForceConstant commented 4 years ago

See https://www.reddit.com/r/teslamotors/comments/dbg8wt/new_api_data_for_v10/

The new window states appear to be 0 if closed, 1 if vented, and 2 if partially or fully opened. Annoyingly, the naming convention of the windows (fd, fp, rd, rp) is inconsistent with the door/trunk states (df, dr, pf, pr, ft, rt).