Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MQTT "/status" Topic Overview (1 topic)

/statusbool
PLC

Should be published at the start of every update so CDP can detect loss of connection. Value should always be 1.

MQTT "/settings" Topic Overview (32 topics)

...

MQTT "/override" Topic Overview (13 topics)

TopicDatatypeTypical RangePublisherDescription
/override/valve/tank1/ebbint0, 1, 2CDPStudioOverrides the tank 1 drain/ebb valve. 0 = Off, 1 = On, 2 = Auto.
/override/valve/tank1/flowint0, 1, 2CDPStudioOverrides the tank 1 fill/flow valve. 0 = Off, 1 = On, 2 = Auto.
/override/valve/tank2/ebbint0, 1, 2CDPStudioOverrides the tank 2 drain/ebb valve. 0 = Off, 1 = On, 2 = Auto.
/override/valve/tank2/flowint0, 1, 2CDPStudioOverrides the tank 1 fill/flow valve. 0 = Off, 1 = On, 2 = Auto.
/override/valve/threewayint0, 1, 2CDPStudioOverrides the three-way valve. 0 = Off, 1 = On, 2 = Auto.
/override/light1int0, 1, 2CDPStudioOverrides the light 1. 0 = Off, 1 = On, 2 = Auto.
/override/light1int0, 1, 2CDPStudioOverrides the light 2. 0 = Off, 1 = On, 2 = Auto.
/override/tank1/startebbbool0, 1CDPStudioSends a pulse to initiate the ebb process for tank 1
/override/tank1/startflowbool0, 1CDPStudioSends a pulse to initiate the flow process for tank 1
/override/tank2/startebbbool0, 1CDPStudioSends a pulse to initiate the ebb process for tank 2
/override/tank2/startflowbool0, 1CDPStudioSends a pulse to initiate the flow process for tank 2
/override/startprocessbool0, 1CDPStudioSets the process state. Should not be a pulse.

/override/pump

int0, 1, 2 CDPStudioOverrides the pump. 0 = Off, 1 = On, 2 = Auto.

MQTT "/sensor" Topic Overview (6 topics)

TopicDatatypeTypical RangePublisherDescription
/sensor/water/ecfloat
PLCWater EC measurement.
/sensor/water/phfloat
PLCWater PH measurement.
/sensor/water/tempfloat
PLCWater temperature measurement.
/sensor/air/tempfloat
PLCAir temperature measurement.
/sensor/air/humidityfloat
PLCAir humidity measurement.
/sensor/air/co2float
PLCAir CO2 measurement.

MQTT "/system" Topic Overview (8 topics)

TopicDatatypeTypical RangePublisherDescription
/system/light1/statebool
PLCLight state, 0 = off, 1 = on.
/system/light2/statebool
PLCLight state. 0 = off, 1 = on
/system/light1/timeRemainingfloat
PLCTime until light 1 toggles on or off, given in hours.
/system/light2/timeRemainingfloat
PLCTime until light 2 toggles on or off, given in hours.
/system/tank1/statebool0, 1PLC

Tank 1 current state. 0 = ebb, 1 = flow

/system/tank2/statebool0, 1PLC

Tank 2 current state. 0 = ebb, 1 = flow

/system/tank1/timeRemainingbool0, 1PLC

Time remaining of tank 1 state. Given in hours.

/system/tank2/timeRemainingbool0, 1PLC

Time remaining of tank 2 state. Given in hours.