Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let query vehicle with vehicleData without avoiding it to fall asleep #309

Open
wants to merge 62 commits into
base: master
Choose a base branch
from

Conversation

GaPhi
Copy link
Contributor

@GaPhi GaPhi commented Feb 10, 2022

Fixes #308 and some other typos

Changes proposed in this pull request:

  • Let query vehicle with vehicleData without avoiding it to fall asleep

dependabot-preview bot and others added 30 commits April 29, 2021 15:07
Consider username/password as access/refresh tokens when username does not include '@' (email address)
See https://tesla-api.timdorr.com/api-basics/vehicles#get-api-1-vehicles-id

Adding this and deploying it to apiary will unblock adding support for this endpoint
to TeslaJS
These functions use `options.vehicleID` to make a call to fetch a specific
Vehicle from the Tesla API, rather than fetching all vehicles and using
`carIndex` to select the requested vehicle.

Fixes mseminatore#273
Add sync & async calls to SetChargingAmps API
Add setScheduledCharging calls API
Add setScheduledDeparture API calls
- setChargingAmps
- setScheduledCharging
- setScheduledDeparture
One parameter was missing!
NPM package with @GaPhi scope
Scheduled times can be any value in minutes since midnight local time, even if Tesla apps do not propose it.
windowControl needs lat/lon for the 'close' command.
NB: Cannot test it on my car, maybe a GET request is required rather than POST?

Fix a typo too
This is probably a small copy paste mistake from steeringHeater function above.
Fix typo in maxDefrost function name
Add vehicleById and vehicleByIdAsync function
Add "/api/1/vehicles" to API blueprint
Redirect to registered region
Bumps [ws](https://github.com/websockets/ws) from 8.2.2 to 8.3.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.2.2...8.3.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
This argument is :
- true if (preconditioning_enabled or off_peak_charging_enabled)
- false otherwise

NB: this condition may change in the future
Bumps [ws](https://github.com/websockets/ws) from 8.2.2 to 8.3.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.2.2...8.3.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
GaPhi and others added 30 commits December 26, 2021 19:27
Add endpoints and let_sleep parameters to vehicleData command
Use an "args" object for all commands
Add query string capability to GET or POST commands
Add endpoints and let_sleep parameters to vehicleData command
Function argument is in args object now
Bumps [mocha](https://github.com/mochajs/mocha) from 10.1.0 to 10.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](mochajs/mocha@v10.1.0...v10.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [commander](https://github.com/tj/commander.js) from 9.4.1 to 11.1.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](tj/commander.js@v9.4.1...v11.1.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
- vehicleID is not updated
- carIndex can be given thanks to args.carIndex (msg.commandArgs.carIndex with node-red-contrib-tesla)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vehicleData without sleep avoidance
4 participants