Removed print comment for every sample (set debug.level to 3 to get the messages from MQTT)

This commit is contained in:
Dirk Jahnke 2018-06-08 16:49:33 +02:00
parent 43fa2f983d
commit 24ed3ec516
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ let readSensors = Timer.set(sampleTime_ms, Timer.REPEAT, function() {
if (sendMqtt && mqttConnected) { if (sendMqtt && mqttConnected) {
let jsonDataString = JSON.stringify(jsonData); let jsonDataString = JSON.stringify(jsonData);
print("Try to send MQTT message: ", jsonDataString, "To:", mqttTopic); // print("Try to send MQTT message: ", jsonDataString, "To:", mqttTopic);
MQTT.pub(mqttTopic, jsonDataString, 1, true); MQTT.pub(mqttTopic, jsonDataString, 1, true);
} }