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

Clarification of variables #3

Open
ccdunder opened this issue Sep 22, 2023 · 2 comments
Open

Clarification of variables #3

ccdunder opened this issue Sep 22, 2023 · 2 comments

Comments

@ccdunder
Copy link

Hi,

First off, very cool project. I was thinking of doing the same thing and found you've already done all the hard work. Thanks!

I'm curious about some of the variables and was wondering if you could answer a few questions. I'll be happy to send a PR to update docs/template.md afterwards.

  • What are height and min_height relative to? e.g. the ground outside, the floor inside, the bottom of the window frame?
  • Is this the correct understanding of fov_* & elev_*?
    fov
    elev

Cheers,

  • Chris
@langestefan
Copy link
Owner

langestefan commented Sep 23, 2023

Hi,

  • height and min_height are relative to the lowest point of the blind. You don't really need min_height, the only reason I added it is because I could think of systems where the blind would not be able to close all the way so then the scaling to [0-100]% would be off.
  • Regarding your image, the FOV has no relation to the dimensions of the window. You can think of it like a virtual box in the sky, if the sun is within that box we track it, if it's outside the box we do nothing. This is mostly useful when you have large buildings or trees in the FOV of your window. ps. because the earth is so far away from the sun, we consider the sun's rays to be parallel (as opposed to a point source). That makes these calculations easier, because we can always work with elevation and azimuth. There are some images in this thread, might be helpful: https://community.home-assistant.io/t/automatic-blinds-sunscreen-control-based-on-sun-platform/573818/30

@nurtext
Copy link

nurtext commented Oct 15, 2024

Thanks for explaining, oh and btw: No need to only consider the sun's rays to be parallel, because actually they are (because the sun is so far away from earth) :)

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

No branches or pull requests

3 participants