add different debug response topic
parent
30943f2a6b
commit
13a23d43ad
|
@ -73,7 +73,7 @@ $mqtt->onMessage(function ($message) use (
|
||||||
}
|
}
|
||||||
if ($mqttTopic . "/debug" === $message->topic) {
|
if ($mqttTopic . "/debug" === $message->topic) {
|
||||||
$mqtt->publish(
|
$mqtt->publish(
|
||||||
$mqttTopic . "/debug",
|
$mqttTopic . "/debugmsg",
|
||||||
strval(
|
strval(
|
||||||
json_encode(
|
json_encode(
|
||||||
$data,
|
$data,
|
||||||
|
|
Loading…
Reference in New Issue