@sdetweil I want to control the Display brightness with a python command to the RemoteControl module.
Example: If the LDR give an number lower than 800 I will hide module XY and set the Display brightness to 50%. If the LDR ist higher than 800 I will show module XY and set the brightness to 100%. Show and hide is working but I don’t know how to set the brightness by the sam way.
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
P
Latest posts made by Phoenix
-
RE: MMM-RemoteControl - set BRIGHTNESS with Python
-
MMM-RemoteControl - set BRIGHTNESS with Python
I would control my MagicMirror with a LDR. If it is dark I would hide modules and if it is light I would show modules. For this funktion I use
r = requests.get(‘http://127.0.0.1:8080/remote?action=HIDE&module=module_2_currentweather’)
and
r = requests.get(‘http://127.0.0.1:8080/remote?action=SHOW&module=module_2_currentweather’)
and it works well. But I want to set the brightness by the same way and I don’t now what the command is. Can anybody help?
Thanks Sven