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

Feature request: Allow changing PPFD and DLI to other sensors #190

Open
TheWarped opened this issue Aug 15, 2024 · 4 comments
Open

Feature request: Allow changing PPFD and DLI to other sensors #190

TheWarped opened this issue Aug 15, 2024 · 4 comments

Comments

@TheWarped
Copy link

The diagnostic variables "ppfd (mol)" and "Total ppfd (mol) Integral" cannot be changed to other sensors like the thresholds from the configuration.
While the DLI and PPFD calculations seem to work well, I'd already made PPFD and DLI template sensors before finding this integration and prefer to use those as I've calibrated them with an Apogee PAR meter.

@Olen
Copy link
Owner

Olen commented Aug 15, 2024

Sounds like a nice idea. It would, however, need quite big changes to the code base. As I don't have any such sensors myself, I depend on others to create and test a PR to implement this.

@TheWarped
Copy link
Author

Understandable.
I'll see about contributing something for that then.

@jeffcybulski
Copy link

jeffcybulski commented Sep 9, 2024

Is this why replacing the ppfd entity with a Hass-Variables irradiance sensor has not affect on the ppfd and dli calculation? It seems to be deriving it from lux (for some reason and somehow...). If I change lux to ppfd assuming white LED lights and a scaling factor of 1.85×10^−8, you arrive at the right PAR

@Olen
Copy link
Owner

Olen commented Sep 9, 2024

Ppfd and dli are derived from lx.
They can currently not be replaced.

PRs are welcome

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