diff options
Diffstat (limited to 'platformio/common/libs/mqtt_module_temphum/homekit/mqtt')
-rw-r--r-- | platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp b/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp index 8b7a2ef..82f1d74 100644 --- a/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp +++ b/platformio/common/libs/mqtt_module_temphum/homekit/mqtt/module/temphum.cpp @@ -2,7 +2,7 @@ namespace homekit::mqtt { -static const char TOPIC_TEMPHUM_DATA[] = "data"; +static const char TOPIC_TEMPHUM_DATA[] = "temphum/data"; void MqttTemphumModule::init(Mqtt &mqtt) {} @@ -20,4 +20,4 @@ void MqttTemphumModule::tick(homekit::mqtt::Mqtt& mqtt) { mqtt.publish(TOPIC_TEMPHUM_DATA, reinterpret_cast<uint8_t*>(&payload), sizeof(payload)); } -}
\ No newline at end of file +} |