Closed BobDDole closed 5 years ago
This is (for indoor grow environments) an excellent suggestion, even though it is a calculated value. I have long advocated VPD to be an important metric affecting resultant crop quality and pathogen resistance. Artificial environments, especially closed environments can make maintaining a healthy VPD quite challenging. I have long wanted to be able to control ventilation based mostly on VPD rather than temperature or humidity alone or in combination with a derived heuristic based on observation. VPD was always the desired control feedback.
This is an excellent description of Vapor pressure and the method to calculate VPD.
Yes indoors VPD is a very useful metric and would be a welcome addition to inputs. I would add it myself if I knew python. Calculation values seem to be done in mycodo/inputs/sensorutils.py And the valid ones are defined in the sensors related python file (IE mine is dht22.py). Really wish I knew python enough to whip this up but alas I suck at programming languages. BTW Theoi, I was going to include the EXACT same link you did for calculation, LOL Thanks for giving the info
Suggest creating a general math module input where real inputs from sensors can be parameters of a formula that generates an output that can be used for logging and triggering events.
I could add VPD as a measurement for inputs that return temperature and RH, as well as a math controller that can have temperature and RH selected from one or two different inputs. In 7.0, the user can select which measurements are stored from the sensor, so you can have many potential measurements returned and storage space isn't wasted if you don't want them by disabling them. One of several new features I implemented with the new measurement system.
I implemented VPD returning for inputs that measure at least temperature and RH. I'll add the math controller later, but just wanted to give an update showing it calculating the proper VPD from the measurements (dummy data) that align with the expected result from the example in the provided link (above), using the equations for SVP and VPD.
Closing issue because both Input and Math VPD will be in the 7.0 release.
Thanks, you the man!
Along with the Temp, Humidity, & Dewpoint Inputs is it possible to add Vapor Pressure Deficit as a Input as well?