Enviro Grow rp2040 - Pump control?

On the Enviro Grow pHATs, you can get pretty granular control over the pumps and watering: speed of the pump, duration of watering, time between watering, etc.

On the new Enviro Grow with onboard RP2040, I don’t see any granular settings other than the following in config.py:

# grow specific settings
auto_water = False
moisture_target_a = 50
moisture_target_b = 50
moisture_target_c = 50

Am I missing something? I can’t believe that a newer Grow controller with an onboard Pico W is less configurable than the old hats are…

…or are they? If so, is it because the Grow pHATs run on top of a full RPi, and not a Pico?

Thanks in advance for any help.

Mike

Adding on to my question…

On the Grow mini hat, there’s a YAML file called settings.yml that allows much more granular control (see below). Is there something similar for the Environ Grow w/RP2040 on board? The two boards use the same moisture sensor and pumps, so…???

settings.yml

channel1:

  • auto_water: false*
  • dry_point: 27*
  • enabled: true*
  • pump_speed: 0.5*
  • pump_time: 0.5*
  • warn_level: 0.2*
  • watering_delay: 60*
  • wet_point: 3*
    channel2:
  • auto_water: false*
  • dry_point: 27*
  • enabled: true*
  • pump_speed: 0.5*
  • pump_time: 0.5*
  • warn_level: 0.5*
  • watering_delay: 60*
  • wet_point: 3*
    channel3:
  • auto_water: false*
  • dry_point: 27*
  • enabled: true*
  • pump_speed: 0.5*
  • pump_time: 0.5*
  • warn_level: 0.4*
  • watering_delay: 60*
  • wet_point: 3*
    general:
  • alarm_enable: true*
  • alarm_interval: 2*
  • light_level_low: 4.0*
  • black_screen_when_light_low: false*

I’m thinking its more of a Python versus Micro Python thing? Libraries etc. Thats my best guess, as I’m far from any kind of expert on this type of thing.

I have the Pi based version, haven’t bought the Pico version just yet. I haven’t really put what I have to good use just yet. It’s on my to do list but at the moment I can’t find my round 2it. ;)

We went for something a bit more abstracted for Enviro Grow (setting a moisture percentage and getting the pulses of water to scale for how much water is required) as wrangling wet points / dry points was something of an unnecessarily complicated, recurring bug bear.

If you wanted to adjust the code to be more like how the Grow Python library works there’s no reason you couldn’t do that though - the code that triggers the pumps is here:

Thanks! That’s exactly what I was looking for.