The TeslaFi adapter enables effortless integration of vehicle data from your TeslaFi account into the ioBroker system. Leverage this data to enhance your Tesla experience and optimize home automation workflows.
The main purpose of this adapter is to integrate Tesla data into ioBroker without directly querying the vehicle's systems. By utilizing TeslaFi’s existing data polling, the adapter avoids additional requests to the vehicle, preserving battery life and ensuring efficient data access.
The adapter connects to the TeslaFi API to retrieve comprehensive details about your Tesla vehicle and makes this data accessible within ioBroker. All Tesla models supported by TeslaFi are fully compatible. Currently, the following data categories are available:
- Thermal State: Insights into the thermal management system and temperatures.
- Battery State: Information on battery status, charge level, and range.
- Vehicle State: General vehicle status, including position and overall condition.
- Vehicle Data: Vehicle-specific details such as name, and VIN.
- Automation: Trigger smart home actions based on the real-time status of your Tesla. For instance, automatically adjust home climate control when the vehicle arrives.
- Energy Management: Optimize energy consumption by scheduling vehicle charging times and monitoring battery status directly from ioBroker.
- Notifications and Reporting: Set up alerts for specific vehicle conditions, such as low battery level, completed charging sessions or available updates.
Configuring the adapter is straightforward:
- Enter your TeslaFi API key in the adapter's configuration screen.
- Set the desired polling interval to customize how frequently data is updated.
The adapter is compatible with all Tesla models supported by TeslaFi. A valid TeslaFi account with API access is required.
The TeslaFi adapter is actively maintained, and additional features or data categories can be added based on user requests. Feel free to submit your ideas and help improve the adapter for the entire community!
This adapter employs Sentry libraries to automatically report exceptions and code errors to the developers. For more details and information on how to disable error reporting, please consult the Sentry-Plugin Documentation! Sentry reporting is initiated starting with js-controller 3.0.
If you enjoyed this project — or just feeling generous, consider buying me a beer. Cheers! 🍻
- (hombach) set version to 1.0 for stable release
- (hombach) add newVersionStatus (#80)
- (hombach) add configurable poll timeout
- (hombach) fix chai-as-promised
- (hombach) enrich documentation
- (hombach) change some state roles
- (hombach) add roles to projectUtils
- (hombach) use of ioBroker.setInterval
- (hombach) intruduce i18n for translations (#41)
- (hombach) intruduce 'iobroker/eslint-config' (#67)
- (hombach) add axios timeout
- (hombach) optimized code stability
- (hombach) fix typo
- (hombach) remove message handler
- (hombach) implement managed charging time (#29)
- (hombach) implement battery range
- (hombach) fixed errors in 'time to finish charge'
- (hombach) changed min update interval to 10 sec
- (hombach) fixed typos
- (hombach) implement string for time to finish charge (#42)
- (hombach) reorganize data in folders (#43)
- (hombach) show 3rd row seat heater only if 3rd row is available (#40)
- (hombach) implement 'charging_state' (#37)
- (hombach) change 'time_to_full_charge' type to number (#38)
- (hombach) total rework of vehicle data parser
- (hombach) set speed to 0 if null in API data (#39)
- (hombach) implement raw data state (#26)
- (hombach) implement charger_phases (#28)
- (hombach) implement driver_temp_setting (#31)
- (hombach) implement seat and steeringwheel heater states (#30)
- (hombach) harmonize project tools
- (hombach) removed doubled texts in state names
- (hombach) fix conversion error
- (hombach) fix typo in error text
- (hombach) optimize responsive design
- (hombach) bump dependencies
- (hombach) introduce to ioBroker latest repo
- (hombach) bump dependencies
- (hombach) fix npm error
- (hombach) first working version
- (hombach) initial release
MIT License
Copyright (c) 2024 C.Hombach TeslaFi@homba.ch
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.