MyTesla

所属分类:汽车电子软硬件开发
开发工具:PowerShell
文件大小:49KB
下载次数:0
上传日期:2021-07-20 07:18:57
上 传 者sh-1993
说明:  迈特斯拉,,
(MyTesla,,)

文件列表:
.vscode (0, 2021-07-20)
.vscode\launch.json (626, 2021-07-20)
.vscode\settings.json (65, 2021-07-20)
Docs (0, 2021-07-20)
Docs\Help (0, 2021-07-20)
Docs\Help\Connect-Tesla.md (4589, 2021-07-20)
LICENSE (1070, 2021-07-20)
Scripts (0, 2021-07-20)
Scripts\DownloadBuildDependencies.ps1 (928, 2021-07-20)
Source (0, 2021-07-20)
Source\Classes (0, 2021-07-20)
Source\Classes\TeslaSeat.ps1 (119, 2021-07-20)
Source\Classes\TeslaVehicle.ps1 (499, 2021-07-20)
Source\MyTesla.psd1 (4174, 2021-07-20)
Source\MyTesla.psm1 (1730, 2021-07-20)
Source\Private (0, 2021-07-20)
Source\Private\AuthHelpers.ps1 (15891, 2021-07-20)
Source\Private\ConvertFrom-Timestamp.ps1 (270, 2021-07-20)
Source\Private\Get-TeslaToken.ps1 (1850, 2021-07-20)
Source\Private\Unprotect-SecureString.ps1 (599, 2021-07-20)
Source\Public (0, 2021-07-20)
Source\Public\Close-TeslaChargePort.ps1 (726, 2021-07-20)
Source\Public\Connect-Tesla.ps1 (2787, 2021-07-20)
Source\Public\Export-TeslaContext.ps1 (2102, 2021-07-20)
Source\Public\Get-TeslaChargeState.ps1 (790, 2021-07-20)
Source\Public\Get-TeslaClimateState.ps1 (793, 2021-07-20)
Source\Public\Get-TeslaContext.ps1 (113, 2021-07-20)
Source\Public\Get-TeslaDriveState.ps1 (725, 2021-07-20)
Source\Public\Get-TeslaGUISettings.ps1 (791, 2021-07-20)
Source\Public\Get-TeslaVehicle.ps1 (488, 2021-07-20)
Source\Public\Get-TeslaVehicleConfig.ps1 (745, 2021-07-20)
Source\Public\Get-TeslaVehicleData.ps1 (723, 2021-07-20)
Source\Public\Get-TeslaVehicleState.ps1 (680, 2021-07-20)
Source\Public\Import-TeslaContext.ps1 (1502, 2021-07-20)
... ...

# MyTesla Control Tesla cars using PowerShell! Because why not? Commands implemented: * Close-TeslaChargePort * Connect-Tesla * Export-TeslaContext * Get-TeslaChargeState * Get-TeslaClimateState * Get-TeslaContext * Get-TeslaDriveState * Get-TeslaGUISettings * Get-TeslaVehicle * Get-TeslaVehicleConfig * Get-TeslaVehicleData * Get-TeslaVehicleState * Import-TeslaContext * Invoke-TeslaAPI * Invoke-TeslaHorn * Invoke-TeslaLightFlash * Lock-TeslaDoor * Move-TeslaSunroof * Open-TeslaChargePort * Open-TeslaTrunk * Reset-TeslaValetModePIN * Resume-TeslaVehicle * Revoke-TeslaToken * Select-TeslaVehicle * Set-TeslaChargeLimit * Set-TeslaDefrost * Set-TeslaMediaFavourite * Set-TeslaMediaTrack * Set-TeslaMediaVolume * Set-TeslaNavigation * Set-TeslaSeatHeater * Set-TeslaTemperature * Start-TeslaCharging * Start-TeslaClimate * Start-TeslaDefrost * Start-TeslaSentryMode * Start-TeslaSteeringWheelHeater * Start-TeslaUpdate * Start-TeslaValetMode * Start-TeslaVehicle * Stop-TeslaCharging * Stop-TeslaClimate * Stop-TeslaDefrost * Stop-TeslaSentryMode * Stop-TeslaSteeringWheelHeater * Stop-TeslaValetMode * Suspend-TeslaUpdate * Switch-TeslaMediaPlayback * Unlock-TeslaDoor * Wait-TeslaUserPresent ## Installation The MyTesla PowerShell Module is published to [PowerShell Gallery](https://www.powershellgallery.com/packages/MyTesla/). ```powershell Install-Module -Name MyTesla ``` ## Developer Instructions If you want to run this module from source code, it can be loaded as-is by importing MyTesla.psd1. This is mainly intended for development purposes. To speed up module load time and minimize the amount of files that needs to be signed, distributed and installed, this module contains a build script that will package up the module into two files: - MyTesla.psd1 - MyTesla.psm1 To build the module, make sure you have the following pre-req modules: - ModuleBuilder (Required Version 2.0.0) Start the build by running the following command from the Source folder: ```powershell Invoke-Build ``` This will package all code into files located in .\bin\MyTesla. That folder is now ready to be installed, copy to any path listed in you PSModulePath environment variable and you are good to go! --- Maintained by Simon Wahlin

近期下载者

相关文件


收藏者