Read the statement by Michael Teeuw here.
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 -
@Phoenix what do you mean by brightness?
Monitor control, or MagicMirror app controlIf the former, I don’t think there is any interface to the hardware.
If the latter, you would have to change the css . And maybe for a lot of elements. I haven’t seen anyone do that.
-
@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. -
@Phoenix as I said there is no ‘simple’ way. one would have to write code to do that
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login