fowlerk / esp8266-color-weather-station-v8 Goto Github PK
View Code? Open in Web Editor NEWEnhanced ESP8266 Color Weather Station w/ On-Demand Configuration
License: GNU General Public License v3.0
Enhanced ESP8266 Color Weather Station w/ On-Demand Configuration
License: GNU General Public License v3.0
keep getting error for #include <simpleDSTadjust.h> and i cannot find a simpleDSTadjust.h that will work
Not really an issue but where do i enter my WundergroundClient API Key and my ThingspeakClient and Last but not least how do i get it to connect to my wifi?
Reading the Weather Underground documentation tells me that multiple API calls can be aggregated into one call. It looks like the weather station makes three API calls: conditions, forecasts, and astronomy. To combine the calls each needs to be catenated in the URL request.
For instance the example below combines 1) geolookup 2) conditions and 3) forecast into one call:
The format is so easy to understand that I overlooked the solution several times when reading the documentation. I'm going to build on top of your mods this weekend to see if I can get this working. I'm unfamiliar with json and it's implementation in the weather station so I might be stumbling along. I'll let you know how I fare, I'm using your mods as a starting place because the alerts you enabled are important to me and I want to use them.
Update: Wow. This was incredible easy to do. I added one line to boththe WU cpp and h with the aggregate statements and bam! bob's my uncle. Sorry to have bothered you.
Did the graphics change recently? I did a format and rest the JSON file to create a new download and now my graphics look odd. The top large graphic for the sunny is split in two. Like it rolls off the screen. Smaller graphcs are all garbled and show up as white/yellow smears.
Keith,
Sorry, not an issue; I just haven't managed to work out how to submit a pull request yet. Here's a diff on the latest, main WeMos...V8.ino file for the Tokyo/JST timezone.
690a687,692
} else if (TZ_CITY == "Tokyo") {
UTC_OFFSET = +9;
StartRule = (dstRule) {"JST", First, Sun, Nov, 1, 0}; // Japan Standard time = UTC/GMT +9 hours.
EndRule = (dstRule) {"JST", First, Sun, Nov, 1, 0}; // NO DST.
#define NTP_SERVERS "3.jp.pool.ntp.org", "0.jp.pool.ntp.org", "2.jp.pool.ntp.org"
IS_METRIC = true;
Excellent work on extending Dani's original, by the way. I really like the update panels, even though my eyes are a bit too far gone nowadays to read the tiny text. :-)
Best wishes from Nagano-ken,
-John-
Can you summarize the hardware hookup? I see the display lists only the CS and DC pins. I am assuming the remainder are the standard SPI interface pins of the ESP8266? I don't have the WeMos device but a NODEMCU 1.0 so would be nice to have both shown.
It would be great to have a wifihotspot started once no known wifi is available and a simple webserver running.
This way you could connect to this Hotspot (by smartphone for example) and connect it to a different WiFi.
I know it is possible just not very good in digging into this code to change but not break it.
I attempted to compile with the Adafruit DHT library thinking that was the defacto standard DHT library but I get a compile error. To get around the error I have had to comment out all DHT lines. Is there a preferred DHT library? Yes I understand you have it set to FALSE as far as testing for the presence of the sensor but I believe you still need to have the library present to compile.
Correct me if I am wrong...
How would you go about rotating the screen from portrait to landscape?
Hi,
Just got your code working, love it... I do however want to get my Thingspeak channel displaying.
Other than the uncomment to define the channel I cant see any code to actually display it.
I was also looking for the code that displays the DHT temperature, again, dont see that in the code?
Am I missing something?
Many thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.