Skip to content

Commit

Permalink
switch test data off
Browse files Browse the repository at this point in the history
  • Loading branch information
ohAnd committed Jun 10, 2024
1 parent 6d0261c commit 039d1c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/dtuGateway.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1559,11 +1559,11 @@ void loop()
}

// for testing
globalData.grid.power = globalData.grid.power + 1;
if (userConfig.mqttActive)
updateValuesToMqtt(userConfig.mqttHAautoDiscoveryON);
if (globalData.grid.power > 450)
globalData.grid.power = 0;
// globalData.grid.power = globalData.grid.power + 1;
// if (userConfig.mqttActive)
// updateValuesToMqtt(userConfig.mqttHAautoDiscoveryON);
// if (globalData.grid.power > 450)
// globalData.grid.power = 0;
}

// mid task
Expand Down

0 comments on commit 039d1c3

Please sign in to comment.