15 #ifndef ADAFRUITIO_DASHBOARD_H 16 #define ADAFRUITIO_DASHBOARD_H 20 #include "blocks/ChartBlock.h" 21 #include "blocks/ColorBlock.h" 22 #include "blocks/GaugeBlock.h" 23 #include "blocks/ImageBlock.h" 24 #include "blocks/MapBlock.h" 25 #include "blocks/MomentaryBlock.h" 26 #include "blocks/SliderBlock.h" 27 #include "blocks/StreamBlock.h" 28 #include "blocks/TextBlock.h" 29 #include "blocks/ToggleBlock.h" 76 #endif // ADAFRUITIO_DASHBOARD_H const char * name
Definition: AdafruitIO_Dashboard.h:47
StreamBlock * addStreamBlock(AdafruitIO_Feed *feed)
Creates a new stream block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:219
Class for interacting with Adafruit IO.
Definition: AdafruitIO.h:45
bool create()
Creates a new dashboard. https://io.adafruit.com/api/docs/#create-a-dashboard.
Definition: AdafruitIO_Dashboard.cpp:66
ChartBlock * addChartBlock(AdafruitIO_Feed *feed)
Creates a new chart block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:180
const char * user()
Returns the dashboard owner.
Definition: AdafruitIO_Dashboard.cpp:102
bool exists()
Checks if Adafruit IO Dashboard exists. https://io.adafruit.com/api/docs/#return-dashboard.
Definition: AdafruitIO_Dashboard.cpp:42
MomentaryBlock * addMomentaryBlock(AdafruitIO_Feed *feed)
Creates a new momentary block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:128
GaugeBlock * addGaugeBlock(AdafruitIO_Feed *feed)
Creates a new gauge block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:154
Class for interacting with Adafruit IO Dashboards. https://io.adafruit.com/api/docs/#dashboards.
Definition: AdafruitIO_Dashboard.h:41
Class that provides methods for interfacing with Adafruit IO feed topics. https://io.adafruit.com/api/docs/mqtt.html#mqtt-topics.
Definition: AdafruitIO_Feed.h:34
TextBlock * addTextBlock(AdafruitIO_Feed *feed)
Creates a new momentary block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:167
ColorBlock * addColorBlock(AdafruitIO_Feed *feed)
Creates a new color block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:193
ImageBlock * addImageBlock(AdafruitIO_Feed *feed)
Creates a new image block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:232
friend class AdafruitIO_Dashboard
AdafruitIO_Dashboard addition.
Definition: AdafruitIO.h:62
SliderBlock * addSliderBlock(AdafruitIO_Feed *feed)
Creates a new slider block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:141
AdafruitIO * io()
Creates an instance of AdafruitIO.
Definition: AdafruitIO_Dashboard.cpp:104
MapBlock * addMapBlock(AdafruitIO_Feed *feed)
Creates a new map block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:206
ToggleBlock * addToggleBlock(AdafruitIO_Feed *feed)
Creates a new toggle block element on a dashboard connected to provided feed.
Definition: AdafruitIO_Dashboard.cpp:115