- some debugging
- adding logs in mysql database
This commit is contained in:
@ -19,7 +19,7 @@ $topics["pws2mqtt"]->callback = function($topic, $message)
|
||||
//addDevice($device[$fn], $fn, );
|
||||
}
|
||||
$device = & $device[$fn];
|
||||
print_r($device);
|
||||
//print_r($device);
|
||||
}
|
||||
$payloadArray = json_decode($message->payload);
|
||||
changeDevice($topic[0], $topic[1], $device["device"], $payloadArray);
|
||||
|
Reference in New Issue
Block a user