MS-PDRLKVHCADMG\Administrator hace 5 años
padre
commit
561e4773b6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      api/application/helpers/function_helper.php

+ 1 - 0
api/application/helpers/function_helper.php

@@ -118,6 +118,7 @@ function lampMqttCmd($sendTopic,$backTopic,$sendData,$timeout = 5,$seq = ''){
         $true = $mqtt->proc();
         if (!empty($seq) && $true != 1){
             $res = unpack('H*', $true['msg']);
+            set_log('set_load',substr($res[1], 0,2));
             if (substr($res[1], 0,2) != strtolower($seq)) $true = 1;
         }
         if (time() - $t >= $timeout) {