Removed print comment for every sample (set debug.level to 3 to get the messages from MQTT)
This commit is contained in:
parent
43fa2f983d
commit
24ed3ec516
|
@ -100,7 +100,7 @@ let readSensors = Timer.set(sampleTime_ms, Timer.REPEAT, function() {
|
|||
|
||||
if (sendMqtt && mqttConnected) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue