Holy shit! I’m going to need this, so +1 if you’re taking requests to put this on GitHub. I’ve been complaining to my partner for a while that our TV’s remote has a million fucking buttons that we never need, but doesn’t have brightness up/down buttons that we need every day.
Comment on What's your weirdest or most unique self-hosted use case and solution?
smiletolerantly@awful.systems 3 days ago
I have a lot of custom stuff, esp. regarding HomeAssistant integrations. But my favorite “stupid/not stupid if it works” solution is the following:
I have an LG TV and attached Nvidia Shield. The Shield is the only input we ever use on the TV, and since its remote also can turn the TV on/off and control volume, its all we need. Which is pretty neat, only one remote.
Except for image settings (i.e. proper bright picture during the day, different less bright image mode during the night). I don’t want to keep the extra remote on the couch just for that, but unfortunately, these settings are not exposed via HDMI CEC.
They are, however, exposed via a web API on LG TVs. So my utterly stupid solution is this:
- install quick actions app on the shield
- reconfigure Netflix button on the shield remote to open quick actions popup
- add two quick actions, night and day, that curl simple HTTP endpoints on a VM I set up
- on the VM, a simple flask server listens, and then sends the (too complex for the quick actions app) API request to the TV.
(I feel the need to add: the TV is in an isolated subnet and has never once communicated with the internet, and it will damn well die an internet virgin.)
Anyways, this has been working flawlessly for 2+ years! I also have toggles in HA for the same endpoints, but honestly, never use them. It’s so nice to just be able to toggle the image via remote.
overcast5348@lemmy.world 2 days ago
smiletolerantly@awful.systems 2 days ago
Is it an LG though? The APIs I’m using are WebOS specific
overcast5348@lemmy.world 2 days ago
Yup, LG c1 or c2 iirc.
giant_smeeg@feddit.uk 3 days ago
Respect the hustle. This sounds useful for me, as I lower the brightness for the kids so I dont burn in their content.
I just aint setting that up! Nice work.
smiletolerantly@awful.systems 3 days ago
Do you need a Github link? Assuming recent-ish LG, should he the same.
hansolo@lemmy.today 3 days ago
That’s cool, and I’m glad you’ve made the TV take a vow of solitude!