firmware wip - add some notes for watering logic, adjust soilmoisture low value
This commit is contained in:
parent
e524826970
commit
cbc20586c4
3 changed files with 14 additions and 3 deletions
|
@ -270,7 +270,17 @@ void loop() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Pump control
|
||||||
|
*
|
||||||
|
* Vars:
|
||||||
|
* - UsePump (bool)
|
||||||
|
* - PumpOnTime (int) in sec
|
||||||
|
* - PumpInterval (int) in days
|
||||||
|
* - SoilmoistureLow (int) in %
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -79,10 +79,11 @@ short NtpOffset;
|
||||||
// 2: I2C chirp sensor from catnip electronics
|
// 2: I2C chirp sensor from catnip electronics
|
||||||
byte MoistureSensor_Type;
|
byte MoistureSensor_Type;
|
||||||
// SoilmoistureLow - contains the value , when soil moisture is assumed to be low,
|
// SoilmoistureLow - contains the value , when soil moisture is assumed to be low,
|
||||||
byte SoilmoistureLow = 20;
|
byte SoilmoistureLow = 75;
|
||||||
// UsePump - is the pump used? bool
|
// UsePump - is the pump used? bool
|
||||||
bool UsePump;
|
bool UsePump;
|
||||||
// UseFan - is the fan used? bool
|
// UseFan - is the fan used? bool
|
||||||
|
// PumpOnTime in seconds
|
||||||
byte PumpOnTime = 3;
|
byte PumpOnTime = 3;
|
||||||
bool UseFan;
|
bool UseFan;
|
||||||
// In case the user uses no 12V LED on the LED output and an relais instead
|
// In case the user uses no 12V LED on the LED output and an relais instead
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* CanGrow_Version.h gets generated from cangrow.sh */
|
/* CanGrow_Version.h gets generated from cangrow.sh */
|
||||||
|
|
||||||
const char* CanGrowVer = "0.1-dev";
|
const char* CanGrowVer = "0.1-dev";
|
||||||
const char* CanGrowBuild = "72bb58c";
|
const char* CanGrowBuild = "e524826";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue