Traffic Plugin
Display commute times and live traffic conditions using the Google Routes API.
Overview
The Traffic plugin shows real-time driving times between configured origin and destination pairs. It supports up to 4 routes and multiple travel modes.
Setup
1. Enable the Google Routes API
- Go to Google Cloud Console
- Create a new project or select an existing one
- Navigate to APIs & Services → Library
- Search for Routes API (not Directions API)
- Click Enable
2. Set Up Billing
The Routes API requires billing to be enabled:
- Go to Billing in Google Cloud Console
- Link a billing account to your project
- The Routes API includes a monthly free tier. Check Google's current Routes API pricing for the latest terms — typical FiestaBoard usage is low-volume and usually falls within the free allotment
3. Create an API Key
- Go to APIs & Services → Credentials
- Click Create Credentials → API Key
- (Recommended) Restrict the key to only the Routes API
4. Configure FiestaBoard
- Open http://localhost:4420
- Go to the Integrations page
- Toggle the Traffic plugin on
- Enter your Google Routes API key
- Click Save Changes
5. Configure Routes
In the Web UI Integrations page, configure your routes:
- Route Name - A label for the route (e.g., "To Work")
- Origin - Starting address
- Destination - Ending address
- Travel Mode - Drive, Bicycle, Transit, or Walk
Travel Modes
| Mode | Description |
|---|---|
DRIVE | Driving with live traffic conditions |
BICYCLE | Cycling route |
TRANSIT | Public transit |
WALK | Walking route |
Address Formats
You can use either format for origins and destinations:
| Format | Example |
|---|---|
| Full address | 123 Main St, Anytown, ST 12345 |
| Coordinates | 37.7749,-122.4194 |
tip
Using coordinates is faster and avoids geocoding errors. You can find coordinates by right-clicking on Google Maps.
Available Variables
| Variable | Description | Example |
|---|---|---|
{traffic.formatted} | Formatted commute display | TO WORK 25 MIN |
Costs
Google Maps Platform bills the Routes API per request, with a monthly free tier that covers a set number of calls before charges apply. The exact free allotment and per-request price change over time.
Note: Google retired its flat $200/month platform-wide credit in 2025 in favor of per-API monthly free allotments. Always confirm the current numbers on Google's Routes API pricing page before estimating your costs.
To gauge your own volume: 4 routes updating every 5 minutes is about 35,000 requests/month. Compare that against the current free allotment and per-request price to estimate whether you'll owe anything.
Troubleshooting
403 Forbidden
- The Routes API is not enabled - go to Google Cloud Console and enable it
- Billing is not set up - link a billing account
400 Bad Request
- Check that your addresses are valid and complete
- Try using coordinates instead of addresses
Rate Limiting
If you see rate limit errors:
- Increase the refresh interval
- Use coordinates instead of addresses (avoids geocoding calls)
Next Steps
- Plugins Overview - See all available plugins
- API Keys - Getting all required API keys