-
Home Assistant
:house_with_garden: Open source home automation that puts local control and privacy first.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
IF you want to use your magic remote to do this, you will have to root your TV. This project will support using a magic remote button to set a Dynamic Tone Mapping value. Alternatively, but still requiring root, in the WebOS HomeBrew store there is a project called LGInputHook that can also do this.
If you don't want to root your TV, there are various ways to run the above command through the TV's API. Home Assistant is one popular way, so you could use the HA app on your phone to control it. If you decide to pursue that, here's an HA script that will do it.