[DISC] Add ability to change Discovery Prefix via WebUI or via mosquitto_pub (#2007)
Add discovery_prefix change at runtime --------- Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
1 parent
36945dae42
commit
57fbca8f88
6 files changed
+58
-14
No files matched your search
+2
-1
@@ -85,11 +85,12 @@ build_flags = '-UMQTTsetMQTT'
|
||||
If the new connection fails the gateway will fallback to the previous connection.
|
||||
:::
|
||||
|
||||
## Change the MQTT main topic and or gateway name
|
||||
## Change the MQTT main topic, discovery prefix, and or gateway name
|
||||
```
|
||||
mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/config" -m
|
||||
'{
|
||||
"mqtt_topic": "topic/",
|
||||
"discovery_prefix": "prefix",
|
||||
"gateway_name": "name"
|
||||
}'
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user