logan.li@rct-power.com.cn 572980b12c first commit hai 3 meses
..
certs 572980b12c first commit hai 3 meses
libmodbus 572980b12c first commit hai 3 meses
paho.mqtt.c-1.3.9 572980b12c first commit hai 3 meses
py 572980b12c first commit hai 3 meses
res 572980b12c first commit hai 3 meses
web_root 572980b12c first commit hai 3 meses
Makefile 572980b12c first commit hai 3 meses
MakefileZone.Identifier 572980b12c first commit hai 3 meses
README.md 572980b12c first commit hai 3 meses
README.mdZone.Identifier 572980b12c first commit hai 3 meses
appl.c 572980b12c first commit hai 3 meses
appl.cZone.Identifier 572980b12c first commit hai 3 meses
appl.h 572980b12c first commit hai 3 meses
appl.hZone.Identifier 572980b12c first commit hai 3 meses
can_frame.h 572980b12c first commit hai 3 meses
can_frame.hZone.Identifier 572980b12c first commit hai 3 meses
cfg.bin 572980b12c first commit hai 3 meses
cfg.binZone.Identifier 572980b12c first commit hai 3 meses
deploy.sh 572980b12c first commit hai 3 meses
deploy.shZone.Identifier 572980b12c first commit hai 3 meses
main.c 572980b12c first commit hai 3 meses
main.cZone.Identifier 572980b12c first commit hai 3 meses
mbedtls_config.h 572980b12c first commit hai 3 meses
mbedtls_config.hZone.Identifier 572980b12c first commit hai 3 meses
meterZone.Identifier 572980b12c first commit hai 3 meses
mongoose.c 572980b12c first commit hai 3 meses
mongoose.cZone.Identifier 572980b12c first commit hai 3 meses
mongoose.h 572980b12c first commit hai 3 meses
mongoose.hZone.Identifier 572980b12c first commit hai 3 meses
net.c 572980b12c first commit hai 3 meses
net.cZone.Identifier 572980b12c first commit hai 3 meses
net.h 572980b12c first commit hai 3 meses
net.hZone.Identifier 572980b12c first commit hai 3 meses
packed_fs.c 572980b12c first commit hai 3 meses
packed_fs.cZone.Identifier 572980b12c first commit hai 3 meses
start_meter.sh 572980b12c first commit hai 3 meses
start_meter.shZone.Identifier 572980b12c first commit hai 3 meses
start_socat.sh 572980b12c first commit hai 3 meses
start_socat.shZone.Identifier 572980b12c first commit hai 3 meses
tailwind.config.js 572980b12c first commit hai 3 meses
tailwind.config.jsZone.Identifier 572980b12c first commit hai 3 meses

README.md

A complete device dashboard

This example is a demonstration of how Mongoose Library could be integrated into an embedded device and provide a complete device dashboard with the following features:

  • Authentication: login-protected dashboard
  • Multiple logins (with possibly different permissions)
  • The Web UI can be fully embedded into the firmware binary, then not needing a filesystem to serve it; so being resilient to FS problems
  • All changes are propagated to all connected clients

Screenshots

This is a login screen that prompts for user/password

Main dashboard

The main dashboard page shows the interactive console

See a detailed tutorial at https://mongoose.ws/tutorials/device-dashboard/