diff --git a/core/class/AbeilleCmdQueue.class.php b/core/class/AbeilleCmdQueue.class.php index 56ed8f8bc2..b262d40c6c 100755 --- a/core/class/AbeilleCmdQueue.class.php +++ b/core/class/AbeilleCmdQueue.class.php @@ -855,7 +855,8 @@ function processAcksQueue() { // Removing last sent cmd if (isset($removeCmd) && $removeCmd) { - cmdLog('debug', " Removing cmd from queue (Pri/Idx=${sentPri}/${sentIdx})"); + $count = count($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri]); + cmdLog('debug', " Removing cmd from queue (Pri/Idx/Count=${sentPri}/${sentIdx}/${count})"); // array_shift($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri]); cmdLog('debug', ' BEFORE: count='.count($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri]).', '.json_encode($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri])); array_splice($GLOBALS['zigates'][$zgId]['cmdQueue'][$sentPri], $sentIdx, 1); diff --git a/core/php/AbeilleParser-Xiaomi.php b/core/php/AbeilleParser-Xiaomi.php index 3c58429bbc..d504183409 100644 --- a/core/php/AbeilleParser-Xiaomi.php +++ b/core/php/AbeilleParser-Xiaomi.php @@ -33,7 +33,7 @@ // } function xiaomiDecodeFunction($addr, $valueHex, $value, $m, $map, &$attrReportN = null) { - parserLog2('debug', $addr, " BEN valueHex: ".json_encode($valueHex). ", value: ".json_encode($value)." mgs: ".$m ); + // parserLog2('debug', $addr, " BEN valueHex: ".json_encode($valueHex). ", value: ".json_encode($value)." mgs: ".$m ); $value2 = $value; $mapTxt = ' ==> ';