nfl-led-scoreboard icon indicating copy to clipboard operation
nfl-led-scoreboard copied to clipboard

Preferred team not showing live, wrong team is displayed and does not rotate (GB Packers)

Open jediempi opened this issue 3 years ago • 7 comments

I am using the f/rotate games fork.

When the rotation is set to “true” and the only preferred is set to “false”, and the while preferred team live is set to “false” it does not display the correct team. My preferred team are Texas, and Green Bay, it is currently displaying the chargers and broncos and not GB.

Script used to launch the matrix: sudo python main.py --led-gpio-mapping="adafruit-hat-pwm" --led-brightness=40 --led-slowdown-gpio=2 --led-cols 64

config.json { "preferred": { "teams": ["TX", "GB"] }, "rotation": { "enabled": true, "only_preferred": false, "rates": { "live": 15.0, "final": 10.0, "pregame": 10.0 }, "while_preferred_team_live": { "enabled": false, "during_halftime": true } }, "scrolling_speed": 2, "use_helmet_logos": true, "debug": "true" }

jediempi avatar Nov 28 '21 22:11 jediempi

What happens is you add --rows=32 at the end of that script? I see that is missing after the cols 64. Also, there is a missing "=" sign in the --led-cols 64.

I'm not sure if the rows needs to be there or not. Just a shot.

pjockey avatar Nov 29 '21 00:11 pjockey

Good eye on the = sign missing! I updated the code, but won't know if it worked until next Sunday when there are a bunch of games on. The matrix display shows the teams perfectly. Which leads me to believe the cols and rows are not the culprit, but I've seen crazier things.

I also added the --led-rows=32 bit to the script. I was reading through hzellers GitHub (https://github.com/hzeller/rpi-rgb-led-matrix) and it says the default for rows is 32. It can't hurt to hard code it in though.

I'm using Supervisor to launch the NFL app along with the NBA, MLB, NHL, Tetris Clock, and Weatherstation. Is there a script like the NBA scoreboard that needs to run in the background (cron job) which gathers all of the teams and handles the rotation? Or is everything handled by launching main.py?

Thanks for the help and guidance!

jediempi avatar Nov 29 '21 02:11 jediempi

I use Supervisor to switch between NFL, NHL and MLB. That's it at the moment. I believe my NFL config.json is the same as yours, except for the teams, and I don't have a rotations problem yet.

pjockey avatar Nov 29 '21 02:11 pjockey

Good eye on the = sign missing! I updated the code, but won't know if it worked until next Sunday when there are a bunch of games on. The matrix display shows the teams perfectly. Which leads me to believe the cols and rows are not the culprit, but I've seen crazier things.

I also added the --led-rows=32 bit to the script. I was reading through hzellers GitHub (https://github.com/hzeller/rpi-rgb-led-matrix) and it says the default for rows is 32. It can't hurt to hard code it in though.

I'm using Supervisor to launch the NFL app along with the NBA, MLB, NHL, Tetris Clock, and Weatherstation. Is there a script like the NBA scoreboard that needs to run in the background (cron job) which gathers all of the teams and handles the rotation? Or is everything handled by launching main.py?

Thanks for the help and guidance!

Hey were you able to figure out your issue? I'm having the same problem.

Blueice119 avatar Oct 25 '22 22:10 Blueice119

Unfortunately no. I still can't get the live games to cycle and stop when the GB packers are live. I have to choose to either have it cycle all games always, or set it to only my preferred team and turn live cycling off.

I went so far as to delete and reinstall the nfl repo and still have the issue.

jediempi avatar Oct 25 '22 23:10 jediempi

Hey yeah sorry guys, this is still a bug and I've been pretty overwhelmed IRL to tackle it. Really want to fix it asap and have a plan on paper so I will try to prioritise this asap

On Tue., Oct. 25, 2022, 7:09 p.m. jediempi, @.***> wrote:

Unfortunately no. I still can't get the live games to cycle and stop when the GB packers are live. I have to choose to either have it cycle all games always, or set it to only my preferred team and turn live cycling off.

I went so far as to delete and reinstall the nfl repo and still have the issue.

— Reply to this email directly, view it on GitHub https://github.com/mikemountain/nfl-led-scoreboard/issues/41#issuecomment-1291233106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY2XVQBMGUW64MZN6FG2BTWFBSDJANCNFSM5I5ZZWZA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mikemountain avatar Oct 25 '22 23:10 mikemountain

I'm super appreciative for all the work you've done! It's amazing to have the scoreboard going along side the game, and I'm a tech person so it's not too much of a hassle to edit the script when my team is live.

Would you be willing to share your thoughts on why this bug is happening?

jediempi avatar Oct 25 '22 23:10 jediempi