Statistics

Statistics


Concept Diagram

ESP-DASH has a dedicated page called “Statistics” on the dashboard which contain key-value pairs of system statistics ( heap, flash usage etc. ) by default. As of ESP-DASH v4, user defined statistics are now also part of the library! You can now add your own statitics to this page. 🎉

💡

System statistics can be turned off any time, you may look at Disable Statistics page.

Reference

Create Statistic

Statistic stat1(&dashboard, "Key", "Value");

Update Value

stat1.set("New Value");

Update both Key & Value

stat1.set("New Key", "New Value");
Copyright © 2024 Softt. All rights reserved.