riffnshred / nhl-led-scoreboard

🚨 Display NHL live score, stats, and more of your favorite teams, on a Raspberry Pi driven RGB LED matrix. 🚨
GNU General Public License v3.0
421 stars 96 forks source link

LED brightness control #395

Open twholbrook opened 1 year ago

twholbrook commented 1 year ago

Hi, I previously installed the traditional way and I recall settings for LED brightness at sunrise/sunset/etc. I recently had to flash and reinstall and I reinstalled from the image - is there still a way to control the LED brightness?

falkyre commented 1 year ago

Under the sbio section of the config.json, there's a dimmer section. Set it to be enabled and the source to be software and it'll use your location to set the brightness based on sunrise and sunset.

"dimmer": { "enabled": false, "source": "software", "daytime": "", "nighttime": "", "offset": 0, "frequency": 5, "light_level_lux": 400, "mode": "always", "sunset_brightness": 5, "sunrise_brightness": 40 },