Skip to content
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

Reporting sites that aren't pulling either due to being down or under maintenance make the LED turn off #33

Closed
cbronner35 opened this issue Feb 4, 2022 · 2 comments

Comments

@cbronner35
Copy link

Just as the subject line said. Was wondering if it were possible to light up the LED orange if for some reason it has trouble fetching from a particular reporting side. People always think I have an LED light out when one reporting site fails lol

@cbronner35 cbronner35 changed the title Reporting sites that aren't pulling either due to be down or under maintenance make the LED turn off Reporting sites that aren't pulling either due to being down or under maintenance make the LED turn off Feb 4, 2022
@prueker
Copy link
Owner

prueker commented Feb 4, 2022

Yes, you can do this easily,just define another color at the top, so if you wanted orange, you could define
COLOR_ORANGE = (128,255,0) # Orange
and then replace the default for when there's no condition down in the loop around line 233 from
color = COLOR_CLEAR
to your newly defined color like
color = COLOR_ORANGE

Then it will show up in orange if there's no condition reported currently.

@prueker prueker closed this as completed Feb 4, 2022
@cbronner35
Copy link
Author

cbronner35 commented Feb 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants