mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-26 07:47:15 +00:00
Merge pull request #16584 from urechi/development
Add ZIGBEE_TOPIC_FNAME
This commit is contained in:
commit
778a66e16c
@ -361,6 +361,7 @@
|
|||||||
#define ZIGBEE_DISTINCT_TOPICS false // [SetOption89] Enable unique device topic based on Zigbee device ShortAddr
|
#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_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_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
|
* END OF SECTION 1
|
||||||
|
@ -1238,6 +1238,7 @@ void SettingsDefaultSet2(void) {
|
|||||||
flag4.zigbee_distinct_topics |= ZIGBEE_DISTINCT_TOPICS;
|
flag4.zigbee_distinct_topics |= ZIGBEE_DISTINCT_TOPICS;
|
||||||
flag4.remove_zbreceived |= ZIGBEE_RMV_ZBRECEIVED;
|
flag4.remove_zbreceived |= ZIGBEE_RMV_ZBRECEIVED;
|
||||||
flag4.zb_index_ep |= ZIGBEE_INDEX_EP;
|
flag4.zb_index_ep |= ZIGBEE_INDEX_EP;
|
||||||
|
flag4.zb_topic_fname |= ZIGBEE_TOPIC_FNAME;
|
||||||
flag4.mqtt_tls |= MQTT_TLS_ENABLED;
|
flag4.mqtt_tls |= MQTT_TLS_ENABLED;
|
||||||
flag4.mqtt_no_retain |= MQTT_NO_RETAIN;
|
flag4.mqtt_no_retain |= MQTT_NO_RETAIN;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user