-
Notifications
You must be signed in to change notification settings - Fork 28
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
min_dli and max_dli derived from openplantbook not the same #52
Comments
I think you misunderstand what DLI is. To calculate the max/min DLI from max/min mol, you need to also factor in the number of light hours, which is why the PPFD-value (mol) is multiplied with a constant to to find the DLI. PPFD_DLI_FACTOR = 0.0036 https://en.wikipedia.org/wiki/Daily_light_integral I don't know what numbers the app is using, and why, but it does not look like it is DLI. |
#21 your calculation is based on the value from the app being umol while it is mmol.
Here you are calculating your example with an outcome of 18500 micromol and saying it is too high for the app value of 18000 millimol while it is instead far under because 18500 micromol=18,5 millimol. When I compare your calculation of the dli through your ppfd sensor, the integral sensor and the meter utility, that value is roughly the same number of mmol compared to what the app is showing for accumulated sunlight in the day. Your calculation: 510 mmol accumulated today. The only difference is the min and max values. 0,4 mol min in the app (400mmol is shown converting that to mol will give 0,4 mol per day) The app is showing that the value it is showing is in fact the ppfd calculation for sunlight accumulated over the day. You can even view a bar graph with every mmol accumulated in the hour in the app. |
It is true that the notation the app is using for dli is not the commonly used one: moles per square meter per day. Now in your app you are calculating the min / max dli expressed in moles per square meter per day with the formula: value from app * 0,0036 = In my plant example from above you calculate: Your sensor value for current dli is the same value as in the app (0,51 mol per square meter per day while in the app 459 mmol (converting the units to be the same gives 0,459 mol per square meter per day) Your sensor value for minimal dli is way higher than in the app (1,44 mol per square meter per day while in the app 400 mmol (converting the units to be the same gives 0,4 mol per square meter per day) In this case the app will show that I have accumulated enough sunlight for the day while your integration is showing that I'm just over the half of what is needed. https://en.m.wikipedia.org/wiki/Daily_light_integral usually expressed as moles of light (mol photons) per square meter (m−2) per day (d−1), or: mol·m−2·d |
I am not sure I follow all your numbers here, but are you basically saying that |
Yes :) I believe it is, I'm not 100% sure but close to 90% sure ;) The sensor has some historic storage where it stores all values every hour. In the app main screen, you can view:
When you go to the historic value screen you can view:
When you click on the separate hourly bars for sunlight you see for example in the night: 2 mmol per bar, in the morning the bars go up and after midday the bars go down. My values per bar for yesterday: 2,3,4,51,177,208,69,38,14,8,4,3,2 when you swipe the bar, you get two values:
Those suitable min max mmol values are the ones you read from openplantbook. When I compare the number under Accumulated with the DLI number in HA from your integration it almost matches. Example of yesterday: 9:00 AM 10:00 AM 11:00 AM 12:00 AM 1:00 PM 2:00 PM In the app the suitable sunlight minimal value = 400 for my plant. |
I realy need to dig into this, but please feel free to look at the code and come up with suggestions. |
I'm getting the same issue here. Plants that are supposed to like indirect light and partial shade apparently only get past the minimum DLI (according to automatically fetched values from OPB by this integration) when placed next to sunny windows, while Flower Care says they've already recieved well above the maximum amounts reccomended. EDIT: Then again, that might be Flower Care doing the calculations wrong, or being overly conservative with its values, because most sources I'm reading seem to say that a lemon tree (citrus limon), for example, should get a DLI of at least 12 mol/m²/d and aim for 20~28 mol/m²/d, but both Flower Care and Open Plant Book give "3.5~8 mol" (whereas your integration calculates 13~29 mol/s*m²*s), meaning you may actually be in the right, here. |
I think the conversion from the openplantbook values for min_light_mmol and max_light_mmol to your min_dli and max_dli are not corresponding. Please correct me if I'm wrong.
For example my plant: Pellaea Rotundifolia
Min_light_mmol: 400
Max_light_mmol: 700
Converting millimol to mol would result in 0,4 mol and 0,7 mol
Your values:
Min_dli: 1 mol
Max_dli: 3 mol
With these differences my flower care app states that my plant have already accumulated enough sunlight while your integration still states not nearly enough.
Converting your current dli value from the utility meter and the integral meter from mol to millimol it comes close to the accumulated value from the flower care app, so that is not the problem.
Flower care app: 459 millimol
Your dli: 0,51 mol = 510 millimol
It's just the min_dli and max_dli that don't compare.
Can it be that you misread the openplantbook values for umol (micromol)?
The text was updated successfully, but these errors were encountered: