# Enviro+ weather display

**URL:** <https://forums.pimoroni.com/t/enviro-weather-display/13021>\
**Category:** Support\
**Created:** [February 13, 2020, 3:40am UTC](https://forums.pimoroni.com/t/enviro-weather-display/13021 "2020-02-13T03:40:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkpim](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kkpim](https://forums.pimoroni.com/u/kkpim)\
**Post date:** [February 13, 2020, 3:40am UTC](https://forums.pimoroni.com/t/enviro-weather-display/13021/1 "2020-02-13T03:40:45Z")

</div>

Is there code available for the weather display with the orange background shown in the product listing?

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 13, 2020, 10:05am UTC](https://forums.pimoroni.com/t/enviro-weather-display/13021/2 "2020-02-13T10:05:17Z")

</div>

I do believe that is this display.

> **[0.96" SPI Colour LCD (160x80) Breakout – Pimoroni Store](https://shop.pimoroni.com/products/0-96-spi-colour-lcd-160x80-breakout)**
>
> A handy lil' LCD to add readouts to your projects. This 0.96" SPI LCD has a 2:1 widescreen aspect ratio, has great viewing angles (IPS), and works with Raspberry Pi or Arduino.

  
And the examples are here  

> **[pimoroni/st7735-python](https://github.com/pimoroni/st7735-python/tree/master/examples)**
>
> Python library to control an ST7735 TFT LCD display. Allows simple drawing on the display without installing a kernel module. - pimoroni/st7735-python

I had a quick look at the all in one py file in the enviro+ examples

> <https://github.com/pimoroni/enviroplus-python/blob/master/examples/all-in-one.py>

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.

---

<div class="post-metadata">

**Author:** ![kkpim](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kkpim](https://forums.pimoroni.com/u/kkpim)\
**Post date:** [February 13, 2020, 4:33pm UTC](https://forums.pimoroni.com/t/enviro-weather-display/13021/3 "2020-02-13T16:33:14Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [February 13, 2020, 4:36pm UTC](https://forums.pimoroni.com/t/enviro-weather-display/13021/4 "2020-02-13T16:36:50Z")

</div>

I’m not sure what to do either. My Linux skills are about average at best.

---

<div class="post-metadata">

**Author:** ![Crowbot](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/crowbot/32/5888_2.png) [@Crowbot](https://forums.pimoroni.com/u/Crowbot)\
**Post date:** [February 14, 2020, 12:48pm UTC](https://forums.pimoroni.com/t/enviro-weather-display/13021/5 "2020-02-14T12:48:43Z")

</div>

Try copying the font sub-directory into the same directory as the code is running from.

---

<div class="post-metadata">

**Author:** ![kkpim](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kkpim](https://forums.pimoroni.com/u/kkpim)\
**Post date:** [February 14, 2020, 5:48pm UTC](https://forums.pimoroni.com/t/enviro-weather-display/13021/6 "2020-02-14T17:48:29Z")

</div>

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.
