mirror of https://github.com/arendst/Tasmota.git
Merge pull request #7705 from Jason2866/patch-3
unique topic for every device by default
This commit is contained in:
commit
c5a4703696
|
@ -115,7 +115,7 @@
|
|||
#define PUB_PREFIX2 "tele" // [Prefix3] Tasmota devices publish telemetry data to %prefix%/%topic% being PUB_PREFIX2/MQTT_TOPIC/UPTIME, POWER and TIME
|
||||
// May be named the same as PUB_PREFIX
|
||||
// %topic% token options (also ButtonTopic and SwitchTopic)
|
||||
#define MQTT_TOPIC PROJECT // [Topic] (unique) MQTT device topic, set to 'PROJECT "_%06X"' for unique topic including device MAC address
|
||||
#define MQTT_TOPIC PROJECT "_%06X" // [Topic] unique MQTT device topic including device MAC address
|
||||
#define MQTT_GRPTOPIC "tasmotas" // [GroupTopic] MQTT Group topic
|
||||
#define MQTT_GROUPTOPIC_FORMAT false // [SetOption75] GroupTopic replaces %topic% (false) or fixed topic cmnd/grouptopic (true)
|
||||
#define MQTT_BUTTON_TOPIC "0" // [ButtonTopic] MQTT button topic, "0" = same as MQTT_TOPIC, set to 'PROJECT "_BTN_%06X"' for unique topic including device MAC address
|
||||
|
|
Loading…
Reference in New Issue