ThingPulse / esp8266-weather-station-color

ESP8266 Weather Station in Color using ILI9341 TFT 240x320 display
https://thingpulse.com/product/esp8266-wifi-color-display-kit-2-4/
MIT License
572 stars 222 forks source link

MoonAge wrong #109

Closed bernemer closed 4 years ago

bernemer commented 5 years ago

Hi, at my installation i habe a wrong MoonAge. Today at Oct 11 2019 12:35 CEST the Station say we have Fullmoon (Age 14d, Illum 97%) but Fullmoon is at Oct 13 2019 at 23:07CEST.

Time an Date are ok.

Anybody an Idea?

G6EJD commented 5 years ago

It’s an approximation

bernemer commented 5 years ago

You have the same effect? 2 1/2 days is a lot.

Anon0ne commented 5 years ago

Believe this is affected by the channel you choose in weather API. You must choose one that is most suitable to your actual conditions, hence this is why I have a local station, and a WiFi station. Eventually I may try to log the current information to internet, but not now.

G6EJD commented 5 years ago

Moon age is usually derived as it is not generally sent in the API, it is possible the calculations are slightly in error.

bernemer commented 4 years ago

If i understand the code right, the moonage is bulit from the calculation of illumination . But the illumination of the Moon is not linear. So in the near of full and new moon the moonage is high.

Thanks for the answers

I close the issue with no correction.