* Add parameters to wifi manager: gateway name and base topic Enable to restart the ESP and erase the parameters by MQTT
252 B
252 B
System commands (ESP only)
Restart the ESP
mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/set" -m '{"cmd":"restart"}'
Erase the ESP settings
mosquitto_pub -t "home/OpenMQTTGateway/commands/MQTTtoSYS/set" -m '{"cmd":"erase"}'