Skip to content

Substitutions

Nicholas White edited this page Jun 26, 2024 · 12 revisions

Customize Your Device

You can alter these substitutions when using ESPHome to configure your firmware to change any default ports or intervals.

substitutions:
  name: aquapi
  friendly_name: AquaPi

  # Logger Level
  # Can use VERBOSE for more information
  logger: "DEBUG" 

  # pins
  dallasPin: "16"
  opticalHighPin: "33" # blue
  opticalLowPin: "32" # yellow
  auxPin1: "26"
  auxPin2: "27"
  sdaPin: "21" # blue
  sclPin: "22" # yellow
  
  # EZO Circuit Addresses
  # pH circuit, who's address is 99
  addPH: "99"
  # EC circuit, who's address is 100
  addEC: "100"
  # DO circuit, who's address is 97
  addDO: "97"
  # RTD circuit, who's address is 102
  addRTD: "102"
  # PMP circuit, who's default address is 103
  addPMP_1: "108" # Red
  addPMP_2: "109" # Green
  addPMP_3: "103" # White
  addPMP_4: "110" # Orange
  addPMP_5: "104" # Yellow
  addPMP_6: "106" # Blue
  # HUM circuit, who's address is 111
  addHUM: "111"
  # CO2 circuit, who's address is 105
  addCO2: "105"
  # ORP circuit, who's address is 98
  addORP: "98"

  # Calibration variables
  # 0C using Ice Water; 100C using Boiling Water  
  # Calibration Temp. 1
  cal_0: "0.0"
  cal_100: "100.0"
  # Calibration Temp. 2
  cal_0_2: "0.0"
  cal_100_2: "100.0"

  # Sensor update intevals. 60s = 1 minute, never = disable updates
  # Water Level
  update_water: "1s"
  # Temp. Probes
  update_temp: "60s"
  # EZO pH
  update_ph: "60s"
  # EZO EC
  update_ec: "60s"
  # EZO DO
  update_do: "60s"
  # EZO RTD
  update_rtd: "60s"
  # EZO PMP
  update_pmp_1: "60s" # Red
  update_pmp_2: "60s" # Green
  update_pmp_3: "60s" # White
  update_pmp_4: "60s" # Orange
  update_pmp_5: "60s" # Yellow
  update_pmp_6: "60s" # Blue
  # EZO HUM
  update_hum: "60s"
  # EZO CO2
  update_co2: "60s"
  # EZO ORP
  update_orp: "60s"

Basic Mode

Just got the AquaPi without any add-ons and tired of seeing errors in the logs?

substitutions:
  update_ph: "never"
  update_ec: "never"
  update_do: "never"
  update_rtd: "never"
  update_pmp_1: "never" # Red
  update_pmp_2: "never" # Green
  update_pmp_3: "never" # White
  update_pmp_4: "never" # Orange
  update_pmp_5: "never" # Yellow
  update_pmp_6: "never" # Blue
  update_hum: "never"
  update_co2: "never"
  update_orp: "never"
  update_button_co2: "365days"
  update_button_ec: "365days"
  update_button_hum: "365days"

Screenshot 2024-02-22 000808 PXL_20230529_200205979 PXL_20240224_022516268~2

AquaPi for ESPHome

The Aquarium meets the Smart Home!

Clone this wiki locally