Skip to content

About

Lovelace card for the FordPass integration: auto-detects your Ford, lock/unlock, remote start & climate, sensors from a list, GPS navigation, 5 languages.

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FordPass Card

HACS Custom Validate

A Lovelace card for Home Assistant built for the FordPass integration by marq24. It finds your vehicle on its own, lets you pick which sensors to show from a list, and swaps the picture when a door is open.

FordPass Card

🇮🇹 Leggi in italiano

Features

  • Automatic vehicle detection. The card looks for devices from the FordPass integration. No VIN or entity IDs to type.
  • Pick sensors from a list. The visual editor lists every sensor of the vehicle. Tick the ones you want, reorder them with the arrows and give them a custom name.
  • Controls. A row of round buttons for lock/unlock, remote start and extend, climate temperature, heated/cooled seats, heated windscreen, rear defrost, heated steering wheel, honk & flash, EV charging and sync. Pick them from a second list in the editor. Only the commands your vehicle supports are offered.
  • Second-tap confirmation. Lock/unlock, remote start, horn, charging and delete commands only run when you tap twice within 4 seconds, so a stray tap does not unlock the van.
  • Command feedback. After a command the button shows a spinner and what is happening ("Starting…", "Waiting for the vehicle…"), then a green tick when the vehicle confirms, or "No confirmation" if it does not answer. Further taps are ignored until then, so a command is never sent twice by mistake. While the engine runs after a remote start, the button turns into "Stop engine".
  • Native pickers. Climate temperature and seat levels open your phone's own picker (the wheel on iPhone) and send the value straight away.
  • Details pop-up. Tap a sensor and a pop-up shows everything FordPass sends for it, in plain language instead of raw JSON: pressure and status of each tyre, each door and lock, which warning lights are on, 12V battery voltage, AdBlue range, firmware history and so on. A button opens the usual Home Assistant history.
  • GPS navigation. The GPS tile opens directions to the vehicle in Apple Maps on iPhone/Mac and Google Maps elsewhere, or Waze if you prefer.
  • Vehicle picture out of the box. With no image set, the card shows the picture that FordPass provides for your vehicle.
  • Doors-open picture. Add a second image and the card crossfades to it while the door sensor reports Open.
  • Status colours. Locks, doors, windows and tyre pressure turn green, orange or red depending on their state.
  • Five languages. Sensor names, raw FordPass states (LOCKED, NORMAL_OPERATION, …) and the editor are translated into English, Italian, Spanish, French and German. By default the card follows your Home Assistant language; you can also pick one in the editor.
  • Native formatting. Numbers and units use Home Assistant's own formatting.

Requirements

Installation

HACS (recommended)

  1. Open HACS → the three-dot menu → Custom repositories.
  2. Add https://github.com/Minny94/fordpass-card with type Dashboard.
  3. Search for FordPass Card, install it, then reload the browser.

Manual

  1. Download fordpass-card.js from the latest release.
  2. Copy it to /config/www/fordpass-card.js.
  3. Go to Settings → Dashboards → ⋮ → Resources and add /local/fordpass-card.js as a JavaScript module.

Usage

Edit a dashboard, add a card and pick FordPass Card. The editor fills in your vehicle and a default set of sensors.

Minimal YAML:

type: custom:fordpass-card

Full example:

type: custom:fordpass-card
device_id: 0123456789abcdef0123456789abcdef
title: Ford Transit Custom
image: /local/van_closed.png
image_open: /local/van_open.png
columns: 2
maps: auto
controls:
  - lock.fordpass_xxxxxxxxxxxxxxxxx_doorlock
  - switch.fordpass_xxxxxxxxxxxxxxxxx_ignition
  - select.fordpass_xxxxxxxxxxxxxxxxx_rcctemperature
  - select.fordpass_xxxxxxxxxxxxxxxxx_rccseatfrontleft
  - entity: button.fordpass_xxxxxxxxxxxxxxxxx_request_refresh
    name: Sync
entities:
  - entity: sensor.fordpass_xxxxxxxxxxxxxxxxx_fuel
    name: Fuel
  - sensor.fordpass_xxxxxxxxxxxxxxxxx_odometer
  - sensor.fordpass_xxxxxxxxxxxxxxxxx_outsidetemp
  - device_tracker.fordpass_xxxxxxxxxxxxxxxxx_tracker
  - sensor.fordpass_xxxxxxxxxxxxxxxxx_gps

Options

Option Type Default Description
device_id string first FordPass vehicle The vehicle to show.
title string vehicle name Text at the top of the card.
show_title boolean true Set to false to hide the title.
image string FordPass vehicle picture URL of the picture, e.g. /local/van.png.
image_open string none Picture shown while a door is open.
show_image boolean true Set to false to hide the picture.
door_entity string the FordPass door status sensor Entity that triggers the doors-open picture when its state is Open.
columns number 2 Tiles per row, from 1 to 4.
language string your Home Assistant language en, it, es, fr or de. Other languages fall back to English.
entities list a default set Sensors to show. Each item is an entity ID or an object with entity and optional name, icon, color, navigate.
controls list a default set Commands to show above the sensors. Each item is an entity ID or an object with entity and optional name, icon, confirm. Set controls: [] to hide the row.
maps string auto App for GPS navigation: auto, apple, google or waze.
details boolean true Set to false to open the standard Home Assistant dialog instead of the details pop-up.

navigate: true turns any tile with coordinates (for example the vehicle tracker) into a navigation button; the GPS sensor does it by default. confirm: false removes the second-tap confirmation from a command, confirm: true adds it.

Controls only send what the FordPass integration exposes. Remote start, climate and seat commands appear only on vehicles that support them.

Styling

These CSS variables can be set with card-mod or in a theme:

Variable Default
--fpc-background dark gradient
--fpc-radius 28px
--fpc-image-height 240px

Picture tips

For the doors-open swap to look right, both pictures need the same framing, crop and size. A transparent PNG works best.

Disclaimer

This project is not affiliated with, endorsed by or sponsored by Ford Motor Company. Ford and FordPass are trademarks of Ford Motor Company. The card only reads data that the FordPass integration already exposes in Home Assistant.

License

MIT


Italiano

Card per Home Assistant pensata per l'integrazione FordPass di marq24. Trova da sola il veicolo, ti fa scegliere i sensori da una lista e cambia immagine quando una porta è aperta.

Funzioni

  • Riconoscimento automatico del veicolo: niente VIN né ID delle entità da scrivere.
  • Sensori da una lista: nell'editor visuale spunti quelli da mostrare, li ordini con le frecce e puoi dare a ognuno un nome personalizzato.
  • Immagine già pronta: se non imposti un'immagine, la card usa quella che FordPass fornisce per il tuo veicolo.
  • Immagine a porte aperte: aggiungi una seconda immagine e la card passa a quella quando il sensore delle porte segna Open.
  • Colori di stato: serrature, porte, finestrini e pressione gomme diventano verdi, arancioni o rossi in base allo stato.
  • Cinque lingue: nomi dei sensori, valori grezzi di FordPass ed editor tradotti in italiano, inglese, spagnolo, francese e tedesco. Di base segue la lingua di Home Assistant, ma puoi sceglierla nell'editor.
  • Comandi: blocco/sblocco, avviamento a distanza e prolunga, temperatura del clima, sedili riscaldati/ventilati, parabrezza e lunotto, volante riscaldato, clacson, ricarica e sincronizzazione. Sblocco, avviamento, clacson ed eliminazioni chiedono un secondo tocco entro 4 secondi. Dopo ogni comando il pulsante mostra cosa sta succedendo ("Avvio…", "Attendo il veicolo…") e poi una spunta verde quando il veicolo conferma, oppure "Nessuna conferma". Finché il veicolo non risponde gli altri tocchi vengono ignorati, così un comando non parte mai due volte per sbaglio. Con il motore avviato da remoto il pulsante diventa "Spegni motore".
  • Pop-up dei dettagli: tocca un sensore e si apre un pop-up con tutti i dati che FordPass manda per quel sensore, scritti in modo leggibile invece del JSON: pressione e stato di ogni gomma, ogni porta e serratura, spie accese, tensione della batteria 12V, autonomia AdBlue, cronologia firmware e così via. Un pulsante apre la classica cronologia di Home Assistant.
  • Navigazione GPS: il riquadro GPS apre il percorso fino al veicolo in Apple Mappe (iPhone/Mac), Google Maps o Waze.

Installazione

  1. In HACS apri il menu a tre puntini → Repository personalizzati.
  2. Aggiungi https://github.com/Minny94/fordpass-card con tipo Dashboard.
  3. Cerca FordPass Card, installala e ricarica il browser.

Poi modifica una dashboard, aggiungi una card e scegli FordPass Card.

Avvertenza

Questo progetto non è affiliato, approvato né sponsorizzato da Ford Motor Company. Ford e FordPass sono marchi di Ford Motor Company.

About

Lovelace card for the FordPass integration: auto-detects your Ford, lock/unlock, remote start & climate, sensors from a list, GPS navigation, 5 languages.

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors