Remix.run Logo
Weather Landscape on E-Ink with ESP32 – now rewritten in Rust(github.com)
11 points by _usr_bin_env 2 days ago | 5 comments
_usr_bin_env 2 days ago | parent | next [-]

I came across this idea here on Hacker News a while ago – a small weather display using an ESP32 and an e-ink screen to show a daily weather landscape. I loved it and shared the idea with a friend of mine. He went all in and rebuilt the whole thing in Rust – from the image rendering server to the embedded code on the ESP32.

It's a clean, minimal two-part project:

A Rust server fetches weather data from MET Norway and renders it as a landscape image.

An ESP32 downloads and displays the image on a 2.9" e-ink screen.

Here’s the repo: https://github.com/martinohmann/weather-landscape Would love to hear what you think!

whytevuhuni a day ago | parent [-]

How does it loop, if at all? Does it just restart at the end after it falls out of `main()`?

This is definitely something I'd like to try. Gotta figure out where to run the server... maybe a good time to figure out how to do custom Home Assistant add-ons.

How long do those batteries last you? Even with the deep sleep, I imagine doing the WiFi handshake every time is going to be expensive.

_usr_bin_env a day ago | parent [-]

As far as I understand it has a deep-sleep" timer that wakes it every X minutes (mine every 30). This gives me approximately 1 Month with 4 AA rechargeable. Larger sleep intervals, other esp dev boards or larger rechargeable will increase this.

adammarples a day ago | parent | prev [-]

People on github remain allergic to pictures, there's even a text description of each weather mode so that we can imagine it!

_usr_bin_env 18 hours ago | parent [-]

Text output would have been too easy on the eink screen xD