2020-12-16 18:54:09 +08:00
|
|
|
# A complete device dashboard
|
|
|
|
|
|
|
|
This example is a demonstration of how Mongoose Library could be integrated
|
2021-08-02 07:23:01 +08:00
|
|
|
into an embedded device and provide a complete device dashboard with the
|
2020-12-16 18:54:09 +08:00
|
|
|
following features:
|
|
|
|
|
2022-05-14 16:08:23 +08:00
|
|
|
- Authentication: login-protected dashboard
|
2020-12-16 18:54:09 +08:00
|
|
|
- Multiple logins with different permissions (admin and user)
|
2022-05-13 23:47:10 +08:00
|
|
|
- Web UI is fully embedded into the server/firmware binary, and does not
|
2022-05-14 16:08:23 +08:00
|
|
|
need a filesystem to serve it. UI is resilient to FS problems
|
2022-06-08 16:06:14 +08:00
|
|
|
- Administrators can change server settings
|
2020-12-16 18:54:09 +08:00
|
|
|
- All changes are propagates to all connected clients
|
2022-06-08 16:06:14 +08:00
|
|
|
- A device is connected to the external MQTT server
|
|
|
|
- Logged in clients can send/receive messages to a device which get
|
|
|
|
forwarded to MQTT
|
2020-12-16 18:54:09 +08:00
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
|
|
|
|
This is a login screen that prompts for user/password
|
|
|
|
|
|
|
|
![](screenshots/login.png)
|
|
|
|
|
|
|
|
# Main dashboard
|
|
|
|
|
2022-06-08 16:06:14 +08:00
|
|
|
A main dashboard page shows and interactive MQTT console
|
2020-12-16 18:54:09 +08:00
|
|
|
|
|
|
|
![](screenshots/dashboard.png)
|