Software Setup - ilikecake/ESP32-Wall-Display GitHub Wiki

You will want to complete the software installation after the wiring is complete, but before you install the parts in the case.

Step 1.

Follow the directions here to install circuit python onto the Feather. I used Circuit Python V8.0.3, as the latest stable version at the time of writing. If you use a different version, you may need to update the libraries below.

Step 2.

Copy/clone the contents of the software directory to the CIRCUITPY drive. Make sure you get both the three python files and the 'lib' subfolder.

Step 3.

If you used a different version of Circuit Python, you will need to use new libraries. The latest libraries can be found here. Even if you used the same version of Circuit Python, there might be new versions of the libraries available.

The required libraries are:

  • adafruit_bme280 (folder)
  • adafruit_bus_device (folder)
  • adafruit_display_text (folder)
  • adafruit_minimqtt (folder)
  • adafruit_register (folder)
  • adafruit_displayio_sh1107.mpy
  • adafruit_ntp.mpy
  • adafruit_requests.mpy
  • neopixel.mpy

You can also use CircUp to update/install the required libraries.

Step 4.

Update the 'secrets_template.py' file with your favorite text editor to set up the required fields. Save the updated file as 'secrets.py' in the same directory.

Step 5.

If you want, in the 'weather_display.py' file, update the 'DisplayShouldBeOn' function. This function controls when the display should be always on.

Step 6.

At this point, your device should be working:

  • Taking local measurements and sending them to the MQTT broker
  • Displaying the local and remote measurements on the display.
  • The buttons should switch modes

Take some time at this point to verify that the device is working properly.