Giter Club home page Giter Club logo

ffpass's Introduction

Forget Fordpass

The Fordpass App requires you to put in a pin and tell it you are not driving and takes forever to issue commands to your vehicle. This little nugget of code talks to the APIs and makes starting/stoping the engine and locking/unlocking the doors super easy.

If you find this useful let me know on Twitter. @d4v3y0rk

TL:DR

The code requires several environment variables to set for it to work:

export FORD_USERNAME="<your fordpass username>"
export FORD_PASSWORD="<your fordpass password>"
export VIN="<your vehicle VIN number>"
export MAPS_API_KEY="<a google maps api key>" // this is optional

Once you have those thing setup you can issue commands and check the status of your vehicle like this:

node car.js --command=status // returns vehicle status information

node car.js --command=status --locate // returns vehicle status information with address from google maps

node car.js --command=start // issues engine start command to the vehicle

node car.js --command=stop // issues engine stop command to the vehicle

node car.js --command=lock // issues door lock command to the vehicle

node car.js --command=unlock // issues door unlock command to the vehicle

Heroku

Aside from the car.js script you can push this to heroku, set the config variables and run it as an API. If you do this you can setup Siri Shortcuts on your iOS device to enable you to issue commands to your vehicle with your voice using Siri.

WARNING ⚠️

If you deploy this to Heroku without an authentication scheme anyone could control your car.

Purpose

I created this to enable interoperability between my computer and my car. As is allowed by U.S., Section 103(f) of the Digital Millennium Copyright Act.

ffpass's People

Contributors

d4v3y0rk avatar avgp avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.