项目作者: parrotmac

项目描述 :
API & CLI to the Ford Pass Service
高级语言: Go
项目地址: git://github.com/parrotmac/go-fordpass.git
创建时间: 2020-12-11T09:41:23Z
项目社区:https://github.com/parrotmac/go-fordpass

开源协议:

下载


go-fordpass

Ford Pass is Ford’s connected vehicle platform. On select vehicles, this enables first-party app control of locks, remote start, and vehicle telematics.

This project is a (partial) reimplementation of ffpass, in Go.

Features

On supported vehicles, the CLI supports

  • Fetch Status (not yet pretty 💩)
  • Lock/Unlock Doors
  • Start/Stop Engine (Remote Start)

CLI Usage

go get or Clone Repo:

  1. go get -u github.com/parrotmac/go-fordpass
  2. # - or -
  3. git clone https://github.com/parrotmac/go-fordpass.git

Get Credentials

Ensure environment variables are setup, similar to below (place in a .env file and source it to keep things tidy):

  1. export FORD_USERNAME=you@example.com
  2. export FORD_PASSWORD=secret42
  3. export VEHICLE_VIN=1FXXXXXXXXXXXXXXX

Alternatively, if not found in the environment, the CLI will prompt for the above values.

Run

From the project directory, run

  1. $ go run cmd/cli.go
  2. Use the arrow keys to navigate:
  3. ? Choose Action:
  4. Get Status
  5. Lock Doors
  6. Unlock Doors
  7. Start Engine
  8. Stop Engine