Add to a stream

Add to a variable's stream

When you set a variable, the new value is autoamtically pushed to the variable's stream, and you can view it on the Console (opens in a new tab).

Grandeur::Project project;
Grandeur::Device device;
unsigned long current = millis();
void setup() {
    project = grandeur.init(API_KEY, DEVICE_TOKEN);
    device = project.device(DEVICE_ID);
void loop() {
    if(millis() - current > 10000) { // Runs if-block after every 10 seconds.
        double temperature = readTemperatureFromGPIO();"temperature", temperature);
        current = millis();