Files
LEDMatrix/config/config.json
2025-04-25 13:03:10 -05:00

146 lines
4.0 KiB
JSON

{
"timezone": "America/Chicago",
"location": {
"city": "Dallas",
"state": "Texas",
"country": "US"
},
"display": {
"hardware": {
"rows": 32,
"cols": 64,
"chain_length": 2,
"parallel": 1,
"brightness": 95,
"hardware_mapping": "adafruit-hat-pwm",
"scan_mode": 0,
"pwm_bits": 9,
"pwm_dither_bits": 1,
"pwm_lsb_nanoseconds": 130,
"disable_hardware_pulsing": false,
"inverse_colors": false,
"show_refresh_rate": false,
"limit_refresh_rate_hz": 120
},
"runtime": {
"gpio_slowdown": 3
},
"display_durations": {
"clock": 15,
"weather": 15,
"stocks": 30,
"hourly_forecast": 15,
"daily_forecast": 15,
"stock_news": 20,
"nhl_live": 30,
"nhl_recent": 20,
"nhl_upcoming": 20,
"nba_live": 30,
"nba_recent": 20,
"nba_upcoming": 20,
"calendar": 30,
"youtube": 20,
"mlb_live": 30,
"mlb_recent": 20,
"mlb_upcoming": 20
}
},
"clock": {
"enabled": true,
"format": "%H:%M:%S",
"update_interval": 1
},
"weather": {
"enabled": true,
"update_interval": 600,
"units": "imperial",
"display_format": "{temp}°F\n{condition}"
},
"stocks": {
"enabled": true,
"update_interval": 300,
"symbols": [
"ASTS", "SCHD", "INTC", "NVDA", "T", "VOO", "SPEST", "SMCI"
],
"display_format": "{symbol}: ${price} ({change}%)"
},
"crypto": {
"enabled": true,
"update_interval": 300,
"symbols": [
"BTC-USD", "ETH-USD"
],
"display_format": "{symbol}: ${price} ({change}%)"
},
"stock_news": {
"enabled": true,
"update_interval": 3600,
"scroll_speed": 1,
"scroll_delay": 0.001,
"max_headlines_per_symbol": 1,
"headlines_per_rotation": 2
},
"calendar": {
"enabled": true,
"credentials_file": "credentials.json",
"token_file": "token.pickle",
"update_interval": 3600,
"max_events": 3,
"calendars": ["birthdays"]
},
"nhl_scoreboard": {
"enabled": false,
"test_mode": false,
"update_interval_seconds": 300,
"live_update_interval": 15,
"recent_update_interval": 3600,
"upcoming_update_interval": 3600,
"recent_game_hours": 48,
"favorite_teams": ["TB", "DAL"],
"logo_dir": "assets/sports/nhl_logos",
"display_modes": {
"nhl_live": true,
"nhl_recent": true,
"nhl_upcoming": true
},
"live_game_duration": 30
},
"nba_scoreboard": {
"enabled": true,
"test_mode": false,
"update_interval_seconds": 300,
"live_update_interval": 20,
"recent_update_interval": 3600,
"upcoming_update_interval": 3600,
"recent_game_hours": 72,
"favorite_teams": ["DAL", "ATL"],
"logo_dir": "assets/sports/nba_logos",
"display_modes": {
"nba_live": true,
"nba_recent": true,
"nba_upcoming": true
},
"live_game_duration": 30
},
"youtube": {
"enabled": true,
"update_interval": 3600
},
"mlb": {
"enabled": true,
"test_mode": false,
"update_interval_seconds": 300,
"live_update_interval": 20,
"recent_update_interval": 3600,
"upcoming_update_interval": 3600,
"recent_game_hours": 48,
"favorite_teams": ["TB", "TEX"],
"logo_dir": "assets/sports/mlb_logos",
"display_modes": {
"mlb_live": true,
"mlb_recent": true,
"mlb_upcoming": true
},
"live_game_duration": 30
}
}