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
- Google provides a $200/month free credit. Typical FiestaBoard usage costs well under this
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
| Item | Price |
|---|---|
| Monthly free credit | $200 |
| Per route request | ~$0.005 |
| Typical monthly cost | Well under free credit |
With 4 routes updating every 5 minutes, you'd make about 35,000 requests/month, well within the free credit.
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