rejuvenate / lovelace-horizon-card

Sun Card successor: Visualize the position of the Sun over the horizon.
MIT License
467 stars 35 forks source link

Incorrect moon phase being displayed #141

Open kaizersoje opened 5 months ago

kaizersoje commented 5 months ago

I noticed that the wrong moon phase is being displayed in the card

image

The state of the sensor.moon on this day was actually waning_gibbous

image

I have pasted the moon phase for my location from timeanddate.com as well.

image

Jaredharper1 commented 5 months ago

Adding on to this, the incorrect moon phase is indeed being displayed.

MoonError

CBDesignS commented 1 month ago

Any idea if this will get fixed ?

ThomDietrich commented 1 month ago

Hello everyone, we welcome your contribution. Please feel free to open a PR with the fix. Any volunteers? Did you find the cause of this issue? It's probably a bug in your specific region or with your specific setting?

CBDesignS commented 1 month ago

I wish I had the skill set to help fix this. My card now displays the correct moon phase but it could just be because the moon has changed phase to match.. I also have the (!) mark after the txt but the moon phase service is installed and working correctly.

Here is my card config in case it may help others to see a pattern

type: custom:horizon-card moon: true refresh_period: 60 fields: sunrise: true sunset: true dawn: true noon: true dusk: true azimuth: true sun_azimuth: false moon_azimuth: false elevation: true sun_elevation: false moon_elevation: false moonrise: true moonset: true moon_phase: true southern_flip: false moon_phase_rotation: -10 language: en time_format: language number_format: language latitude: 55.21 longitude: -2.185 elevation: 25 time_zone: Europe/Edinburgh debug_level: 0

little update : Today the moon phase that is displayed has changed to New Moon and according to calendarr.com the new moon is not due for another 24 hours in the UK so could this be a date/time bug where it is not reading the current location and is instead using a default timezone ?? I do not have the required skill level to even know where to start trying to fix this but someone else may be able to help..