Skip to content

Commit

Permalink
add timeBrewed to MQTT
Browse files Browse the repository at this point in the history
  • Loading branch information
LoQue90 committed Sep 24, 2024
1 parent 22840a5 commit adba9c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,7 @@ void setup() {
mqttSensors["currentKi"] = [] { return bPID.GetKi(); };
mqttSensors["currentKd"] = [] { return bPID.GetKd(); };
mqttSensors["machineState"] = [] { return machineState; };
mqttSensors["timeBrewed"] = [] { return timeBrewed / 1000; };

#if FEATURE_PRESSURESENSOR == 1
mqttSensors["pressure"] = [] { return inputPressureFilter; };
Expand Down

0 comments on commit adba9c3

Please sign in to comment.