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

[astro] EVENING_NIGHT and MORNING_NIGHT are undef #12746

Closed
ThaDaVos opened this issue May 16, 2022 · 5 comments · Fixed by #14078
Closed

[astro] EVENING_NIGHT and MORNING_NIGHT are undef #12746

ThaDaVos opened this issue May 16, 2022 · 5 comments · Fixed by #14078
Assignees
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@ThaDaVos
Copy link

Expected Behavior

Them to not be undef so they can be relied on in Time of Day situations, like I used to use them for in combination with motion sensors to trigger lights

Current Behavior

Currently they show as undef which breaks my Time of Day system, after looking through all other states, there's none I can really use to determine the start of the evening correctly, see below for the MORNING_NIGHT and EVENING_NIGHT:
image

Possible Solution

Can this be fixed? Or perhaps a workaround and reason given to why they are undef?

Steps to Reproduce (for Bugs)

  1. Sorry don't know, they are just undef randomly on 16th of May 2022 (the day I noticed they were)

Context

I was using them for the Marketplace Time of Day rule to keep an up to date status of the Time of Day, currently used for motion sensors and lights

Your Environment

  • Version used: 3.3.0.M3
  • Environment name and version (e.g. Chrome 76, Java 8, Node.js 12.9, ...): Openhabian
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, ...): Openhabian
@ThaDaVos ThaDaVos added the bug An unexpected problem or unintended behavior of an add-on label May 16, 2022
@lsiepel
Copy link
Contributor

lsiepel commented Dec 29, 2022

Currently investigating similar issues in #14078
Can you give me the following details?
long/lat/altitude/timezone of openhab/server (if you don't feel comfortable with giving those, please DM me details.

@lsiepel lsiepel self-assigned this Dec 29, 2022
@ThaDaVos
Copy link
Author

@lsiepel - I created a paste for you with the data - the password is your username (as written in the @...) - know the paste is burned after reading:
https://pastebin.com/BpP0L8yN

@ThaDaVos
Copy link
Author

Also @lsiepel I checked and they are no longer UNDEF at the moment

@lsiepel
Copy link
Contributor

lsiepel commented Dec 30, 2022

Thanks, will try to reproduce with the details you provided.

@lsiepel
Copy link
Contributor

lsiepel commented Dec 30, 2022

Undef is not something i would expect. But i have seen strange behaviour when troubleshooting this and other tickets all around 12-22 may. It has to do with some inner lists of sun phases that did not get any sorting. Aftwarewards i have made several tess with the parameters you gave and i have not found any issue again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants