Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…eboard into fix-get_score_details
  • Loading branch information
NHL LED Scoreboard img committed Jan 24, 2024
2 parents 3f73698 + 2259a09 commit 5831d73
Show file tree
Hide file tree
Showing 22 changed files with 146 additions and 269 deletions.
Binary file added assets/fonts/07558_CenturyGothic.ttf
Binary file not shown.
Binary file added assets/fonts/07723_Cgothicb0.ttf
Binary file not shown.
Binary file added assets/fonts/09809_COURIER.ttf
Binary file not shown.
Binary file added assets/fonts/Perfect DOS VGA 437.ttf
Binary file not shown.
Binary file added assets/fonts/runescape_uf.ttf
Binary file not shown.
Binary file modified assets/loading/loading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 36 additions & 30 deletions config/.default/config.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,42 @@
"live_mode": true,
"preferences": {
"time_format": "12h",
"end_of_day": "8:00",
"end_of_day": "0:01",
"location": "",
"live_game_refresh_rate": 10,
"teams": [
"Canadiens"
"Wild"
],
"sog_display_frequency": 4,
"goal_animations": {
"pref_team_only": true
"pref_team_only": false
}
},

"states":{
"off_day": [
"team_summary",
"clock"
"wxalert",
"clock",
"weather
],
"scheduled": [
"team_summary",
"scoreticker",
"clock"
"wxalert",
"clock",
"weather
],
"intermission": [
"scoreticker",
"team_summary"
"team_summary",
"wxalert",
"clock",
"weather
],
"post_game": [
"team_summary",
"scoreticker",
"clock"
"team_summary",
"wxalert",
"clock",
"weather
]
},

Expand All @@ -48,40 +54,40 @@
},
"standings": {
"preferred_standings_only": true,
"standing_type": "division",
"divisions": "atlantic",
"conference": "eastern"
"standing_type": "conference",
"divisions": "central",
"conference": "western"
},
"clock": {
"duration": 15,
"duration": 5,
"hide_indicator": false,
"preferred_team_colors": true,
"clock_rgb": "",
"date_rgb": "",
"flash_seconds": true
"clock_rgb": "200,16,46",
"date_rgb": "241,190,72",
"flash_seconds": false
},
"weather": {
"enabled": false,
"enabled": true,
"view": "full",
"units": "metric",
"duration": 60,
"data_feed": "EC",
"units": "imperial",
"duration": 15,
"data_feed": "OWM",
"owm_apikey": "",
"update_freq": 5,
"show_on_clock": true,
"forecast_enabled": false,
"forecast_enabled": true,
"forecast_days": 3,
"forecast_update": 1
},
"wxalert": {
"alert_feed": "EC",
"alert_feed": "NWS",
"update_freq": 5,
"show_alerts": false,
"nws_show_expire": false,
"show_alerts": true,
"nws_show_expire": true,
"alert_title": true,
"scroll_alert": true,
"alert_duration": 5,
"show_on_clock": true
"show_on_clock": false
}
},
"sbio": {
Expand All @@ -96,10 +102,10 @@
"delay": 30
},
"dimmer": {
"enabled": false,
"enabled": true,
"source": "software",
"daytime": "",
"nighttime": "",
"daytime": "07:00",
"nighttime": "22:00",
"offset": 0,
"frequency": 5,
"light_level_lux": 400,
Expand Down
12 changes: 6 additions & 6 deletions config/colors/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"forecast_lo": [0,0,255]
},
"wx_curr_wind": {
"wind": [255,255,0],
"gust": [173,255,47],
"wind": [200,16,46],
"gust": [241,190,72],
"pressure": [218,165,32],
"visibility": [218,165,32]
"visibility": [200,16,46]
},
"wx_curr_precip": {
"precipchance": [0,191,255],
"humidity": [0,255,255],
"humidity": [200,16,46],
"preciptype_na": [0,206,235],
"pressure": [218,165,32],
"dewpoint": [24,252,0]
"pressure": [200,16,46],
"dewpoint": [241,190,72]
},
"wx_alert": {
"watch_us": [255,165,0],
Expand Down
123 changes: 0 additions & 123 deletions config/config.json.sample
Original file line number Diff line number Diff line change
@@ -1,124 +1 @@
{
"debug": false,
"loglevel": "INFO",
"live_mode": true,
"preferences": {
"time_format": "12h",
"end_of_day": "8:00",
"location": "",
"live_game_refresh_rate": 10,
"teams": [
"Canadiens"
],
"sog_display_frequency": 4,
"goal_animations": {
"pref_team_only": true
}
},

"states":{
"off_day": [
"team_summary",
"clock"
],
"scheduled": [
"team_summary",
"scoreticker",
"clock"
],
"intermission": [
"scoreticker",
"team_summary"
],
"post_game": [
"team_summary",
"scoreticker",
"clock"
]
},

"boards": {
"scoreticker": {
"preferred_teams_only": false,
"rotation_rate": 5
},
"seriesticker": {
"preferred_teams_only": true,
"rotation_rate": 5
},
"standings": {
"preferred_standings_only": true,
"standing_type": "division",
"divisions": "atlantic",
"conference": "eastern"
},
"clock": {
"duration": 15,
"hide_indicator": false,
"preferred_team_colors": true,
"clock_rgb": "",
"date_rgb": "",
"flash_seconds": true
},
"weather": {
"enabled": false,
"view": "full",
"units": "metric",
"duration": 60,
"data_feed": "EC",
"owm_apikey": "",
"update_freq": 5,
"show_on_clock": true,
"forecast_enabled": false,
"forecast_days": 3,
"forecast_update": 1
},
"wxalert": {
"alert_feed": "EC",
"update_freq": 5,
"show_alerts": false,
"nws_show_expire": false,
"alert_title": true,
"scroll_alert": true,
"alert_duration": 5,
"show_on_clock": true
}
},
"sbio": {
"screensaver": {
"enabled": false,
"animations": true,
"start": "22:00",
"stop": "08:00",
"data_updates": false,
"motionsensor": false,
"pin": 7,
"delay": 30
},
"dimmer": {
"enabled": false,
"source": "software",
"daytime": "",
"nighttime": "",
"offset": 0,
"frequency": 5,
"light_level_lux": 400,
"mode": "always",
"sunset_brightness": 5,
"sunrise_brightness": 40
},
"pushbutton": {
"enabled": false,
"bonnet": false,
"pin": 25,
"reboot_duration": 2,
"reboot_override_process": "",
"display_reboot": true,
"poweroff_duration": 10,
"poweroff_override_process": "",
"display_halt": true,
"state_triggered1": "weather",
"state_triggered1_process": ""
}
}
}
22 changes: 11 additions & 11 deletions config/fonts/fonts.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"size": 16
},
"medium_2": {
"file": "04B_24__.TTF",
"file": "04b24.otf",
"size": 16
},
"large": {
"file": "04B_24__.TTF",
"file": "04b24.otf",
"size": 24
},
"wxicons_full": {
Expand All @@ -28,23 +28,23 @@
"size": 18
},
"wx_medium": {
"file": "04B_03B_.TTF",
"size": 8
"file": "Perfect DOS VGA 437.ttf",
"size": 16
},
"wx_large": {
"file": "04B_03B_.TTF",
"size": 14
"file": "Perfect DOS VGA 437.ttf",
"size": 16
},
"wx_alert": {
"file": "vcr_mono.ttf",
"size": 14
"file": "Perfect DOS VGA 437.ttf",
"size": 16
},
"wx_alert_sm": {
"file": "press2p.ttf",
"size": 9
"file": "Perfect DOS VGA 437.ttf",
"size": 16
},
"wx_alert_lg": {
"file": "VGA.ttf",
"file": "Perfect DOS VGA 437.ttf",
"size": 16
}

Expand Down
24 changes: 12 additions & 12 deletions config/fonts/fonts_128x64.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"_default": {
"file": "04B_24__.TTF",
"file": "runescape_uf.ttf",
"size": 16
},
"medium": {
"file": "score_large.otf",
"file": "Perfect DOS VGA 437.ttf",
"size": 32
},
"medium_2": {
"file": "04B_24__.TTF",
"file": "07558_CenturyGothic.ttf",
"size": 16
},
"large": {
"file": "04B_24__.TTF",
"file": "07558_CenturyGothic.ttf",
"size": 40
},
"wxicons_full": {
Expand All @@ -28,20 +28,20 @@
"size": 18
},
"wx_medium": {
"file": "04B_03B_.TTF",
"size": 8
"file": "runescape_uf.ttf",
"size": 16
},
"wx_large": {
"file": "04B_03B_.TTF",
"size": 14
"file": "Perfect DOS VGA 437.ttf",
"size": 16
},
"wx_alert": {
"file": "vcr_mono.ttf",
"size": 14
"file": "Perfect DOS VGA 437.ttf",
"size": 16
},
"wx_alert_sm": {
"file": "press2p.ttf",
"size": 9
"file": "Perfect DOS VGA 437.ttf",
"size": 16
}

}
2 changes: 1 addition & 1 deletion config/layout/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"font": "medium"
},
"scheduled_date": {
"position": ["50%", 0],
"position": ["50%", 1],
"align": "center-top"
},
"scheduled_time": {
Expand Down
Loading

0 comments on commit 5831d73

Please sign in to comment.