Just in time for the beginning of the new year I added a demo for the WeatherStation which displays various world times together with a pretty icon. Just update the WeatherStation library in your Arduino IDE to the latest version or download it manually from here: https://github.com/squix78/esp8266-weather-station
Then you can open the demo from File > Examples > ESP8266 Weather Station > WorldClockDemo
Then you can open the demo from File > Examples > ESP8266 Weather Station > WorldClockDemo
The used icons are designed by Adam Whitcroft: http://adamwhitcroft.com/offscreen/
Happy New Year!
Hi Dani, do you think you could run two of these small displays off the one esp8266?
Could have one showing the weather and the other one the time.
Matt.
Hi Matt. Yes, you can! I have hooked up three displays once and it works. But – and there is always a but – the performance suffers. You might experience slaggy animations. In that case I would suggest to get rid of the carousel animation and just display static images
Cheers,
Dani
Hello Dani,
did you use three displays with diffrent i2c adresses on 2 gpio pins or did you use 6 pins for own i2c comminication for every single display?
regards
Marco
The displays that I'm using have the I2C address "hard coded". I guess if you would switch the bridge transistor on the back of the display you could run them from the same two pins. I just ran them of three different I2C bus pairs…
Hi Daniel,
thank you very much for publishing the sources for this nice project. Here is my (stripped down) version ->
https://blog.georgmill.de/2016/01/02/esp8266-weather-station-with-mirror-display/
any luck getting this to work with the latest arduino IDE?
Hi!
When compile the examples, the compiler stop with this:
exit status 1
'drawFrame1' was not declared in this scope
I am using Arduino version 1.6.7. Any idea?.
Arduino IDE Version 1.6.7 and 1.6.6 are currently not supported by the ESP8266 platform. Please use 1.6.5
Hello,
Arduino 1.6.7 works pretty good, if you place prototypes of your functions in *.ino in front.
It's the simple solution for error "…was not declared in this scope"
That's all.
Hi,
I don't know convert file .png to hex, could you guide me. Please. I'm not good speak English.
Regards
Not sure if this is any use…. (I plan to try it)… http://www.14core.com/c-array-generator/
Great little project, which I’ve successfully run on my NodeMCU. Thanks for posting it!
But I’m struggling to understand the timezone stuff, given that it’s all ‘hidden’ deep in some library somewhere. Perhaps you can give me a few tips…
If I change:
String timeZoneIds[] = {“America/New_York”, “Europe/London”, “Europe/Paris”, “Australia/Sydney”};
to:
String timeZoneIds[] = {“America/San_Francisco”, “Europe/London”, “Europe/Budapest”, “Australia/Sydney”};
all four screens display –:– in place of the time. So are only the original four timezones supported by the library, not the full 600+ zones?
And I can’t find where to change the duration each page (city) is displayed. How can I do that?
I’m an absolute beginner at this Arduino/NodeMCU business, so please keep your answers simple. 🙂
Daniel
I had this demo world clock running successfully on my Lolin NodeMCU v3 for several days. Then today, after loading different sketches onto the NodeMCU, and then returning to the clock, it now displays ‘–:–‘ instead of the time in every zone.
It’s possible I’ve made some minor change to one of the library components (while experimenting with other sketches), but I don’t know where to start looking, since the clock’s operation is so obscure (all the real work is done by ‘invisible’ modules, buried in libraries somewhere).
It would be nice to have a detailed explanation of the sketch, and what modules do what functions.
Any suggestions about where to start looking for the cause of my problem?
Thanks,
DanielF