Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Lunar phase and phase card disagree on current phase #17

Open
NoRi2909 opened this issue Dec 7, 2024 · 5 comments
Open

[Bug] Lunar phase and phase card disagree on current phase #17

NoRi2909 opened this issue Dec 7, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@NoRi2909
Copy link
Contributor

NoRi2909 commented Dec 7, 2024

Short summary 📝

Different phases shown by both entities

Detailed description 📋

While the lunar-phase card has already switched to "First Quarter" as the current moon phase, the lunar phase integration still shows "Waxing crescent".

So there seems to be some inconsistency when both consider "First Quarter" to start.

I will check again tomorrow to see if the integration has switched as well.

Version 📌

0.2.2

Environment 🌐

No response

Logs and screenshots 📂

image

@NoRi2909 NoRi2909 added the bug Something isn't working label Dec 7, 2024
@ngocjohn
Copy link
Owner

ngocjohn commented Dec 8, 2024

Hi @NoRi2909. the problem with updating state entities is still unresolved. I don't know where the cause is, for a few days the entities state is updating fine, then it stops. It helps to reload the integration.. 😢

CleanShot 2024-12-08 at 12 58 39@2x

@NoRi2909
Copy link
Contributor Author

NoRi2909 commented Dec 8, 2024

@ngocjohn Confirmed: After reloading the integration it immediately switched to First quarter and 'Next Moon Phase' to Full moon.

Good to know that you are already tracking this as a known issue.

FYI in case you don't compare yours to the HA internal Moon integration. That one switched to First quarter at midnight. It looks like they decided to display the quarter phases for one day only, not based on percentage as you do.
Likewise New moon was the state on the first of December from midnight to midnight, only.

@JanK9
Copy link

JanK9 commented Dec 8, 2024

I have the same problem with inaccuracy of values.
The values for position and angle is relatively accurate.
The area of the moon and age is always wrong.
Thank you in advance for the solution, I will be happy to use it.
Snímek obrazovky 2024-12-08 212007

@ngocjohn
Copy link
Owner

@JanK9 @NoRi2909 According to the history record from HA, the problem was related only to not updating entities with device class timestamp, the others are fine. I added to the beta version a function with force update of all entities at midnight. I'll test it for a few days and release it as official, in the meantime you can also test it if you want.

@JanK9
Copy link

JanK9 commented Dec 11, 2024

Updating values for "Lunar Phase" integrations has a different interval for example Moon Age and Moon Altitude?
Moon Age and Illumination Fraction will be updated once a day?
Why does the "Lunar Phase Card" have to update this data more frequently?
After the beta update 0.2.3 for "Lunar Phase" the timeliness is better.
I can't program it myself unfortunately, so thanks for any improvement.
2024-12-11_13h11_54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants