diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 90fbf28a3..0ed5e2789 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -361,6 +361,7 @@ #define ZIGBEE_DISTINCT_TOPICS false // [SetOption89] Enable unique device topic based on Zigbee device ShortAddr #define ZIGBEE_RMV_ZBRECEIVED false // [SetOption100] Remove ZbReceived form JSON message #define ZIGBEE_INDEX_EP false // [SetOption101] Add the source endpoint as suffix to attributes, ex `Power3` instead of `Power` if sent from endpoint 3 +#define ZIGBEE_TOPIC_FNAME false // [SetOption112] Enable friendly name in Zigbee topic (use with ZIGBEE_DISTINCT_TOPICS) /*********************************************************************************************\ * END OF SECTION 1 diff --git a/tasmota/tasmota_support/settings.ino b/tasmota/tasmota_support/settings.ino index 7501fdf82..36dc971e7 100644 --- a/tasmota/tasmota_support/settings.ino +++ b/tasmota/tasmota_support/settings.ino @@ -1238,6 +1238,7 @@ void SettingsDefaultSet2(void) { flag4.zigbee_distinct_topics |= ZIGBEE_DISTINCT_TOPICS; flag4.remove_zbreceived |= ZIGBEE_RMV_ZBRECEIVED; flag4.zb_index_ep |= ZIGBEE_INDEX_EP; + flag4.zb_topic_fname |= ZIGBEE_TOPIC_FNAME; flag4.mqtt_tls |= MQTT_TLS_ENABLED; flag4.mqtt_no_retain |= MQTT_NO_RETAIN;