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

msg.payload.altitudePercent Is negative at night #542

Open
gobigdave opened this issue Dec 11, 2023 · 0 comments
Open

msg.payload.altitudePercent Is negative at night #542

gobigdave opened this issue Dec 11, 2023 · 0 comments

Comments

@gobigdave
Copy link

Describe the bug
Sending a timestamp into sun-position node at night results in msg.payload.altitudePercent < 0%. My expectation and the doc indicates that this should be 0-100% only.

Screenshots
If applicable, add screenshots to help explain your problem.

Expected behavior
I expect msg.payload.altitudePercent to be between 0 and 100.

System information (please complete the following information):

  • Latest node version
  • Latest Node-Red Version
  • Running as an add-on in Home Assistant OS

Additional context
This has worked fine for years. Only recently started acting funny.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant