change "unique ID" to FallBack topic...........to be consistent with other pages on this wiki

Pat Beirne 2018-07-07 19:24:57 -04:00
parent f26f488449
commit e86a3a9a1c
1 changed files with 3 additions and 3 deletions

@ -42,7 +42,7 @@ Once enabled MQTT can be configured at Configuration -> Configure MQTT.
|Field|Size|Default(user_config.h)|Notes
|Host name |32|MQTT_HOST=domus1|URL or ip address. Note that without a special firmware build SSL is NOT supported.
|Port|uint|MQTT_PORT=1883|0-65535
|Client Id|32|MQTT_CLIENT_ID=DVES_%06X|Unique ID of this device, should be unique for every device; logged by the MQTT server
|Client Id|32|MQTT_CLIENT_ID=DVES_%06X|FallBack topic of this device, will be unique for every device; logged by the MQTT server
|Username|32|MQTT_USER=DVES_USER|Username for MQTT server authentication
|Password|32|MQTT_PASS=DVES_PASS|Password for MQTT server authentication
|Topic|32|MQTT_TOPIC=sonoff|User friendly topic name; ususally describes the location or use of this device; used in the MQTT commands and responses; should be unique
@ -97,9 +97,9 @@ You'll need an MQTT server somewhere to communicate with your Sonoff. Some peopl
Other people think the MQTT server should reside inside your private LAN. You could use a Raspberry/Orange Pi, or just about any Linux machine as the server/broker; you might even squeeze it into your router if you're using OpenWRT.
#### Topics
The middle word of the 'topic' phrase indicates the name of the device. You can communicate with a sonoff using its topic name, its group name or its unique ID.
The middle word of the 'topic' phrase indicates the name of the device. You can communicate with a sonoff using its topic name, its group name or its FallBack topic name (like DVES_123456).
At the time the sonoff connects with the MQTT server, the sonoff subscribes to +++"cmnd/my-topic/#", "cmnd/group-topic/#" and "cmnd/DVES_123456/#",+++ and listens on all those names. You can find the group name using "status 0" and the unique ID using "status 6" or both on the MQTT config web page.
At the time the sonoff connects with the MQTT server, the sonoff subscribes to +++"cmnd/my-topic/#", "cmnd/group-topic/#" and "cmnd/fallback-topic/#",+++ and listens on all those names. You can find the group name using "status 0" and the FallBack topic using "status 6" or both on the MQTT config web page.
#### Creating your own MQTT server/broker