-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preferred team not showing live, wrong team is displayed and does not rotate (GB Packers) #41
Comments
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 I'm not sure if the rows needs to be there or not. Just a shot. |
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! |
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. |
Hey were you able to figure out your issue? I'm having the same problem. |
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. |
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
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY2XVQBMGUW64MZN6FG2BTWFBSDJANCNFSM5I5ZZWZA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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? |
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"
}
The text was updated successfully, but these errors were encountered: