This project is an test dashboard for MQTT projects. Project developed with an ESP8266 microcontroller and Arduino libray choosed for development.
Dashboard Page:
Settings Page:
- Wi-Fi Configration
- Broker Configration
- Messages watching from a topic
- Reset Wi-Fi
- Change Broker
- Keep changes on reboot
All of the above can be handled without changing the code
- PubSubClient
- mDNS
- ArduinoJSON
- WiFiManager
- Some internal Espressif Libraries like FS.h, DNSServer.h, ESP8266Webserver.h , ESP8266WiFi.h and so on
Project development in PlatformIO. After downloading project code open in PlatformIO enviroment and check Espressif Platform extension has been installed. If you faced issues, firstly please check libraries has been installed correctly and then check path settings are correct.
Project has an mDNS solution for connect to the server easily, but it runs sometimes buggy and response rate is a bit slow on my tests. You can connect to the server with IP and device prints its IP while starting the server. If mDNS works great you can access the web interface with "esp8266.local/" address.
- Multiple MQTT server, port number and topic support.
- Publish data to the broker support.
- WebUI can be modified more beautifully.
- Server response time can be upgrade.
- Connection support for some server that requires logging in for safety.
If you interested the project and develop it you might faced some issues and you should know theese:
- If you have a Wi-Fi extender, you should check which network you and server are connected.
- IP address of the server changes sometimes, you should check the IP address or modify the code for static IP address. Hopefully this problem can be handled easily with WiFi-Manager library.
- If you want to change configration json file or something goes wrong, you can erase flash with: "esptool.py erase_flash".
- Webserver Tutorials:
- WiFi Manager with server configration
- PubSubClient Tutorials: