Is there code available for the weather display with the orange background shown in the product listing?
I do believe that is this display.
And the examples are here
I had a quick look at the all in one py file in the enviro+ examples
I “think” you need to edit this line under the # Set up canvas and font
img = Image.new(‘RGB’, (WIDTH, HEIGHT), color=(0, 0, 0))
change color to color=(255, 140, 0)
It goes as follows (R, G, B) 0 is off and 255 is full bright for that color LED. Play with the green 140 setting to get the orange color you want.
Thanks for the help. I was pointed over to this code by support: https://github.com/pimoroni/enviroplus-python/blob/enviro-non-plus/examples/weather-and-light.py
Now having and issue with this line on a raspian lite install:
from fonts.ttf import RobotoMedium as UserFont
I have installed fonts with PIP so not sure what I am missing now.
I’m not sure what to do either. My Linux skills are about average at best.
Try copying the font sub-directory into the same directory as the code is running from.
Thanks for the help.
Tried that with no luck. Also just rebuilt the pi zero from scratch with a full Raspian install just to test.
Same issue. I was able to bypass that font issue with another line of code but now other errors related to coding for different Python versions I think. I sent a note directly to support also.
Looks like I may just have to try to go through all of it to see how each piece fails.