add different debug response topic

master
Dirk Heilig 2024-09-23 14:02:24 +02:00
parent 30943f2a6b
commit 13a23d43ad
1 changed files with 1 additions and 1 deletions

View File

@ -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,