Files
OpenMQTT-Gateway/main
h2zeroandFlorian ca616939b8 Add ability to change MQTT topic and or gateway name by MQTT command. (#1053)
* Add ability to change MQTT topic and or gateway name by MQTT command.

This adds new commands to allow changing the MQTT topic and or gateway name from a command.
The new topic/name will be saved in flash memory and used on subsequent reboots.
Either/both parameters can be sent or combined with other commands.

Example use:
```
mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/config" -m
'{
  "mqtt_topic": "topic/",
  "gateway_name: "name"
}'
```

* Update example with /

Co-authored-by: Florian <1technophile@users.noreply.github.com>
2021-08-05 05:50:16 -05:00
..
2020-06-13 20:04:36 -05:00
2020-06-13 20:04:36 -05:00
2020-06-09 16:09:23 -05:00
2021-07-27 06:34:45 -05:00
2020-06-13 20:04:36 -05:00
2020-06-13 20:04:36 -05:00
2020-06-13 20:04:36 -05:00
2020-06-09 16:09:23 -05:00
2020-06-09 16:09:23 -05:00
2020-06-09 16:09:23 -05:00
2020-12-06 12:06:50 -06:00
2020-06-09 16:09:23 -05:00
2021-01-05 19:17:39 -06:00
2020-12-13 12:46:10 -06:00
2020-06-09 16:09:23 -05:00
2020-06-09 16:09:23 -05:00
2020-06-13 20:04:36 -05:00
2020-06-09 16:09:23 -05:00
2020-11-28 17:16:15 -06:00
2020-06-09 16:09:23 -05:00
2021-05-30 11:34:15 -05:00
2020-06-13 20:04:36 -05:00
2020-06-09 16:09:23 -05:00
2020-06-09 16:09:23 -05:00
2020-06-09 16:09:23 -05:00