Page 1 of 1

Setting OLED Contrast

Posted: 18 Oct 2018, 17:42
by Wiki
Hi,

I am looking for a possibilty to set the contrast of the display depending on an event. I would prefer to put it into rules to give domoticz the ability to adjust the contrast depending on sunrise/sunset.

Any ideas?

Re: Setting OLED Contrast

Posted: 20 Oct 2018, 20:53
by TD-er
At this moment the Framed OLED plugin is the only one able to set the contrast.
The command is "OLEDFRAMEDCMD" and the options are:
- off
- on
- low
- med
- high

Commands can be sent from the rules.

Re: Setting OLED Contrast

Posted: 20 Oct 2018, 21:06
by Wiki
Thanks a lot, that is exactly what I was looking for. Done.

Re: Setting OLED Contrast

Posted: 18 Feb 2020, 21:28
by smhex
I was just trying this with the current build on my WeMos mini. However, every http call resulted in Unknown command. The Oled itself is working as expected. I would like to use the framed device for better readability but need to switch it off...

Is there a different way to test it?

Thanks

Re: Setting OLED Contrast

Posted: 19 Feb 2020, 09:50
by Patou
Hello,
Just a mistake in the command name ....
it should be : OledFRAMEDCmd,Display,.... on/off/low...
Patou

Re: Setting OLED Contrast

Posted: 20 Feb 2020, 19:09
by smhex
Perfect, couldn't find that information in the wiki. Works as expected!

Re: Setting OLED Contrast

Posted: 20 Feb 2020, 21:09
by TD-er
smhex wrote: 20 Feb 2020, 19:09 Perfect, couldn't find that information in the wiki. Works as expected!
Use the source, Luke! ;)

Re: Setting OLED Contrast

Posted: 20 Feb 2020, 22:11
by smhex
Use the source, Luke! ;)
Already on my todo list :D