* Add ability to enable and disable cars
* Add default value for enabled in car_settings.
* Fix unit tests.
* Fix formatting.
* Update text to be more descriptive
* Update lables.
While the time picker doesn't work quite correctly with internal
dashboards (i.e., not meant to be called independently, which will
cause N/A data errors), it is still useful to have it enabled:
It provides at-a-glance from-to time at the top bar for easy reference.
When you call it independently, it allows you to monitor real-time stats
(e.g., Using "Last 1 hour" with auto refresh).
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
* Update docs
* Update for streaming
* Update guides and add a reference in the project page
* Update for readability
* readability
* format
* update fleet api price
* Update direct Tesla API part
---------
Co-authored-by: Julien <julien@citio.digital>
* feat: endpoints by env
* fix: typo
* fix: useless env
* fix: format
* fix: distinct auth domain and url
* format
* fix: force issuer url if needed
* feat: new streaming based on vin
* fix refresh
* revert
* up
* feat: no need for access token / refresh token if the TOKEN env var is present
* feat: update login if token env var exists
* feat: add ENV var to allow insecure wss
* fix: remove TESLA_CN
* fix(naming): TESLA_API_URL to TESLA_API_DOMAIN
* feat: add an env var to allo invalid certs on WSS
* doc: add API domains env vars description
* fix: typo
* feat: add env var to change log level
* fix: APP_LOG_LEVEL
* feat: add TOKEN documention and wording
* fix: refacto insecure param
* feat: naming and doc
* fix: missing env var usage
* fix: rebound variable issuer_url
* fix: compilation warning on the issuer_url variable
* fix: format code
* fix: issuer_url assignments
* feat: customize polling intervals
* typo
* update doc
* typo
* add online interval
* add POLLING_ONLINE_INTERVAL
* format
* add minimum interval
* Add minimum on fetch parameter
* typo
* format
* respect immediate fetch, add charging interval
* add log level
* Respect log_level
* format
* use LOG_LEVEL env var to facilitate debug
* revert on log_level
* format
* typo
* format again
* revert on default error intervals
* Add a note in MD about polling settings
* not let the user set intervals via env variables shorter than our defaults
---------
Co-authored-by: Julien <julien@citio.digital>
* Update drives.json: show drives with duration=0 but distance>=0
For discussion.
I would like to show also drives, where a duration of 0 is stored, but the distance is not 0. Kind of infinite speed... :-)
* Update drives.json: duration = 0 AND distance > 0
If distance > 0, drive should be shown.