I wanting to display a few weather values to a TFT or OLED display from my home weather station. I've been googling this for a week not finding any answers.
My weather station produces a CSV text file every 30 seconds of weather values to my local NAS. Using a browser, 192.168.1.50/weather/realtime.txt will produce this string on the screen.
I'm trying to figure out how, using a Adafruit Feather (esp8266) I can display 3 or 4 weather values to a small attached TFT or preferably a OLED? My coding abilities are limited (cut and paste) but I'm beginning to understand how code works and in the past have edited existing code to meet my goal. The problem with this goal is I can't find anything close.
I've found lots of cloud base weather services using an API but I want to display my weather station data. Not from somewhere 100 miles away.
Find a web client example for your ESP and point it at your NAS. To start with, just echo what you receive to serial. Once that is working, try to parse out some useful values for the displ.
A "browser" is an HTTP/Web client. Using whatever HTTP Client library is suitable for your hardware, request the page contents. Once you get the response from the server you can use the data however you like.
After selecting Tools->Board: Adafruit Feather (or whatever), check File->Examples for a Web Client or HTTP Client example.
wildbill, I was able to create a template file that reduced the 58 weather parameters down to only 4. Now to figure out how to send the serial print to display print. Thanks for your help.
"you can use the data however you like"
This is my first attempt at pulling data from another device and displaying it on a OLED. Very, very much a newbie here.