firmware wip - add some notes for watering logic, adjust soilmoisture low value

This commit is contained in:
Marcus 2024-06-15 22:43:46 +02:00
parent e524826970
commit cbc20586c4
3 changed files with 14 additions and 3 deletions

View file

@ -270,7 +270,17 @@ void loop() {
/*
* Pump control
*
* Vars:
* - UsePump (bool)
* - PumpOnTime (int) in sec
* - PumpInterval (int) in days
* - SoilmoistureLow (int) in %
*
*
*/

View file

@ -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

View file

@ -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";