Skip to content
Permalink
Browse files

Update zigbee2mqtt.class.php

  • Loading branch information...
directman66 committed May 1, 2019
1 parent 7a330e8 commit 3ae72a66a59e8d6eb52b789f2b38dfef862a4b99
Showing with 9 additions and 0 deletions.
  1. +9 −0 modules/zigbee2mqtt/zigbee2mqtt.class.php
@@ -501,6 +501,15 @@ function setPropertyDevice($id, $value, $set_linked=0) {
*
* @access public
*/
function api($params) {
if ($_REQUEST['topic']) {
$this->processMessage($_REQUEST['topic'], $_REQUEST['msg']);
}
}
function processMessage($path, $value) {
if (ZMQTT_DEBUG=="1" ) debmes('Сработал processMessage :'.$path." value:". $value.' strpos:'. strpos($path,"set"),'zigbee2mqtt');

0 comments on commit 3ae72a6

Please sign in to comment.
You can’t perform that action at this time.