Skip to content

Substitutions

Nicholas White edited this page Feb 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-486d9c
  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 address is 103
  addPMP: "103"
  # HUM circuit, who's address is 111
  addHUM: "111"
  # CO2 circuit, who's address is 105
  addCO2: "105"

  # 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: "60s"
  # EZO HUM
  update_hum: "60s"
  # EZO CO2
  update_co2: "60s"

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