tongshanglei vor 1 Jahr
Ursprung
Commit
19823e367d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      task_script/LIVESTOCK_MQTT_PUBLISH.php

+ 1 - 1
task_script/LIVESTOCK_MQTT_PUBLISH.php

@@ -85,7 +85,7 @@ function sendConfig($topic,$config)
     $res=$mqtt->publish(
         $topic,
         $config,
-        0
+        1
     );
     $mqtt->disconnect();
     return $res;