A simple Lumen web app to send basic commands and fetch the current status to your Ford vehicle with Sync 3 enabled

Overview

FordPass Access

This is a simple Lumen web app to send basic commands and fetch the current status to your Ford vehicle with Sync 3 enabled.

Local development

To get started you need to be familiar with Lumen micro-framework. Once the repo has been cloned, make sure to install all depedencies.

$ composer install

Ensure all config is set in the .env file. Also make sure to include your FordPass credentials and VIN number for the API access.

FORD_USERNAME=[username]
FORD_PASSWORD=[password]
FORD_VIN=[password]

Once installed create a database.sqlite file:

$ touch database/database.sqlite

Finally run the migrations:

$ php artisan migrate

Finally you can serve the app locally using PHP.

$ php -S localhost:8000 -t public

Supported Actions & Vehicle Information

Currently these are the supported actions:

  • start
  • stop
  • lock
  • unlock

Vehicle information actions:

  • status
  • details
  • capabilities

Endpoints

To access these actions/vehicle info via your browser you can visit:

GET /api/vehicle/{vin}/{command}

The endpoint will return a json response of your request.

Console

The commands can also be invoked through the Artisan console:

$ php artisan vehicle:control {command}

You may also get the status of your car.

$ php artisan vehicle:status {--fresh}

Deployment

In case you'd like to have this up in the cloud, to keep it simple I have chosen to deploy to AWS Lambda. Before launching read the documentation on how to use Bref and serverless.

Follow the instructions on Bref's getting started tutorial to launch to your own instance of AWS Lambda and deploy the app. Once you have gotten all of your setup ready to be deployed you can use an internal artisan command to deploy:

$ php artisan deploy

Or you can use serverless' own cli.

$ serverless deploy

The deploy command will run a production composer install and deploy to AWS with serverless deploy. The application updates Lumen's config for database, cache, session, and logging when launched.

You might also like...
Unified sample web app. The easy way to learn web frameworks.
Unified sample web app. The easy way to learn web frameworks.

Notejam The easy way to learn web frameworks Do you know framework X and want to try framework Y? The easy way to start with a new framework is to com

Simple web app to easily create landing pages by dragging and dropping prebuilt blocks
Simple web app to easily create landing pages by dragging and dropping prebuilt blocks

Drag & Drop landing page builder made with Laravel 8, Vue.js 3 and Tailwind CSS

Simple RESTful Web App to find Real Estate Listings

Unreal Estate is a simple RESTful web app that allows the user to find Real Estate listings they might be interested in. Unreal Estate is built on Laravel 5 and PHP 7.

BraincraftedBootstrapBundle integrates Bootstrap into Symfony2 by providing templates, Twig extensions, services and commands.

BraincraftedBootstrapBundle BraincraftedBootstrapBundle helps you integrate Bootstrap in your Symfony2 project. BootstrapBundle also supports the offi

Learning Management System made in vanilla PHP to learn core concepts and usage of some basic utils

Learning Management System Learning Management System made in vanilla PHP to learn core concepts and usage of some basic utils. Report Bug Β· Request F

Scrumwala: Your very own Scrum, Agile project management web app - built with Laravel
Scrumwala: Your very own Scrum, Agile project management web app - built with Laravel

Scrumwala Your very own Scrum/Agile web app built with Laravel Features Create and manage projects with plan and work views Group issues in a project

Web app to share your favorite photos, made with laravel
Web app to share your favorite photos, made with laravel

Kuro Photos Web app to share your favorite photos, made with laravel. This web app was made for educationals purposes only. I enjoyed so much learning

TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application
TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application

TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application for storing, uploading, editing and managing files and folders online via web browser. The Application runs on PHP 5.5+, It allows the creation of multiple users and each user can have its own directory and a build-in support for managing text files with cloud9 IDE and it supports syntax highlighting for over 150+ languages and over 35+ themes.

Satu platform demo ringkas untuk rujukan Basic PHP

praktisphpmysql Satu platform demo ringkas untuk rujukan Basic PHP Demo https://legoom.biz.my/praktisphpmysql/ Belajar Koding Kemasukan Mei dan Septem

Owner
Sam
πŸ‡§πŸ‡·πŸ‡ΊπŸ‡Έ Web engineer. Technology enthusiast.
Sam
Vehicle rental web application with PayPal payment gateway.

vehicle-rental-web-app Vehicle rental web application with PayPal payment gateway. Import given alldrivedbV25.sql backup file to your mysql database.

Imesh Gunathilake 2 Dec 20, 2021
A reliable, scalable web application for the management of a fictional vehicle rentals company

auto-vendor A reliable, scalable web application for the management of a fictional vehicle rental company. Uses technologies such as: HTML, CSS, PHP,

Tyler Cartwright 0 Aug 8, 2022
πŸ“‡A contacts app for Nextcloud. Easily sync contacts from various devices with your Nextcloud and edit them online.

Nextcloud Contacts A contacts app for Nextcloud. Easily sync contacts from various devices with your Nextcloud and edit them online. This app only sup

Nextcloud 485 Dec 30, 2022
Cruuzr is a social network with a target demographic of motor vehicle enthusiasts.

Cruuzr Social Network Cruuzr is a social network with a target demographic of motor enthusiasts. The website was designed using bootstrap to allow for

Orson Hannath 1 Apr 5, 2022
BicBucStriim streams books, digital books. It fills a gap in the functionality of current NAS devices that provide access to music, videos and photos

BicBucStriim streams books, digital books. It fills a gap in the functionality of current NAS devices that provide access to music, videos and photos -- but not books. BicBucStriim fills this gap and provides web-based access to your e-book collection.

Rainer Volz 392 Dec 31, 2022
Cachet is a beautiful and powerful open source status page system.

Cachet is a beautiful and powerful open source status page system. Overview List your service components Report incidents Customise the look of your s

Cachet 12.5k Dec 5, 2021
nextcloud app that replicates basic gpodder.net api

nextcloud-gpodder Nextcloud app that replicates basic gpodder.net api This app serves as synchronization endpoint for AntennaPod: https://github.com/A

null 121 Dec 30, 2022
πŸ“› An open source status page system for everyone.

Cachet is a beautiful and powerful open source status page system. Overview List your service components Report incidents Customise the look of your s

Cachet 13k Jan 3, 2023
Linfo PHP Server Health Status

Linfo - Server stats UI/library Linfo is a: Light themable Web UI and REST API displaying lots of system stats Ncurses CLI view of WebUI Extensible, e

Joe Gillotti 340 Dec 30, 2022
A simple RESTful non-blocking API, to send and receive money

A simple RESTful non-blocking API, to send and receive money.

Daniel Rodrigues 3 Dec 19, 2022