Files
OpenMQTT-Gateway/docs/upload/portal.md
T
Florian 4b1f09b06b Wifi managers improvements (#503)
* Add parameters to wifi manager: gateway name and base topic
Enable to restart the ESP and erase the parameters by MQTT
2019-12-07 10:18:42 +01:00

25 lines
1.1 KiB
Markdown

# Wifi and MQTT configuration portal
Once loaded into your board and if you don't use the manual configuration you have to set your network parameters with wifi manager portal.
From your smartphone search for your OpenMQTTGateway wifi network and connect to it, a web page will appear
* Select your wifi
* Set your wifi password
* Set your MQTT Server IP
* Set your MQTT Server username (not compulsory)
* Set your MQTT Server password (not compulsory)
* Set your MQTT base topic (you must keep the / at the end)
* Set your gateway name
The ESP restart and connect to your network. Note that your credentials are saved into the ESP memory, if you want to redo the configuration you have to erase the ESP memory with the flash download tool.
_The default password for wifi manager is "your_password"_
Once done the gateway should connect to your network and your broker, you should see it into the broker in the form of the following messages:
```
home/OpenMQTTGateway/LWT Online
home/OpenMQTTGateway/version
```
Note that the web portal appears only on first boot, if you want to configure again the setting you can do a long press on TRIGGER_PIN.