0 votes
by (150 points)
The only fix is not relevant to the ESP8266 wiFi color display and the current weather station ino. The proposed fix refers to changes to a variable MoonAgeImage which does not exist in this version.  It doesn't make sense to show a moon nearing full as black especially on a black background. Anyone have a solution?

1 Answer

0 votes
by (19.9k points)
selected by
 
Best answer

The equivalent of the fix proposed in Q921 has been integrated in the current version at https://github.com/ThingPulse/esp8266-weather-station-color/blob/master/esp8266-weather-station-color.ino#L442 with commit #2133809.

Is the reported illumination correct? You're not in the southern hemisphere, are you? Maybe you hack together a small test sketch that iterates through the illumination values and renders the matching moon icon to see if the order made sense to you?

by (150 points)
That fix...   gfx.drawString(120, 275, String((char) (97 + (moonData.illumination * 26))));   is what I have been using with wrong results. I changed 97 back to 65 and that appears to fix my issue. I am in Colorado USA.

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...