Page 1 of 1

Display Realtime.txt On Small OLED or TFT?

Posted: Wed 26 Jan 2022 3:42 am
by randy52644
I'm looking for some direction to use the realtime.txt file to display just of few weather parameters on a small OLED or TFT.
My idea is to use a wifi device like a ESP32 or similar with an attached small display for temp, humidity, windchill, etc.
Realtime.txt is currently pushed out to my local NAS every 20 seconds or so. I have already parsed this file using Node Red for display via html displays. But now I'd like to use a small portable self contained microprocessor design.
I've seen similar projects but they're all cloud based using weather data from a source other than my own weather station.

Re: Display Realtime.txt On Small OLED or TFT?

Posted: Wed 26 Jan 2022 11:33 am
by dazza1223
take a look here this what i use on my pi 4 with small TFT

https://github.com/philpugh1951/WeatherClock

Re: Display Realtime.txt On Small OLED or TFT?

Posted: Wed 26 Jan 2022 6:22 pm
by randy52644
Well that's pretty close to what I had in mind. However instead of using a microcomputer like a RPi that has to boot and run an OS, I wanted to use a microcontroller. But if I don't find something like that, your application would work.

Re: Display Realtime.txt On Small OLED or TFT?

Posted: Thu 27 Jan 2022 6:15 pm
by SamiS
Finnish computer magazine Mikrobitti created a battery powered bus schedule display to fridge door with Wemos D1 mini and Waveshare ePaper-display. It was esp8266 based, and used ArduinoJSON, GxEPD and Adafruit GFX. That project can probably be converted to show any http-accessible json data (like the one provided by cumulusmx) easily. It has been almost 4 years since the article, so probably there are better solutions nowdays, but maybe this gives some ideas. Unfortunately the article is not freely available.

Re: Display Realtime.txt On Small OLED or TFT?

Posted: Thu 27 Jan 2022 8:49 pm
by randy52644
I've seen similar articles over the years. But since I am not a coder, I have to rely on others to do the heavy lifting. I can copy and paste but coming up with the actual how to do it code is beyond my current capabilities.

Re: Display Realtime.txt On Small OLED or TFT?

Posted: Sat 29 Jan 2022 10:29 am
by SamiS
I have the very same problem of not being a coder. But for example in this case basically ”all” you need to change in the code is the http url of the json data file to be retrieved, and change the field names that will be printed on the screen to match the cumulus data. So at least in theory it should be doable without almost any coding skills. Haven’t tried yet though. But of course there is the possibility of the devil being in the details. :?

Re: Display Realtime.txt On Small OLED or TFT?

Posted: Sun 30 Jan 2022 1:46 am
by randy52644
It's not as easy as it sounds :?
I spent most of today just trying to adapt some Arduino code to pull the realtime.txt file into the software. I got no where fast. I've googled this subject for weeks and most not be using the correct search terms....nothing even close. Goggle usually will get me started but this project is hitting a brick wall.