Skip to main content

Air Card

Pro Feature

This is an exclusive feature of DASH Pro. Check it out here.


This card adds a distinctive air/wind icon, and just like generic card you can add a symbol which will be appended to your data. This card can be used to show something related to air pressure/wind speed etc.


Air Card
Valid Arguments: (ESPDash dashboard, Card Type, const char* name, const char* symbol (optional) )
Card card1(&dashboard, AIR_CARD, "Power Consumption", "kWh");



Air card doesn't require any callback.


card1.update(int value);
card1.update(float value);
card1.update(String value);

Or you can also update the symbol along with the value like this:

card1.update(value, "kWh");


This is a reference sketch showing positions for intializer and updater.


/* Air card initializer */
Card air(&dashboard, AIR_CARD, "Wind Speed", "kmph");

void setup() {

/* Air card updater - can be used anywhere (apart from global scope) */

void loop() {