That’s cool, and I’m glad you’ve made the TV take a vow of solitude!
Comment on What's your weirdest or most unique self-hosted use case and solution?
smiletolerantly@awful.systems 1 day 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.
hansolo@lemmy.today 16 hours ago
giant_smeeg@feddit.uk 23 hours 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 21 hours ago
Do you need a Github link? Assuming recent-ish LG, should he the same.
WhyJiffie@sh.itjust.works 13 hours ago
did you think about automating even the switching of the brightness? HA could do this based on the day-night cycle, dawn, etc. or it could also work with a room light detector
smiletolerantly@awful.systems 57 minutes ago
Hah, great question. I did. And then I realized, this only works if the TV is on the moment the switch happens.
Which in the evening is actually pretty commonly the case… But never in the morning.