Skip to main content
Version: 2.9

Environment Variables

This is a reference page for developers and advanced users. Most users don't need to edit .env at all. The install wizard creates it during setup, and all plugin configuration (API keys, settings, etc.) is done through the web UI's Integrations page.

This reference is useful for:

  • Development - setting up a local dev environment
  • Advanced configuration - tuning settings the web UI doesn't expose
  • Troubleshooting - understanding what each variable controls
tip

Plugin API keys should be entered through the web UI, not .env. The Integrations page provides setup instructions and validates your keys. Environment variables listed below for plugins are supported for backward compatibility but the web UI is the recommended way to configure them.

Board Connection

These variables control how FiestaBoard connects to your board. The install wizard and web UI set these for you -- manual editing is not required.

VariableDescriptionExample
BOARD_API_MODEAPI connection modelocal or cloud
BOARD_LOCAL_API_KEYBoard Local API key (when BOARD_API_MODE=local)your_api_key
BOARD_HOSTBoard IP or hostname (when BOARD_API_MODE=local)192.168.0.11
BOARD_READ_WRITE_KEYBoard Read/Write API key (when BOARD_API_MODE=cloud)your_api_key
TIMEZONEYour local timezoneAmerica/Los_Angeles

Board Configuration

VariableDescriptionDefault
BOARD_API_MODEAPI mode (local or cloud)local
BOARD_LOCAL_API_KEYLocal API key-
BOARD_HOSTBoard IP or hostname (local mode)-
BOARD_READ_WRITE_KEYCloud Read/Write API key-
BOARD_TRANSITION_STRATEGYTransition animation style (local mode only)-
BOARD_TRANSITION_INTERVAL_MSDelay between animation steps0
BOARD_TRANSITION_STEP_SIZEColumns/rows per animation step0
Board API Key Variables

Use BOARD_LOCAL_API_KEY + BOARD_HOST for local mode (default). Use BOARD_READ_WRITE_KEY for cloud mode. See the Cloud API Setup guide for details.

Weather

VariableDescriptionDefault
WEATHER_API_KEYAPI key-
WEATHER_PROVIDERProvider (weatherapi / openweathermap)weatherapi
WEATHER_LOCATIONLocation string-

Location & Timezone

VariableDescriptionDefault
TIMEZONETZ database timezone nameAmerica/Los_Angeles
SURF_LATITUDELatitude for surf plugin-
SURF_LONGITUDELongitude for surf plugin-
AIR_FOG_LATITUDELatitude for air quality plugin-
AIR_FOG_LONGITUDELongitude for air quality plugin-

Plugin API Keys

VariablePluginDescription
GOOGLE_ROUTES_API_KEYTrafficGoogle Routes API key
HOME_ASSISTANT_BASE_URLHome AssistantHA instance URL
HOME_ASSISTANT_ACCESS_TOKENHome AssistantLong-lived access token
LASTFM_API_KEYLast.fmLast.fm API key
LASTFM_USERNAMELast.fmLast.fm username
MUNI_API_KEYMuni Transit511.org API key
WSDOT_API_ACCESS_CODEWSDOT FerriesWSDOT API access code
PURPLEAIR_API_KEYAir QualityPurpleAir API key
OPENWEATHERMAP_API_KEYAir QualityOpenWeatherMap API key
FINNHUB_API_KEYStocksFinnhub API key (optional)
SPORTS_SCORES_API_KEYSports ScoresTheSportsDB API key (optional)

Guest WiFi

VariableDescriptionDefault
GUEST_WIFI_SSIDWiFi network name-
GUEST_WIFI_PASSWORDWiFi password-

Silence Schedule

VariableDescriptionDefault
SILENCE_SCHEDULE_START_TIMEQuiet hours start (HH:MM)-
SILENCE_SCHEDULE_END_TIMEQuiet hours end (HH:MM)-

Network / mDNS

VariableDescriptionDefault
MDNS_HOSTNAMEHostname advertised via mDNS/Bonjour (without .local suffix). Devices on the same network can reach FiestaBoard at http://<hostname>.local:4420. Set to empty to disable mDNS.fiestaboard

System Configuration

VariableDescriptionDefault
REFRESH_INTERVAL_SECONDSDisplay update interval (seconds)300
VERSIONBuild version (set automatically during Docker builds -- do not change)dev

Example .env File

# Board Configuration (required)
BOARD_API_MODE=local
BOARD_LOCAL_API_KEY=your_local_api_key_here
BOARD_HOST=192.168.0.11

# Timezone
TIMEZONE=America/Los_Angeles

# Optional: Weather
WEATHER_API_KEY=your_weather_key_here
WEATHER_PROVIDER=weatherapi
WEATHER_LOCATION=San Francisco, CA

# Optional: Traffic
GOOGLE_ROUTES_API_KEY=your_google_key

# Optional: Home Assistant
HOME_ASSISTANT_BASE_URL=http://192.168.1.100:8123
HOME_ASSISTANT_ACCESS_TOKEN=your_ha_token

# Optional: Silence Schedule
SILENCE_SCHEDULE_START_TIME=22:00
SILENCE_SCHEDULE_END_TIME=07:00

Next Steps