Back to Utils

Home Assistant

Travel Forecast

Predict driving time between an origin and destination per hour, up to 48 hours ahead, so you can see at a glance when it's best to leave.

Goal

Existing Home Assistant travel-time integrations (Google Maps Travel Time, Waze Travel Time) only show the current, live travel time. None give a forward look: "if I leave at 2pm, how long will it take?" — even though routing engines can calculate exactly that via a future departure time with traffic-aware prediction.

Travel Forecast fills that gap. For a configured origin and destination, the integration fetches a fresh 48-hour forecast every hour via the TomTom Routing API, exposed as a chart-friendly attribute list on a sensor — plus a separate sensor that automatically points out the best departure window within those 48 hours.

Status: testing

Not yet published via HACS — manual install for now. Source fully open (MIT license) on GitHub.

Usage

1. Installation

Copy the custom_components/travel_forecast folder into your Home Assistant configuration's config/custom_components/ folder, then restart Home Assistant.

2. TomTom API key

Create a free account at developer.tomtom.com (no credit card needed) and enable the Geocoding and Routing APIs on your key.

3. Add a route

Go to Instellingen → Apparaten & diensten → Add Travel Forecast, and fill in the origin/destination addresses plus your TomTom key.