Install
openclaw skills install tomtom-trafficProvides real-time traffic data, route calculation, and departure planning using TomTom Traffic API for commute and meeting alerts.
openclaw skills install tomtom-trafficProvides real-time traffic monitoring, route calculation, and departure planning using TomTom Traffic API (2,500 free requests/day).
export TOMTOM_API_KEY="your_key_here"Default locations are configured for Seattle/Bellevue area. Edit ./traffic-check.js to update:
CONFIG.locations: Set your home, work, and frequent destinationsCONFIG.buffers: Adjust parking, coffee, and meeting buffer times# Check current commute (home → work)
node ./traffic-check.js check
# Plan departure for 8:00 AM meeting
node ./traffic-check.js meeting 08:00
# Test API connection
node ./traffic-check.js test
The traffic module can be called from other scripts to enhance meeting alerts with real-time traffic data.
const TrafficIntelligence = require('./traffic-check.js');
const traffic = new TrafficIntelligence(process.env.TOMTOM_API_KEY);
// Get traffic-aware departure time for coffee meeting
const route = await traffic.calculateRoute(home, coffeeShop);
const meetingInfo = traffic.calculateDepartureTime(
meetingTime,
route.totalTimeMinutes,
{ meetingBuffer: 10 }
);
console.log(traffic.generateAlert(route, meetingInfo));
Maintainer: Agent M Last Updated: 2026-03-19 Status: Operational