grow-python icon indicating copy to clipboard operation
grow-python copied to clipboard

Feature request: turn off display at night

Open patoberli opened this issue 4 years ago • 3 comments

Hi all I have a little feature request. It would be great if the light sensor could be used to disable the display at night. That should also increase the lifespan of the display.

Thanks for adding this :)

patoberli avatar May 13 '21 10:05 patoberli

I implemented this in my examples/monitor.py file, but somehow the changes are not used. Is this the right file to modify?

MikLang avatar Aug 26 '21 21:08 MikLang

I have no idea, but could you also post your modification? I have also seen some other LCDs in the past that actually could not be turned off, like the one I have on my Octoprint, which is kind of sad.

patoberli avatar Aug 27 '21 06:08 patoberli

Have merged #6 which supports this functionality, but doesn't actually turn off the display- ie: it just draws a black screen.

I'll need to add full off support into the ST7735 driver. Have raised https://github.com/pimoroni/st7735-python/issues/17 to track this.

Gadgetoid avatar Aug 27 '21 22:08 Gadgetoid