Skip to main content

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.

Required Variables

These must be set for FiestaBoard to connect to your board:

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
LATITUDELatitude for location-based plugins
LONGITUDELongitude for location-based plugins

Plugin API Keys

VariablePluginDescription
GOOGLE_ROUTES_API_KEYTrafficGoogle Routes API key
HOME_ASSISTANT_URLHome AssistantHA instance URL
HOME_ASSISTANT_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_KEYWSDOT FerriesWSDOT API key
PURPLEAIR_API_KEYAir QualityPurpleAir API key
OWM_API_KEYAir QualityOpenWeatherMap API key
FINNHUB_API_KEYStocksFinnhub API key (optional)
SPORTS_API_KEYSports ScoresTheSportsDB API key (optional)

Guest WiFi

VariableDescriptionDefault
GUEST_WIFI_SSIDWiFi network name
GUEST_WIFI_PASSWORDWiFi password

Silence Schedule

VariableDescriptionDefault
SILENCE_START_TIMEQuiet hours start (HH:MM)
SILENCE_END_TIMEQuiet hours end (HH:MM)

System Configuration

VariableDescriptionDefault
REFRESH_INTERVAL_SECONDSDisplay update interval60
LOG_LEVELLogging levelINFO

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_URL=http://192.168.1.100:8123
HOME_ASSISTANT_TOKEN=your_ha_token

# Optional: Silence Schedule
SILENCE_START_TIME=22:00
SILENCE_END_TIME=07:00

Next Steps