-
Notifications
You must be signed in to change notification settings - Fork 136
scheduler: add HDMI switching #45
base: main
Are you sure you want to change the base?
Conversation
I've to realize that's not gonna work as the cec-client on alpine has no RPi support compiled. |
Tested Debian as well. cec-client and tvservice are hanging on my RPi2. |
4ecb93a
to
47ad7b8
Compare
finally got a working solution, we have to build libcec by hand to get RPi support |
@dansku @chrisys @shaunmulligan are u interested in upstreaming this? |
Just for reference the alpine bug for this https://gitlab.alpinelinux.org/alpine/aports/issues/7754 |
@escoand yes, I'm absolutely interested in getting this merged! Thanks so much for sharing your work here. I'll give it a test and review here, but in the meantime could you take a look here and update your commit message accordingly: https://github.com/balena-io-projects/balena-dash/blob/master/CONTRIBUTING.md |
@chrisys yes, sure. So it has to be only a single commit? And what kind of commit is it? Minor? |
@escoand yep just one of the commits, and minor is good for this as it's a (great) new feature! |
Change-type: minor
f789b80
to
1f6d5f2
Compare
@chrisys the code should be ready for merge. |
Are there open problems? Or why is the PR still pending? |
@escoand I tested this today finally - I couldn't get it to work on my monitor. I would prefer it if the changes leave the default behavior unchanged and add functionality; right now it looks like there's a risk of it being a breaking change as it defaults to using |
Sure, but there seem to be a lot interesting states https://www.raspberrypi.org/forums/viewtopic.php?t=52309 |
@chrisys what does |
Is there any update on this? I would like to be able to sleep my HDMI monitor at night and all the documentation seems to say that only the RPi screen is able to do that at the moment. |
With this PR it should work but switched to Screenly and don't use this anymore. |
Add ability to switch HDMI connected displays with the scheduler as well.
Maybe we should rename the variables from
BACKLIGHT
toDISPLAY
.My RPi display is not usable currently. Is somebody willing to test it with this change?